2006-10-05 10:17:08 +00:00
|
|
|
# Makefile for busybox
|
|
|
|
#
|
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
|
|
|
#
|
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
|
|
|
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y:=
|
|
|
|
|
2007-10-07 20:46:34 +00:00
|
|
|
lib-y += appletlib.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += ask_confirmation.o
|
|
|
|
lib-y += bb_askpass.o
|
2007-06-30 08:04:05 +00:00
|
|
|
lib-y += bb_basename.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += bb_do_delay.o
|
|
|
|
lib-y += bb_pwd.o
|
2008-03-02 12:51:26 +00:00
|
|
|
lib-y += bb_qsort.o
|
2006-11-27 14:43:21 +00:00
|
|
|
lib-y += bb_strtonum.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += change_identity.o
|
|
|
|
lib-y += chomp.o
|
|
|
|
lib-y += compare_string_array.o
|
|
|
|
lib-y += concat_path_file.o
|
|
|
|
lib-y += concat_subpath_file.o
|
|
|
|
lib-y += copy_file.o
|
|
|
|
lib-y += copyfd.o
|
|
|
|
lib-y += crc32.o
|
|
|
|
lib-y += create_icmp6_socket.o
|
|
|
|
lib-y += create_icmp_socket.o
|
|
|
|
lib-y += default_error_retval.o
|
|
|
|
lib-y += device_open.o
|
|
|
|
lib-y += dump.o
|
|
|
|
lib-y += error_msg.o
|
|
|
|
lib-y += error_msg_and_die.o
|
|
|
|
lib-y += execable.o
|
|
|
|
lib-y += fclose_nonstdin.o
|
|
|
|
lib-y += fflush_stdout_and_exit.o
|
|
|
|
lib-y += fgets_str.o
|
|
|
|
lib-y += find_pid_by_name.o
|
|
|
|
lib-y += find_root_device.o
|
|
|
|
lib-y += full_write.o
|
|
|
|
lib-y += get_console.o
|
|
|
|
lib-y += get_last_path_component.o
|
|
|
|
lib-y += get_line_from_file.o
|
|
|
|
lib-y += getopt32.o
|
2008-02-27 11:54:59 +00:00
|
|
|
lib-y += getpty.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += herror_msg.o
|
|
|
|
lib-y += herror_msg_and_die.o
|
|
|
|
lib-y += human_readable.o
|
|
|
|
lib-y += inet_common.o
|
|
|
|
lib-y += info_msg.o
|
|
|
|
lib-y += inode_hash.o
|
|
|
|
lib-y += isdirectory.o
|
|
|
|
lib-y += kernel_version.o
|
|
|
|
lib-y += last_char_is.o
|
2008-04-22 00:08:27 +00:00
|
|
|
lib-y += lineedit.o lineedit_ptr_hack.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += llist.o
|
|
|
|
lib-y += login.o
|
|
|
|
lib-y += make_directory.o
|
|
|
|
lib-y += makedev.o
|
2007-04-05 21:57:47 +00:00
|
|
|
lib-y += match_fstype.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += md5.o
|
|
|
|
lib-y += messages.o
|
|
|
|
lib-y += mode_string.o
|
|
|
|
lib-y += mtab_file.o
|
|
|
|
lib-y += obscure.o
|
|
|
|
lib-y += parse_mode.o
|
|
|
|
lib-y += perror_msg.o
|
|
|
|
lib-y += perror_msg_and_die.o
|
|
|
|
lib-y += perror_nomsg.o
|
|
|
|
lib-y += perror_nomsg_and_die.o
|
2007-03-27 22:01:31 +00:00
|
|
|
lib-y += pidfile.o
|
2007-12-30 01:59:53 +00:00
|
|
|
lib-y += printable.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += process_escape_sequence.o
|
|
|
|
lib-y += procps.o
|
2008-02-27 18:41:59 +00:00
|
|
|
lib-y += ptr_to_globals.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += read.o
|
|
|
|
lib-y += recursive_action.o
|
|
|
|
lib-y += remove_file.o
|
|
|
|
lib-y += restricted_shell.o
|
|
|
|
lib-y += run_shell.o
|
2008-02-25 23:23:58 +00:00
|
|
|
lib-y += safe_gethostname.o
|
2007-09-27 10:09:59 +00:00
|
|
|
lib-y += safe_poll.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += safe_strncpy.o
|
|
|
|
lib-y += safe_write.o
|
|
|
|
lib-y += setup_environment.o
|
|
|
|
lib-y += sha1.o
|
2008-02-16 22:58:56 +00:00
|
|
|
lib-y += signals.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += simplify_path.o
|
|
|
|
lib-y += skip_whitespace.o
|
|
|
|
lib-y += speed_table.o
|
2007-04-10 09:37:29 +00:00
|
|
|
lib-y += str_tolower.o
|
2007-06-17 19:09:05 +00:00
|
|
|
lib-y += time.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += trim.o
|
|
|
|
lib-y += u_signal_names.o
|
2007-04-05 20:26:28 +00:00
|
|
|
lib-y += udp_io.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += uuencode.o
|
|
|
|
lib-y += vdprintf.o
|
|
|
|
lib-y += verror_msg.o
|
|
|
|
lib-y += vfork_daemon_rexec.o
|
|
|
|
lib-y += warn_ignoring_args.o
|
|
|
|
lib-y += wfopen.o
|
|
|
|
lib-y += wfopen_input.o
|
2006-11-25 14:44:13 +00:00
|
|
|
lib-y += xatonum.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += xconnect.o
|
|
|
|
lib-y += xfuncs.o
|
2008-04-09 00:33:23 +00:00
|
|
|
lib-y += xfuncs_printf.o
|
2008-04-01 14:47:57 +00:00
|
|
|
lib-y += xfunc_die.o
|
2006-11-24 14:54:27 +00:00
|
|
|
lib-y += xgetcwd.o
|
|
|
|
lib-y += xgethostbyname.o
|
|
|
|
lib-y += xreadlink.o
|
2006-10-05 10:17:08 +00:00
|
|
|
|
|
|
|
# conditionally compiled objects:
|
|
|
|
lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
|
|
|
|
lib-$(CONFIG_LOSETUP) += loop.o
|
|
|
|
lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
|
2007-07-20 21:28:41 +00:00
|
|
|
lib-$(CONFIG_PASSWD) += pw_encrypt.o crypt_make_salt.o update_passwd.o
|
|
|
|
lib-$(CONFIG_CHPASSWD) += pw_encrypt.o crypt_make_salt.o update_passwd.o
|
2007-05-08 23:23:35 +00:00
|
|
|
lib-$(CONFIG_CRYPTPW) += pw_encrypt.o crypt_make_salt.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_SULOGIN) += pw_encrypt.o
|
|
|
|
lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
|
|
|
|
lib-$(CONFIG_VLOCK) += correct_password.o
|
|
|
|
lib-$(CONFIG_SU) += correct_password.o
|
|
|
|
lib-$(CONFIG_LOGIN) += correct_password.o
|
|
|
|
lib-$(CONFIG_DF) += find_mount_point.o
|
2006-12-30 18:42:29 +00:00
|
|
|
lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
|
2007-03-11 22:16:02 +00:00
|
|
|
lib-$(CONFIG_SELINUX) += selinux_common.o
|
2008-02-15 02:27:19 +00:00
|
|
|
lib-$(CONFIG_HWCLOCK) += rtc.o
|
|
|
|
lib-$(CONFIG_RTCWAKE) += rtc.o
|
2008-03-19 23:15:26 +00:00
|
|
|
lib-$(CONFIG_FEATURE_CHECK_NAMES) += die_if_bad_username.o
|
2006-10-05 10:17:08 +00:00
|
|
|
|
|
|
|
# We shouldn't build xregcomp.c if we don't need it - this ensures we don't
|
|
|
|
# require regex.h to be in the include dir even if we don't need it thereby
|
|
|
|
# allowing us to build busybox even if uclibc regex support is disabled.
|
|
|
|
|
|
|
|
lib-$(CONFIG_AWK) += xregcomp.o
|
|
|
|
lib-$(CONFIG_SED) += xregcomp.o
|
2006-12-26 18:17:42 +00:00
|
|
|
lib-$(CONFIG_GREP) += xregcomp.o
|
2007-05-17 12:58:30 +00:00
|
|
|
lib-$(CONFIG_EXPR) += xregcomp.o
|
2006-12-26 18:17:42 +00:00
|
|
|
lib-$(CONFIG_MDEV) += xregcomp.o
|
2006-12-30 22:03:02 +00:00
|
|
|
lib-$(CONFIG_LESS) += xregcomp.o
|
2007-10-16 23:00:50 +00:00
|
|
|
lib-$(CONFIG_PGREP) += xregcomp.o
|
2007-10-17 09:59:01 +00:00
|
|
|
lib-$(CONFIG_PKILL) += xregcomp.o
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-$(CONFIG_DEVFSD) += xregcomp.o
|
2007-07-01 17:35:17 +00:00
|
|
|
lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o
|