aboutsummaryrefslogtreecommitdiff
path: root/libbb/Kbuild.src
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 12:47:25 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 12:47:25 +1000
commit9df56f96fd9a213189ca94c1fccfc3c42bd9c16a (patch)
treedb1db005b59e2b78d5daf9527fa8fc604e07e8c4 /libbb/Kbuild.src
parent30c62e541a1484fedc3d689d62f96d246a28b147 (diff)
parent5f3303712ef483d270097cae4ba0a559b1056121 (diff)
downloadbusybox-w32-9df56f96fd9a213189ca94c1fccfc3c42bd9c16a.tar.gz
busybox-w32-9df56f96fd9a213189ca94c1fccfc3c42bd9c16a.tar.bz2
busybox-w32-9df56f96fd9a213189ca94c1fccfc3c42bd9c16a.zip
Merge branch 'origin/master' (early part)
Diffstat (limited to 'libbb/Kbuild.src')
-rw-r--r--libbb/Kbuild.src173
1 files changed, 173 insertions, 0 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src
new file mode 100644
index 000000000..a8a1da1f9
--- /dev/null
+++ b/libbb/Kbuild.src
@@ -0,0 +1,173 @@
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
7lib-y:=
8
9lib-y += appletlib.o
10lib-y += ask_confirmation.o
11lib-y += bb_askpass.o
12lib-y += bb_basename.o
13lib-y += bb_do_delay.o
14lib-y += bb_pwd.o
15lib-y += bb_qsort.o
16#lib-y += bb_strtod.o
17lib-y += bb_strtonum.o
18lib-y += change_identity.o
19lib-y += chomp.o
20lib-y += compare_string_array.o
21lib-y += concat_path_file.o
22lib-y += concat_subpath_file.o
23lib-y += copy_file.o
24lib-y += copyfd.o
25lib-y += crc32.o
26lib-y += create_icmp6_socket.o
27lib-y += create_icmp_socket.o
28lib-y += default_error_retval.o
29lib-y += device_open.o
30lib-y += dump.o
31lib-y += error_msg.o
32lib-y += error_msg_and_die.o
33lib-y += execable.o
34lib-y += fclose_nonstdin.o
35lib-y += fflush_stdout_and_exit.o
36lib-y += fgets_str.o
37lib-y += find_pid_by_name.o
38lib-y += find_root_device.o
39lib-y += full_write.o
40lib-y += get_last_path_component.o
41lib-y += get_line_from_file.o
42lib-y += getopt32.o
43lib-y += get_volsize.o
44lib-y += herror_msg.o
45lib-y += herror_msg_and_die.o
46lib-y += human_readable.o
47lib-y += info_msg.o
48lib-y += inode_hash.o
49lib-y += isdirectory.o
50lib-y += last_char_is.o
51lib-y += lineedit.o lineedit_ptr_hack.o
52lib-y += llist.o
53lib-y += make_directory.o
54lib-y += md5.o
55# Alternative (disabled) implementation
56#lib-y += md5prime.o
57lib-y += messages.o
58lib-y += mode_string.o
59lib-y += mtab_file.o
60lib-y += obscure.o
61lib-y += parse_mode.o
62lib-y += parse_config.o
63lib-y += perror_msg.o
64lib-y += perror_msg_and_die.o
65lib-y += perror_nomsg.o
66lib-y += perror_nomsg_and_die.o
67lib-y += pidfile.o
68lib-y += platform.o
69lib-y += printable.o
70lib-y += printable_string.o
71lib-y += print_flags.o
72lib-y += process_escape_sequence.o
73lib-y += procps.o
74lib-y += progress.o
75lib-y += ptr_to_globals.o
76lib-y += read.o
77lib-y += recursive_action.o
78lib-y += remove_file.o
79lib-y += run_shell.o
80lib-y += safe_poll.o
81lib-y += safe_strncpy.o
82lib-y += safe_write.o
83lib-y += setup_environment.o
84lib-y += sha1.o
85lib-y += simplify_path.o
86lib-y += single_argv.o
87lib-y += skip_whitespace.o
88lib-y += speed_table.o
89lib-y += str_tolower.o
90lib-y += strrstr.o
91lib-y += time.o
92lib-y += trim.o
93lib-y += u_signal_names.o
94lib-y += uuencode.o
95lib-y += vdprintf.o
96lib-y += verror_msg.o
97lib-y += vfork_daemon_rexec.o
98lib-y += warn_ignoring_args.o
99lib-y += wfopen.o
100lib-y += wfopen_input.o
101lib-y += write.o
102lib-y += xatonum.o
103lib-y += xfunc_die.o
104lib-y += xfuncs.o
105lib-y += xfuncs_printf.o
106lib-y += xgetcwd.o
107lib-y += xreadlink.o
108lib-y += xrealloc_vector.o
109
110lib-$(CONFIG_PLATFORM_POSIX) += get_console.o
111lib-$(CONFIG_PLATFORM_POSIX) += getpty.o
112lib-$(CONFIG_PLATFORM_POSIX) += inet_common.o
113lib-$(CONFIG_PLATFORM_POSIX) += kernel_version.o
114lib-$(CONFIG_PLATFORM_POSIX) += login.o
115lib-$(CONFIG_PLATFORM_POSIX) += makedev.o
116lib-$(CONFIG_PLATFORM_POSIX) += match_fstype.o
117lib-$(CONFIG_PLATFORM_POSIX) += read_key.o
118lib-$(CONFIG_PLATFORM_POSIX) += safe_gethostname.o
119lib-$(CONFIG_PLATFORM_POSIX) += signals.o
120lib-$(CONFIG_PLATFORM_POSIX) += udp_io.o
121lib-$(CONFIG_PLATFORM_POSIX) += xconnect.o
122lib-$(CONFIG_PLATFORM_POSIX) += xgethostbyname.o
123
124lib-$(CONFIG_FEATURE_UTMP) += utmp.o
125
126# A mix of optimizations (why build stuff we know won't be used)
127# and objects which may fail to build (SELinux on selinux-less system)
128lib-$(CONFIG_SELINUX) += selinux_common.o
129lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
130lib-$(CONFIG_UNICODE_SUPPORT) += unicode.o
131lib-$(CONFIG_FEATURE_CHECK_NAMES) += die_if_bad_username.o
132
133lib-$(CONFIG_LOSETUP) += loop.o
134lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
135
136lib-$(CONFIG_ADDGROUP) += update_passwd.o
137lib-$(CONFIG_ADDUSER) += update_passwd.o
138lib-$(CONFIG_DELGROUP) += update_passwd.o
139lib-$(CONFIG_DELUSER) += update_passwd.o
140
141lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o
142lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
143lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
144lib-$(CONFIG_SULOGIN) += pw_encrypt.o
145lib-$(CONFIG_VLOCK) += pw_encrypt.o correct_password.o
146lib-$(CONFIG_SU) += pw_encrypt.o correct_password.o
147lib-$(CONFIG_LOGIN) += pw_encrypt.o correct_password.o
148lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
149
150lib-$(CONFIG_DF) += find_mount_point.o
151lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
152lib-$(CONFIG_MKFS_EXT2) += find_mount_point.o
153lib-$(CONFIG_MKFS_REISER) += find_mount_point.o
154lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o
155lib-$(CONFIG_MOUNT) += find_mount_point.o
156
157lib-$(CONFIG_HWCLOCK) += rtc.o
158lib-$(CONFIG_RTCWAKE) += rtc.o
159
160# We shouldn't build xregcomp.c if we don't need it - this ensures we don't
161# require regex.h to be in the include dir even if we don't need it thereby
162# allowing us to build busybox even if uclibc regex support is disabled.
163
164lib-$(CONFIG_AWK) += xregcomp.o
165lib-$(CONFIG_SED) += xregcomp.o
166lib-$(CONFIG_GREP) += xregcomp.o
167lib-$(CONFIG_EXPR) += xregcomp.o
168lib-$(CONFIG_MDEV) += xregcomp.o
169lib-$(CONFIG_LESS) += xregcomp.o
170lib-$(CONFIG_PGREP) += xregcomp.o
171lib-$(CONFIG_PKILL) += xregcomp.o
172lib-$(CONFIG_DEVFSD) += xregcomp.o
173lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o