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