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 | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 15 | lib-$(CONFIG_CATV) += catv.o |
Denis Vlasenko | e80e2a3 | 2006-10-27 23:28:38 +0000 | [diff] [blame] | 16 | lib-$(CONFIG_CHGRP) += chgrp.o chown.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 17 | lib-$(CONFIG_CHMOD) += chmod.o |
| 18 | lib-$(CONFIG_CHOWN) += chown.o |
| 19 | lib-$(CONFIG_CHROOT) += chroot.o |
| 20 | lib-$(CONFIG_CKSUM) += cksum.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 21 | lib-$(CONFIG_COMM) += comm.o |
| 22 | lib-$(CONFIG_CP) += cp.o |
| 23 | lib-$(CONFIG_CUT) += cut.o |
| 24 | lib-$(CONFIG_DATE) += date.o |
| 25 | lib-$(CONFIG_DD) += dd.o |
| 26 | lib-$(CONFIG_DF) += df.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 27 | lib-$(CONFIG_DIRNAME) += dirname.o |
| 28 | lib-$(CONFIG_DOS2UNIX) += dos2unix.o |
| 29 | lib-$(CONFIG_DU) += du.o |
| 30 | lib-$(CONFIG_ECHO) += echo.o |
Denis Vlasenko | bf66fbc | 2006-12-21 13:23:14 +0000 | [diff] [blame] | 31 | lib-$(CONFIG_ASH) += echo.o # used by ash |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 32 | lib-$(CONFIG_ENV) += env.o |
| 33 | lib-$(CONFIG_EXPR) += expr.o |
| 34 | lib-$(CONFIG_FALSE) += false.o |
| 35 | lib-$(CONFIG_FOLD) += fold.o |
| 36 | lib-$(CONFIG_HEAD) += head.o |
| 37 | lib-$(CONFIG_HOSTID) += hostid.o |
| 38 | lib-$(CONFIG_ID) += id.o |
| 39 | lib-$(CONFIG_INSTALL) += install.o |
| 40 | lib-$(CONFIG_LENGTH) += length.o |
| 41 | lib-$(CONFIG_LN) += ln.o |
| 42 | lib-$(CONFIG_LOGNAME) += logname.o |
| 43 | lib-$(CONFIG_LS) += ls.o |
| 44 | lib-$(CONFIG_MD5SUM) += md5_sha1_sum.o |
| 45 | lib-$(CONFIG_MKDIR) += mkdir.o |
| 46 | lib-$(CONFIG_MKFIFO) += mkfifo.o |
| 47 | lib-$(CONFIG_MKNOD) += mknod.o |
| 48 | lib-$(CONFIG_MV) += mv.o |
| 49 | lib-$(CONFIG_NICE) += nice.o |
| 50 | lib-$(CONFIG_NOHUP) += nohup.o |
| 51 | lib-$(CONFIG_OD) += od.o |
| 52 | lib-$(CONFIG_PRINTENV) += printenv.o |
| 53 | lib-$(CONFIG_PRINTF) += printf.o |
| 54 | lib-$(CONFIG_PWD) += pwd.o |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame^] | 55 | lib-$(CONFIG_READLINK) += readlink.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 56 | lib-$(CONFIG_REALPATH) += realpath.o |
| 57 | lib-$(CONFIG_RM) += rm.o |
| 58 | lib-$(CONFIG_RMDIR) += rmdir.o |
| 59 | lib-$(CONFIG_SEQ) += seq.o |
| 60 | lib-$(CONFIG_SHA1SUM) += md5_sha1_sum.o |
| 61 | lib-$(CONFIG_SLEEP) += sleep.o |
Bernhard Reutner-Fischer | 10f8f5f | 2007-03-25 21:50:18 +0000 | [diff] [blame] | 62 | lib-$(CONFIG_SPLIT) += split.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 63 | lib-$(CONFIG_SORT) += sort.o |
| 64 | lib-$(CONFIG_STAT) += stat.o |
| 65 | lib-$(CONFIG_STTY) += stty.o |
| 66 | lib-$(CONFIG_SUM) += sum.o |
| 67 | lib-$(CONFIG_SYNC) += sync.o |
| 68 | lib-$(CONFIG_TAIL) += tail.o |
| 69 | lib-$(CONFIG_TEE) += tee.o |
| 70 | lib-$(CONFIG_TEST) += test.o |
Denis Vlasenko | bf66fbc | 2006-12-21 13:23:14 +0000 | [diff] [blame] | 71 | lib-$(CONFIG_ASH) += test.o # used by ash |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 72 | lib-$(CONFIG_TOUCH) += touch.o |
| 73 | lib-$(CONFIG_TR) += tr.o |
| 74 | lib-$(CONFIG_TRUE) += true.o |
| 75 | lib-$(CONFIG_TTY) += tty.o |
| 76 | lib-$(CONFIG_UNAME) += uname.o |
| 77 | lib-$(CONFIG_UNIQ) += uniq.o |
| 78 | lib-$(CONFIG_USLEEP) += usleep.o |
| 79 | lib-$(CONFIG_UUDECODE) += uudecode.o |
| 80 | lib-$(CONFIG_UUENCODE) += uuencode.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 81 | lib-$(CONFIG_WC) += wc.o |
| 82 | lib-$(CONFIG_WHO) += who.o |
| 83 | lib-$(CONFIG_WHOAMI) += whoami.o |
| 84 | lib-$(CONFIG_YES) += yes.o |