blob: 8ada8b056cd8a79c20821742f17b254c3b2dc5f9 [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#
5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7libs-y += libcoreutils/
8
9lib-y:=
10lib-$(CONFIG_BASENAME) += basename.o
11lib-$(CONFIG_CAL) += cal.o
12lib-$(CONFIG_CAT) += cat.o
Denis Vlasenkoa4688bf2007-03-11 10:56:37 +000013lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty
14lib-$(CONFIG_LESS) += cat.o # less too
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015lib-$(CONFIG_CATV) += catv.o
Denis Vlasenkoe80e2a32006-10-27 23:28:38 +000016lib-$(CONFIG_CHGRP) += chgrp.o chown.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000017lib-$(CONFIG_CHMOD) += chmod.o
18lib-$(CONFIG_CHOWN) += chown.o
19lib-$(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
24lib-$(CONFIG_DATE) += date.o
25lib-$(CONFIG_DD) += dd.o
26lib-$(CONFIG_DF) += df.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000027lib-$(CONFIG_DIRNAME) += dirname.o
28lib-$(CONFIG_DOS2UNIX) += dos2unix.o
29lib-$(CONFIG_DU) += du.o
30lib-$(CONFIG_ECHO) += echo.o
Denis Vlasenkobf66fbc2006-12-21 13:23:14 +000031lib-$(CONFIG_ASH) += echo.o # used by ash
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
37lib-$(CONFIG_HEAD) += head.o
38lib-$(CONFIG_HOSTID) += hostid.o
39lib-$(CONFIG_ID) += id.o
40lib-$(CONFIG_INSTALL) += install.o
41lib-$(CONFIG_LENGTH) += length.o
42lib-$(CONFIG_LN) += ln.o
43lib-$(CONFIG_LOGNAME) += logname.o
44lib-$(CONFIG_LS) += ls.o
45lib-$(CONFIG_MD5SUM) += md5_sha1_sum.o
46lib-$(CONFIG_MKDIR) += mkdir.o
47lib-$(CONFIG_MKFIFO) += mkfifo.o
48lib-$(CONFIG_MKNOD) += mknod.o
49lib-$(CONFIG_MV) += mv.o
50lib-$(CONFIG_NICE) += nice.o
51lib-$(CONFIG_NOHUP) += nohup.o
52lib-$(CONFIG_OD) += od.o
53lib-$(CONFIG_PRINTENV) += printenv.o
54lib-$(CONFIG_PRINTF) += printf.o
55lib-$(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
62lib-$(CONFIG_SLEEP) += sleep.o
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +000063lib-$(CONFIG_SPLIT) += split.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000064lib-$(CONFIG_SORT) += sort.o
65lib-$(CONFIG_STAT) += stat.o
66lib-$(CONFIG_STTY) += stty.o
67lib-$(CONFIG_SUM) += sum.o
68lib-$(CONFIG_SYNC) += sync.o
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +000069lib-$(CONFIG_TAC) += tac.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000070lib-$(CONFIG_TAIL) += tail.o
71lib-$(CONFIG_TEE) += tee.o
72lib-$(CONFIG_TEST) += test.o
Denis Vlasenkobf66fbc2006-12-21 13:23:14 +000073lib-$(CONFIG_ASH) += test.o # used by ash
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000074lib-$(CONFIG_TOUCH) += touch.o
75lib-$(CONFIG_TR) += tr.o
76lib-$(CONFIG_TRUE) += true.o
77lib-$(CONFIG_TTY) += tty.o
78lib-$(CONFIG_UNAME) += uname.o
Denis Vlasenko3952f202007-08-13 14:10:24 +000079lib-$(CONFIG_UNEXPAND) += expand.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000080lib-$(CONFIG_UNIQ) += uniq.o
81lib-$(CONFIG_USLEEP) += usleep.o
82lib-$(CONFIG_UUDECODE) += uudecode.o
83lib-$(CONFIG_UUENCODE) += uuencode.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000084lib-$(CONFIG_WC) += wc.o
85lib-$(CONFIG_WHO) += who.o
86lib-$(CONFIG_WHOAMI) += whoami.o
87lib-$(CONFIG_YES) += yes.o