blob: ec4ef7df247d5b9e3bc93bd2c37ade1a3152ce0f [file] [log] [blame]
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02005# Licensed under GPLv2, see file LICENSE in this source tree.
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00006
7libs-y += libcoreutils/
8
9lib-y:=
Denys Vlasenkod70e0e92010-06-08 12:15:11 +020010
Denys Vlasenkoe4070cb2010-06-04 19:59:49 +020011INSERT
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000012lib-$(CONFIG_CAL) += cal.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000013lib-$(CONFIG_CATV) += catv.o
Denis Vlasenkoe80e2a32006-10-27 23:28:38 +000014lib-$(CONFIG_CHGRP) += chgrp.o chown.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015lib-$(CONFIG_CHMOD) += chmod.o
16lib-$(CONFIG_CHOWN) += chown.o
Denys Vlasenkoff0e8752010-05-10 04:16:43 +020017lib-$(CONFIG_ADDUSER) += chown.o # used by adduser
Denys Vlasenkocb7edc22010-02-06 21:50:59 +010018lib-$(CONFIG_ADDGROUP) += chown.o # used by adduser
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000019lib-$(CONFIG_CHROOT) += chroot.o
20lib-$(CONFIG_CKSUM) += cksum.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000021lib-$(CONFIG_COMM) += comm.o
22lib-$(CONFIG_CP) += cp.o
23lib-$(CONFIG_CUT) += cut.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000024lib-$(CONFIG_DD) += dd.o
25lib-$(CONFIG_DF) += df.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000026lib-$(CONFIG_DIRNAME) += dirname.o
27lib-$(CONFIG_DOS2UNIX) += dos2unix.o
28lib-$(CONFIG_DU) += du.o
29lib-$(CONFIG_ECHO) += echo.o
Denis Vlasenkobf66fbc2006-12-21 13:23:14 +000030lib-$(CONFIG_ASH) += echo.o # used by ash
Denis Vlasenko468aea22008-04-01 14:47:57 +000031lib-$(CONFIG_HUSH) += echo.o # used by hush
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000032lib-$(CONFIG_ENV) += env.o
33lib-$(CONFIG_EXPR) += expr.o
Denis Vlasenko3952f202007-08-13 14:10:24 +000034lib-$(CONFIG_EXPAND) += expand.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035lib-$(CONFIG_FALSE) += false.o
36lib-$(CONFIG_FOLD) += fold.o
Denys Vlasenko14f6f0a2009-06-18 08:20:02 +020037lib-$(CONFIG_FSYNC) += fsync.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000038lib-$(CONFIG_INSTALL) += install.o
Denys Vlasenkoea023ea2011-01-26 01:21:20 +010039#lib-$(CONFIG_LENGTH) += length.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000040lib-$(CONFIG_LN) += ln.o
41lib-$(CONFIG_LOGNAME) += logname.o
42lib-$(CONFIG_LS) += ls.o
Denis Vlasenkoc41cba52009-03-09 15:46:07 +000043lib-$(CONFIG_FTPD) += ls.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044lib-$(CONFIG_MD5SUM) += md5_sha1_sum.o
45lib-$(CONFIG_MKDIR) += mkdir.o
46lib-$(CONFIG_MKFIFO) += mkfifo.o
47lib-$(CONFIG_MKNOD) += mknod.o
48lib-$(CONFIG_MV) += mv.o
49lib-$(CONFIG_NICE) += nice.o
50lib-$(CONFIG_NOHUP) += nohup.o
51lib-$(CONFIG_OD) += od.o
52lib-$(CONFIG_PRINTENV) += printenv.o
53lib-$(CONFIG_PRINTF) += printf.o
Denis Vlasenkocd2663f2008-06-01 22:36:39 +000054lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055lib-$(CONFIG_PWD) += pwd.o
Denis Vlasenkocc5e0902007-06-12 08:12:33 +000056lib-$(CONFIG_READLINK) += readlink.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000057lib-$(CONFIG_REALPATH) += realpath.o
58lib-$(CONFIG_RM) += rm.o
59lib-$(CONFIG_RMDIR) += rmdir.o
60lib-$(CONFIG_SEQ) += seq.o
61lib-$(CONFIG_SHA1SUM) += md5_sha1_sum.o
Denis Vlasenko2211d522008-11-10 18:52:35 +000062lib-$(CONFIG_SHA256SUM) += md5_sha1_sum.o
63lib-$(CONFIG_SHA512SUM) += md5_sha1_sum.o
Lauri Kasanenb8173b62013-01-14 05:20:50 +010064lib-$(CONFIG_SHA3SUM) += md5_sha1_sum.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000065lib-$(CONFIG_SLEEP) += sleep.o
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +000066lib-$(CONFIG_SPLIT) += split.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067lib-$(CONFIG_SORT) += sort.o
68lib-$(CONFIG_STAT) += stat.o
69lib-$(CONFIG_STTY) += stty.o
70lib-$(CONFIG_SUM) += sum.o
71lib-$(CONFIG_SYNC) += sync.o
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +000072lib-$(CONFIG_TAC) += tac.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000073lib-$(CONFIG_TEE) += tee.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000074lib-$(CONFIG_TRUE) += true.o
75lib-$(CONFIG_TTY) += tty.o
76lib-$(CONFIG_UNAME) += uname.o
Denis Vlasenko3952f202007-08-13 14:10:24 +000077lib-$(CONFIG_UNEXPAND) += expand.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000078lib-$(CONFIG_UNIQ) += uniq.o
79lib-$(CONFIG_USLEEP) += usleep.o
80lib-$(CONFIG_UUDECODE) += uudecode.o
81lib-$(CONFIG_UUENCODE) += uuencode.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000082lib-$(CONFIG_WC) += wc.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083lib-$(CONFIG_WHOAMI) += whoami.o
84lib-$(CONFIG_YES) += yes.o