3 # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
5 # Licensed under the GPL v2, see the file LICENSE in this tarball.
10 lib-y += ask_confirmation.o
12 lib-y += bb_basename.o
13 lib-y += bb_do_delay.o
17 lib-y += bb_strtonum.o
18 lib-y += change_identity.o
20 lib-y += compare_string_array.o
21 lib-y += concat_path_file.o
22 lib-y += concat_subpath_file.o
26 lib-y += create_icmp6_socket.o
27 lib-y += create_icmp_socket.o
28 lib-y += default_error_retval.o
29 lib-y += device_open.o
32 lib-y += error_msg_and_die.o
34 lib-y += fclose_nonstdin.o
35 lib-y += fflush_stdout_and_exit.o
37 lib-y += find_pid_by_name.o
38 lib-y += find_root_device.o
40 lib-y += get_console.o
41 lib-y += get_last_path_component.o
42 lib-y += get_line_from_file.o
46 lib-y += herror_msg_and_die.o
47 lib-y += human_readable.o
48 lib-y += inet_common.o
51 lib-y += isdirectory.o
52 lib-y += kernel_version.o
53 lib-y += last_char_is.o
54 lib-y += lineedit.o lineedit_ptr_hack.o
57 lib-y += make_directory.o
59 lib-y += match_fstype.o
61 # Alternative (disabled) implementation
64 lib-y += mode_string.o
68 lib-y += parse_config.o
70 lib-y += perror_msg_and_die.o
71 lib-y += perror_nomsg.o
72 lib-y += perror_nomsg_and_die.o
75 lib-y += print_flags.o
76 lib-y += process_escape_sequence.o
78 lib-y += ptr_to_globals.o
81 lib-y += recursive_action.o
82 lib-y += remove_file.o
83 lib-y += restricted_shell.o
85 lib-y += safe_gethostname.o
87 lib-y += safe_strncpy.o
89 lib-y += setup_environment.o
92 lib-y += simplify_path.o
93 lib-y += skip_whitespace.o
94 lib-y += speed_table.o
95 lib-y += str_tolower.o
99 lib-y += u_signal_names.o
103 lib-y += verror_msg.o
104 lib-y += vfork_daemon_rexec.o
105 lib-y += warn_ignoring_args.o
107 lib-y += wfopen_input.o
112 lib-y += xfuncs_printf.o
115 lib-y += xgethostbyname.o
117 lib-y += xrealloc_vector.o
119 # conditionally compiled objects:
120 lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
121 lib-$(CONFIG_LOSETUP) += loop.o
122 lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
123 lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o
124 lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
125 lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
126 lib-$(CONFIG_SULOGIN) += pw_encrypt.o
127 lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
128 lib-$(CONFIG_VLOCK) += pw_encrypt.o correct_password.o
129 lib-$(CONFIG_SU) += pw_encrypt.o correct_password.o
130 lib-$(CONFIG_LOGIN) += pw_encrypt.o correct_password.o
131 lib-$(CONFIG_DF) += find_mount_point.o
132 lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
133 lib-$(CONFIG_SELINUX) += selinux_common.o
134 lib-$(CONFIG_HWCLOCK) += rtc.o
135 lib-$(CONFIG_RTCWAKE) += rtc.o
136 lib-$(CONFIG_FEATURE_CHECK_NAMES) += die_if_bad_username.o
138 # We shouldn't build xregcomp.c if we don't need it - this ensures we don't
139 # require regex.h to be in the include dir even if we don't need it thereby
140 # allowing us to build busybox even if uclibc regex support is disabled.
142 lib-$(CONFIG_AWK) += xregcomp.o
143 lib-$(CONFIG_SED) += xregcomp.o
144 lib-$(CONFIG_GREP) += xregcomp.o
145 lib-$(CONFIG_EXPR) += xregcomp.o
146 lib-$(CONFIG_MDEV) += xregcomp.o
147 lib-$(CONFIG_LESS) += xregcomp.o
148 lib-$(CONFIG_PGREP) += xregcomp.o
149 lib-$(CONFIG_PKILL) += xregcomp.o
150 lib-$(CONFIG_DEVFSD) += xregcomp.o
151 lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o