blob: 9ac6b9e7814f49138518e427ade8361d8b573dc5 [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
Denys Vlasenkoaf3f4202016-11-23 14:46:56 +010012
Denys Vlasenko0b883582016-12-23 16:49:07 +010013lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty
14lib-$(CONFIG_LESS) += cat.o # less too
15lib-$(CONFIG_CRONTAB) += cat.o # crontab -l
16lib-$(CONFIG_ADDUSER) += chown.o # used by adduser
17lib-$(CONFIG_ADDGROUP) += chown.o # used by adduser
Denys Vlasenko1125d7d2017-01-08 17:19:38 +010018lib-$(CONFIG_FTPD) += ls.o # used by ftpd
19
Denys Vlasenko0b883582016-12-23 16:49:07 +010020lib-$(CONFIG_ASH) += echo.o # used by ash
21lib-$(CONFIG_SH_IS_ASH) += echo.o # used by ash
22lib-$(CONFIG_BASH_IS_ASH) += echo.o # used by ash
23lib-$(CONFIG_HUSH) += echo.o # used by hush
24lib-$(CONFIG_SH_IS_HUSH) += echo.o # used by hush
25lib-$(CONFIG_BASH_IS_HUSH) += echo.o # used by hush
Denys Vlasenko1125d7d2017-01-08 17:19:38 +010026
Denis Vlasenkocd2663f2008-06-01 22:36:39 +000027lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o
Denys Vlasenko1125d7d2017-01-08 17:19:38 +010028lib-$(CONFIG_HUSH_PRINTF) += printf.o