Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
| 2 | # |
| 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
| 4 | # |
| 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
| 6 | |
| 7 | libs-y += libcoreutils/ |
| 8 | |
| 9 | lib-y:= |
| 10 | lib-$(CONFIG_BASENAME) += basename.o |
| 11 | lib-$(CONFIG_CAL) += cal.o |
| 12 | lib-$(CONFIG_CAT) += cat.o |
Denis Vlasenko | a4688bf | 2007-03-11 10:56:37 +0000 | [diff] [blame] | 13 | lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty |
| 14 | lib-$(CONFIG_LESS) += cat.o # less too |
Denis Vlasenko | 284d0fa | 2008-02-16 13:18:17 +0000 | [diff] [blame] | 15 | lib-$(CONFIG_CRONTAB) += cat.o # crontab -l |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 16 | lib-$(CONFIG_CATV) += catv.o |
Denis Vlasenko | e80e2a3 | 2006-10-27 23:28:38 +0000 | [diff] [blame] | 17 | lib-$(CONFIG_CHGRP) += chgrp.o chown.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 18 | lib-$(CONFIG_CHMOD) += chmod.o |
| 19 | lib-$(CONFIG_CHOWN) += chown.o |
| 20 | lib-$(CONFIG_CHROOT) += chroot.o |
| 21 | lib-$(CONFIG_CKSUM) += cksum.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 22 | lib-$(CONFIG_COMM) += comm.o |
| 23 | lib-$(CONFIG_CP) += cp.o |
| 24 | lib-$(CONFIG_CUT) += cut.o |
| 25 | lib-$(CONFIG_DATE) += date.o |
| 26 | lib-$(CONFIG_DD) += dd.o |
| 27 | lib-$(CONFIG_DF) += df.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 28 | lib-$(CONFIG_DIRNAME) += dirname.o |
| 29 | lib-$(CONFIG_DOS2UNIX) += dos2unix.o |
| 30 | lib-$(CONFIG_DU) += du.o |
| 31 | lib-$(CONFIG_ECHO) += echo.o |
Denis Vlasenko | bf66fbc | 2006-12-21 13:23:14 +0000 | [diff] [blame] | 32 | lib-$(CONFIG_ASH) += echo.o # used by ash |
Denis Vlasenko | 468aea2 | 2008-04-01 14:47:57 +0000 | [diff] [blame] | 33 | lib-$(CONFIG_HUSH) += echo.o # used by hush |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 34 | lib-$(CONFIG_ENV) += env.o |
| 35 | lib-$(CONFIG_EXPR) += expr.o |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 36 | lib-$(CONFIG_EXPAND) += expand.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 37 | lib-$(CONFIG_FALSE) += false.o |
| 38 | lib-$(CONFIG_FOLD) += fold.o |
Denys Vlasenko | 14f6f0a | 2009-06-18 08:20:02 +0200 | [diff] [blame^] | 39 | lib-$(CONFIG_FSYNC) += fsync.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 40 | lib-$(CONFIG_HEAD) += head.o |
| 41 | lib-$(CONFIG_HOSTID) += hostid.o |
| 42 | lib-$(CONFIG_ID) += id.o |
| 43 | lib-$(CONFIG_INSTALL) += install.o |
| 44 | lib-$(CONFIG_LENGTH) += length.o |
| 45 | lib-$(CONFIG_LN) += ln.o |
| 46 | lib-$(CONFIG_LOGNAME) += logname.o |
| 47 | lib-$(CONFIG_LS) += ls.o |
Denis Vlasenko | c41cba5 | 2009-03-09 15:46:07 +0000 | [diff] [blame] | 48 | lib-$(CONFIG_FTPD) += ls.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 49 | lib-$(CONFIG_MD5SUM) += md5_sha1_sum.o |
| 50 | lib-$(CONFIG_MKDIR) += mkdir.o |
| 51 | lib-$(CONFIG_MKFIFO) += mkfifo.o |
| 52 | lib-$(CONFIG_MKNOD) += mknod.o |
| 53 | lib-$(CONFIG_MV) += mv.o |
| 54 | lib-$(CONFIG_NICE) += nice.o |
| 55 | lib-$(CONFIG_NOHUP) += nohup.o |
| 56 | lib-$(CONFIG_OD) += od.o |
| 57 | lib-$(CONFIG_PRINTENV) += printenv.o |
| 58 | lib-$(CONFIG_PRINTF) += printf.o |
Denis Vlasenko | cd2663f | 2008-06-01 22:36:39 +0000 | [diff] [blame] | 59 | lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 60 | lib-$(CONFIG_PWD) += pwd.o |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 61 | lib-$(CONFIG_READLINK) += readlink.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 62 | lib-$(CONFIG_REALPATH) += realpath.o |
| 63 | lib-$(CONFIG_RM) += rm.o |
| 64 | lib-$(CONFIG_RMDIR) += rmdir.o |
| 65 | lib-$(CONFIG_SEQ) += seq.o |
| 66 | lib-$(CONFIG_SHA1SUM) += md5_sha1_sum.o |
Denis Vlasenko | 2211d52 | 2008-11-10 18:52:35 +0000 | [diff] [blame] | 67 | lib-$(CONFIG_SHA256SUM) += md5_sha1_sum.o |
| 68 | lib-$(CONFIG_SHA512SUM) += md5_sha1_sum.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 69 | lib-$(CONFIG_SLEEP) += sleep.o |
Bernhard Reutner-Fischer | 10f8f5f | 2007-03-25 21:50:18 +0000 | [diff] [blame] | 70 | lib-$(CONFIG_SPLIT) += split.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 71 | lib-$(CONFIG_SORT) += sort.o |
| 72 | lib-$(CONFIG_STAT) += stat.o |
| 73 | lib-$(CONFIG_STTY) += stty.o |
| 74 | lib-$(CONFIG_SUM) += sum.o |
| 75 | lib-$(CONFIG_SYNC) += sync.o |
Denis Vlasenko | bcd5fc1 | 2008-01-06 06:27:17 +0000 | [diff] [blame] | 76 | lib-$(CONFIG_TAC) += tac.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 77 | lib-$(CONFIG_TAIL) += tail.o |
| 78 | lib-$(CONFIG_TEE) += tee.o |
Denis Vlasenko | 5d89fba | 2008-04-22 00:08:27 +0000 | [diff] [blame] | 79 | lib-$(CONFIG_TEST) += test.o test_ptr_hack.o |
| 80 | lib-$(CONFIG_ASH) += test.o test_ptr_hack.o # used by ash |
| 81 | lib-$(CONFIG_HUSH) += test.o test_ptr_hack.o # used by hush |
| 82 | lib-$(CONFIG_MSH) += test.o test_ptr_hack.o # used by msh |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 83 | lib-$(CONFIG_TOUCH) += touch.o |
| 84 | lib-$(CONFIG_TR) += tr.o |
| 85 | lib-$(CONFIG_TRUE) += true.o |
| 86 | lib-$(CONFIG_TTY) += tty.o |
| 87 | lib-$(CONFIG_UNAME) += uname.o |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 88 | lib-$(CONFIG_UNEXPAND) += expand.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 89 | lib-$(CONFIG_UNIQ) += uniq.o |
| 90 | lib-$(CONFIG_USLEEP) += usleep.o |
| 91 | lib-$(CONFIG_UUDECODE) += uudecode.o |
| 92 | lib-$(CONFIG_UUENCODE) += uuencode.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 93 | lib-$(CONFIG_WC) += wc.o |
| 94 | lib-$(CONFIG_WHO) += who.o |
| 95 | lib-$(CONFIG_WHOAMI) += whoami.o |
| 96 | lib-$(CONFIG_YES) += yes.o |