source: MondoRescue/branches/3.3/mindi-busybox/libbb/Kbuild.src@ 3906

Last change on this file since 3906 was 3621, checked in by Bruno Cornec, 10 years ago

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

File size: 5.3 KB
Line 
1# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under GPLv2, see file LICENSE in this source tree.
6
7libbb/appletlib.o: include/usage_compressed.h
8
9lib-y:=
10
11INSERT
12
13lib-y += appletlib.o
14lib-y += ask_confirmation.o
15lib-y += bb_askpass.o
16lib-y += bb_bswap_64.o
17lib-y += bb_do_delay.o
18lib-y += bb_pwd.o
19lib-y += bb_qsort.o
20#lib-y += bb_strtod.o
21lib-y += bb_strtonum.o
22lib-y += change_identity.o
23lib-y += chomp.o
24lib-y += compare_string_array.o
25lib-y += concat_path_file.o
26lib-y += concat_subpath_file.o
27lib-y += copy_file.o
28lib-y += copyfd.o
29lib-y += crc32.o
30lib-y += default_error_retval.o
31lib-y += device_open.o
32lib-y += dump.o
33lib-y += executable.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_console.o
41lib-y += get_last_path_component.o
42lib-y += get_line_from_file.o
43lib-y += getopt32.o
44lib-y += getpty.o
45lib-y += get_volsize.o
46lib-y += herror_msg.o
47lib-y += human_readable.o
48lib-y += inet_common.o
49lib-y += inode_hash.o
50lib-y += isdirectory.o
51lib-y += kernel_version.o
52lib-y += last_char_is.o
53lib-y += lineedit.o lineedit_ptr_hack.o
54lib-y += llist.o
55lib-y += login.o
56lib-y += make_directory.o
57lib-y += makedev.o
58lib-y += hash_md5_sha.o
59# Alternative (disabled) MD5 implementation
60#lib-y += hash_md5prime.o
61lib-y += messages.o
62lib-y += mode_string.o
63lib-y += parse_mode.o
64lib-y += perror_msg.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 += read_printf.o
78lib-y += read_key.o
79lib-y += recursive_action.o
80lib-y += remove_file.o
81lib-y += run_shell.o
82lib-y += safe_gethostname.o
83lib-y += safe_poll.o
84lib-y += safe_strncpy.o
85lib-y += safe_write.o
86lib-y += setup_environment.o
87lib-y += signals.o
88lib-y += simplify_path.o
89lib-y += single_argv.o
90lib-y += skip_whitespace.o
91lib-y += speed_table.o
92lib-y += str_tolower.o
93lib-y += strrstr.o
94lib-y += sysconf.o
95lib-y += time.o
96lib-y += trim.o
97lib-y += u_signal_names.o
98lib-y += uuencode.o
99lib-y += vdprintf.o
100lib-y += verror_msg.o
101lib-y += vfork_daemon_rexec.o
102lib-y += warn_ignoring_args.o
103lib-y += wfopen.o
104lib-y += wfopen_input.o
105lib-y += write.o
106lib-y += xatonum.o
107lib-y += xconnect.o
108lib-y += xfuncs.o
109lib-y += xfuncs_printf.o
110lib-y += xfunc_die.o
111lib-y += xgetcwd.o
112lib-y += xgethostbyname.o
113lib-y += xreadlink.o
114lib-y += xrealloc_vector.o
115
116lib-$(CONFIG_PLATFORM_LINUX) += match_fstype.o
117
118lib-$(CONFIG_FEATURE_UTMP) += utmp.o
119
120# A mix of optimizations (why build stuff we know won't be used)
121# and objects which may fail to build (SELinux on selinux-less system)
122lib-$(CONFIG_SELINUX) += selinux_common.o
123lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
124lib-$(CONFIG_UNICODE_SUPPORT) += unicode.o
125lib-$(CONFIG_FEATURE_CHECK_NAMES) += die_if_bad_username.o
126
127lib-$(CONFIG_NC) += udp_io.o
128lib-$(CONFIG_DNSD) += udp_io.o
129lib-$(CONFIG_NTPD) += udp_io.o
130lib-$(CONFIG_TFTP) += udp_io.o
131lib-$(CONFIG_TFTPD) += udp_io.o
132lib-$(CONFIG_TCPSVD) += udp_io.o
133lib-$(CONFIG_UDPSVD) += udp_io.o
134lib-$(CONFIG_TRACEROUTE) += udp_io.o
135
136lib-$(CONFIG_LOSETUP) += loop.o
137lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
138
139lib-$(CONFIG_ADDGROUP) += update_passwd.o
140lib-$(CONFIG_ADDUSER) += update_passwd.o
141lib-$(CONFIG_DELGROUP) += update_passwd.o
142lib-$(CONFIG_DELUSER) += update_passwd.o
143
144lib-$(CONFIG_FTPD) += correct_password.o
145lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o
146lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
147lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
148lib-$(CONFIG_MKPASSWD) += pw_encrypt.o
149lib-$(CONFIG_SULOGIN) += pw_encrypt.o correct_password.o
150lib-$(CONFIG_VLOCK) += pw_encrypt.o correct_password.o
151lib-$(CONFIG_SU) += pw_encrypt.o correct_password.o
152lib-$(CONFIG_LOGIN) += pw_encrypt.o correct_password.o
153lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
154lib-$(CONFIG_FEATURE_FTP_AUTHENTICATION) += pw_encrypt.o
155
156lib-$(CONFIG_DF) += find_mount_point.o
157lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
158lib-$(CONFIG_MKFS_EXT2) += find_mount_point.o
159lib-$(CONFIG_MKFS_REISER) += find_mount_point.o
160lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o
161lib-$(CONFIG_MOUNT) += find_mount_point.o
162
163lib-$(CONFIG_HWCLOCK) += rtc.o
164lib-$(CONFIG_RTCWAKE) += rtc.o
165
166lib-$(CONFIG_IOSTAT) += get_cpu_count.o
167lib-$(CONFIG_MPSTAT) += get_cpu_count.o
168lib-$(CONFIG_POWERTOP) += get_cpu_count.o
169
170lib-$(CONFIG_PING) += inet_cksum.o
171lib-$(CONFIG_TRACEROUTE) += inet_cksum.o
172lib-$(CONFIG_TRACEROUTE6) += inet_cksum.o
173lib-$(CONFIG_UDHCPC) += inet_cksum.o
174lib-$(CONFIG_UDHCPC6) += inet_cksum.o
175lib-$(CONFIG_UDHCPD) += inet_cksum.o
176
177# We shouldn't build xregcomp.c if we don't need it - this ensures we don't
178# require regex.h to be in the include dir even if we don't need it thereby
179# allowing us to build busybox even if uclibc regex support is disabled.
180
181lib-$(CONFIG_AWK) += xregcomp.o
182lib-$(CONFIG_SED) += xregcomp.o
183lib-$(CONFIG_GREP) += xregcomp.o
184lib-$(CONFIG_EXPR) += xregcomp.o
185lib-$(CONFIG_MDEV) += xregcomp.o
186lib-$(CONFIG_LESS) += xregcomp.o
187lib-$(CONFIG_PGREP) += xregcomp.o
188lib-$(CONFIG_PKILL) += xregcomp.o
189lib-$(CONFIG_DEVFSD) += xregcomp.o
190lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o
191
192# Add the experimental logging functionality, only used by zcip
193lib-$(CONFIG_ZCIP) += logenv.o
Note: See TracBrowser for help on using the repository browser.