blob: 1ddec9a8d762c94e359c8855258c8280e31f380c [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
Denis Vlasenko0b354702006-11-24 14:54:27 +00007lib-y:=
8
9lib-y += ask_confirmation.o
10lib-y += bb_askpass.o
11lib-y += bb_do_delay.o
12lib-y += bb_pwd.o
13lib-y += change_identity.o
14lib-y += chomp.o
15lib-y += compare_string_array.o
16lib-y += concat_path_file.o
17lib-y += concat_subpath_file.o
18lib-y += copy_file.o
19lib-y += copyfd.o
20lib-y += crc32.o
21lib-y += create_icmp6_socket.o
22lib-y += create_icmp_socket.o
23lib-y += default_error_retval.o
24lib-y += device_open.o
25lib-y += dump.o
26lib-y += error_msg.o
27lib-y += error_msg_and_die.o
28lib-y += execable.o
29lib-y += fclose_nonstdin.o
30lib-y += fflush_stdout_and_exit.o
31lib-y += fgets_str.o
32lib-y += find_pid_by_name.o
33lib-y += find_root_device.o
34lib-y += full_write.o
35lib-y += get_console.o
36lib-y += get_last_path_component.o
37lib-y += get_line_from_file.o
38lib-y += getopt32.o
39lib-y += herror_msg.o
40lib-y += herror_msg_and_die.o
41lib-y += human_readable.o
42lib-y += inet_common.o
43lib-y += info_msg.o
44lib-y += inode_hash.o
45lib-y += isdirectory.o
46lib-y += kernel_version.o
47lib-y += last_char_is.o
48lib-y += llist.o
49lib-y += login.o
50lib-y += make_directory.o
51lib-y += makedev.o
52lib-y += md5.o
53lib-y += messages.o
54lib-y += mode_string.o
55lib-y += mtab_file.o
56lib-y += obscure.o
57lib-y += parse_mode.o
58lib-y += perror_msg.o
59lib-y += perror_msg_and_die.o
60lib-y += perror_nomsg.o
61lib-y += perror_nomsg_and_die.o
62lib-y += process_escape_sequence.o
63lib-y += procps.o
64lib-y += read.o
65lib-y += recursive_action.o
66lib-y += remove_file.o
67lib-y += restricted_shell.o
68lib-y += run_parts.o
69lib-y += run_shell.o
70lib-y += safe_strncpy.o
71lib-y += safe_strtol.o
72lib-y += safe_write.o
73lib-y += setup_environment.o
74lib-y += sha1.o
75lib-y += simplify_path.o
76lib-y += skip_whitespace.o
77lib-y += speed_table.o
78lib-y += trim.o
79lib-y += u_signal_names.o
80lib-y += uuencode.o
81lib-y += vdprintf.o
82lib-y += verror_msg.o
83lib-y += vfork_daemon_rexec.o
84lib-y += vherror_msg.o
85lib-y += vinfo_msg.o
86lib-y += vperror_msg.o
87lib-y += warn_ignoring_args.o
88lib-y += wfopen.o
89lib-y += wfopen_input.o
Denis Vlasenkoed836cd2006-11-25 14:44:13 +000090lib-y += xatonum.o
Denis Vlasenko0b354702006-11-24 14:54:27 +000091lib-y += xconnect.o
92lib-y += xfuncs.o
93lib-y += xgetcwd.o
94lib-y += xgethostbyname.o
95lib-y += xgethostbyname2.o
96lib-y += xreadlink.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000097
98# conditionally compiled objects:
99lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
100lib-$(CONFIG_LOSETUP) += loop.o
101lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
102lib-$(CONFIG_PASSWD) += pw_encrypt.o
103lib-$(CONFIG_SULOGIN) += pw_encrypt.o
104lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
105lib-$(CONFIG_VLOCK) += correct_password.o
106lib-$(CONFIG_SU) += correct_password.o
107lib-$(CONFIG_LOGIN) += correct_password.o
108lib-$(CONFIG_DF) += find_mount_point.o
109lib-$(CONFIG_EJECT) += find_mount_point.o
110
111# We shouldn't build xregcomp.c if we don't need it - this ensures we don't
112# require regex.h to be in the include dir even if we don't need it thereby
113# allowing us to build busybox even if uclibc regex support is disabled.
114
115lib-$(CONFIG_AWK) += xregcomp.o
116lib-$(CONFIG_SED) += xregcomp.o
117lib-$(CONFIG_LESS) += xregcomp.o
118lib-$(CONFIG_DEVFSD) += xregcomp.o