2006-10-05 10:17:08 +00:00
|
|
|
# Makefile for busybox
|
|
|
|
#
|
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
|
|
|
#
|
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
|
|
|
|
|
|
|
libs-y += libcoreutils/
|
|
|
|
|
|
|
|
lib-y:=
|
|
|
|
lib-$(CONFIG_BASENAME) += basename.o
|
|
|
|
lib-$(CONFIG_CAL) += cal.o
|
|
|
|
lib-$(CONFIG_CAT) += cat.o
|
2007-03-11 10:56:37 +00:00
|
|
|
lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty
|
|
|
|
lib-$(CONFIG_LESS) += cat.o # less too
|
2008-02-16 13:18:17 +00:00
|
|
|
lib-$(CONFIG_CRONTAB) += cat.o # crontab -l
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_CATV) += catv.o
|
2006-10-27 23:28:38 +00:00
|
|
|
lib-$(CONFIG_CHGRP) += chgrp.o chown.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_CHMOD) += chmod.o
|
|
|
|
lib-$(CONFIG_CHOWN) += chown.o
|
2010-02-06 20:50:59 +00:00
|
|
|
lib-$(CONFIG_ADDGROUP) += chown.o # used by adduser
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_CHROOT) += chroot.o
|
|
|
|
lib-$(CONFIG_CKSUM) += cksum.o
|
|
|
|
lib-$(CONFIG_COMM) += comm.o
|
|
|
|
lib-$(CONFIG_CP) += cp.o
|
|
|
|
lib-$(CONFIG_CUT) += cut.o
|
|
|
|
lib-$(CONFIG_DATE) += date.o
|
|
|
|
lib-$(CONFIG_DD) += dd.o
|
|
|
|
lib-$(CONFIG_DF) += df.o
|
|
|
|
lib-$(CONFIG_DIRNAME) += dirname.o
|
|
|
|
lib-$(CONFIG_DOS2UNIX) += dos2unix.o
|
|
|
|
lib-$(CONFIG_DU) += du.o
|
|
|
|
lib-$(CONFIG_ECHO) += echo.o
|
2006-12-21 13:23:14 +00:00
|
|
|
lib-$(CONFIG_ASH) += echo.o # used by ash
|
2008-04-01 14:47:57 +00:00
|
|
|
lib-$(CONFIG_HUSH) += echo.o # used by hush
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_ENV) += env.o
|
|
|
|
lib-$(CONFIG_EXPR) += expr.o
|
2007-08-13 14:10:24 +00:00
|
|
|
lib-$(CONFIG_EXPAND) += expand.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_FALSE) += false.o
|
|
|
|
lib-$(CONFIG_FOLD) += fold.o
|
2009-06-18 06:20:02 +00:00
|
|
|
lib-$(CONFIG_FSYNC) += fsync.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_HEAD) += head.o
|
|
|
|
lib-$(CONFIG_HOSTID) += hostid.o
|
|
|
|
lib-$(CONFIG_ID) += id.o
|
|
|
|
lib-$(CONFIG_INSTALL) += install.o
|
|
|
|
lib-$(CONFIG_LENGTH) += length.o
|
|
|
|
lib-$(CONFIG_LN) += ln.o
|
|
|
|
lib-$(CONFIG_LOGNAME) += logname.o
|
|
|
|
lib-$(CONFIG_LS) += ls.o
|
2009-03-09 15:46:07 +00:00
|
|
|
lib-$(CONFIG_FTPD) += ls.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_MD5SUM) += md5_sha1_sum.o
|
|
|
|
lib-$(CONFIG_MKDIR) += mkdir.o
|
|
|
|
lib-$(CONFIG_MKFIFO) += mkfifo.o
|
|
|
|
lib-$(CONFIG_MKNOD) += mknod.o
|
|
|
|
lib-$(CONFIG_MV) += mv.o
|
|
|
|
lib-$(CONFIG_NICE) += nice.o
|
|
|
|
lib-$(CONFIG_NOHUP) += nohup.o
|
|
|
|
lib-$(CONFIG_OD) += od.o
|
|
|
|
lib-$(CONFIG_PRINTENV) += printenv.o
|
|
|
|
lib-$(CONFIG_PRINTF) += printf.o
|
2008-06-01 22:36:39 +00:00
|
|
|
lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_PWD) += pwd.o
|
2007-06-12 08:12:33 +00:00
|
|
|
lib-$(CONFIG_READLINK) += readlink.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_REALPATH) += realpath.o
|
|
|
|
lib-$(CONFIG_RM) += rm.o
|
|
|
|
lib-$(CONFIG_RMDIR) += rmdir.o
|
|
|
|
lib-$(CONFIG_SEQ) += seq.o
|
|
|
|
lib-$(CONFIG_SHA1SUM) += md5_sha1_sum.o
|
2008-11-10 18:52:35 +00:00
|
|
|
lib-$(CONFIG_SHA256SUM) += md5_sha1_sum.o
|
|
|
|
lib-$(CONFIG_SHA512SUM) += md5_sha1_sum.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_SLEEP) += sleep.o
|
2007-03-25 21:50:18 +00:00
|
|
|
lib-$(CONFIG_SPLIT) += split.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_SORT) += sort.o
|
|
|
|
lib-$(CONFIG_STAT) += stat.o
|
|
|
|
lib-$(CONFIG_STTY) += stty.o
|
|
|
|
lib-$(CONFIG_SUM) += sum.o
|
|
|
|
lib-$(CONFIG_SYNC) += sync.o
|
2008-01-06 06:27:17 +00:00
|
|
|
lib-$(CONFIG_TAC) += tac.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_TAIL) += tail.o
|
|
|
|
lib-$(CONFIG_TEE) += tee.o
|
2008-04-22 00:08:27 +00:00
|
|
|
lib-$(CONFIG_TEST) += test.o test_ptr_hack.o
|
|
|
|
lib-$(CONFIG_ASH) += test.o test_ptr_hack.o # used by ash
|
|
|
|
lib-$(CONFIG_HUSH) += test.o test_ptr_hack.o # used by hush
|
|
|
|
lib-$(CONFIG_MSH) += test.o test_ptr_hack.o # used by msh
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_TOUCH) += touch.o
|
|
|
|
lib-$(CONFIG_TR) += tr.o
|
|
|
|
lib-$(CONFIG_TRUE) += true.o
|
|
|
|
lib-$(CONFIG_TTY) += tty.o
|
|
|
|
lib-$(CONFIG_UNAME) += uname.o
|
2007-08-13 14:10:24 +00:00
|
|
|
lib-$(CONFIG_UNEXPAND) += expand.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_UNIQ) += uniq.o
|
|
|
|
lib-$(CONFIG_USLEEP) += usleep.o
|
|
|
|
lib-$(CONFIG_UUDECODE) += uudecode.o
|
|
|
|
lib-$(CONFIG_UUENCODE) += uuencode.o
|
|
|
|
lib-$(CONFIG_WC) += wc.o
|
|
|
|
lib-$(CONFIG_WHO) += who.o
|
|
|
|
lib-$(CONFIG_WHOAMI) += whoami.o
|
|
|
|
lib-$(CONFIG_YES) += yes.o
|