Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 1 | # 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 Vlasenko | 0b35470 | 2006-11-24 14:54:27 +0000 | [diff] [blame] | 7 | lib-y:= |
| 8 | |
| 9 | lib-y += ask_confirmation.o |
| 10 | lib-y += bb_askpass.o |
| 11 | lib-y += bb_do_delay.o |
| 12 | lib-y += bb_pwd.o |
| 13 | lib-y += change_identity.o |
| 14 | lib-y += chomp.o |
| 15 | lib-y += compare_string_array.o |
| 16 | lib-y += concat_path_file.o |
| 17 | lib-y += concat_subpath_file.o |
| 18 | lib-y += copy_file.o |
| 19 | lib-y += copyfd.o |
| 20 | lib-y += crc32.o |
| 21 | lib-y += create_icmp6_socket.o |
| 22 | lib-y += create_icmp_socket.o |
| 23 | lib-y += default_error_retval.o |
| 24 | lib-y += device_open.o |
| 25 | lib-y += dump.o |
| 26 | lib-y += error_msg.o |
| 27 | lib-y += error_msg_and_die.o |
| 28 | lib-y += execable.o |
| 29 | lib-y += fclose_nonstdin.o |
| 30 | lib-y += fflush_stdout_and_exit.o |
| 31 | lib-y += fgets_str.o |
| 32 | lib-y += find_pid_by_name.o |
| 33 | lib-y += find_root_device.o |
| 34 | lib-y += full_write.o |
| 35 | lib-y += get_console.o |
| 36 | lib-y += get_last_path_component.o |
| 37 | lib-y += get_line_from_file.o |
| 38 | lib-y += getopt32.o |
| 39 | lib-y += herror_msg.o |
| 40 | lib-y += herror_msg_and_die.o |
| 41 | lib-y += human_readable.o |
| 42 | lib-y += inet_common.o |
| 43 | lib-y += info_msg.o |
| 44 | lib-y += inode_hash.o |
| 45 | lib-y += isdirectory.o |
| 46 | lib-y += kernel_version.o |
| 47 | lib-y += last_char_is.o |
| 48 | lib-y += llist.o |
| 49 | lib-y += login.o |
| 50 | lib-y += make_directory.o |
| 51 | lib-y += makedev.o |
| 52 | lib-y += md5.o |
| 53 | lib-y += messages.o |
| 54 | lib-y += mode_string.o |
| 55 | lib-y += mtab_file.o |
| 56 | lib-y += obscure.o |
| 57 | lib-y += parse_mode.o |
| 58 | lib-y += perror_msg.o |
| 59 | lib-y += perror_msg_and_die.o |
| 60 | lib-y += perror_nomsg.o |
| 61 | lib-y += perror_nomsg_and_die.o |
| 62 | lib-y += process_escape_sequence.o |
| 63 | lib-y += procps.o |
| 64 | lib-y += read.o |
| 65 | lib-y += recursive_action.o |
| 66 | lib-y += remove_file.o |
| 67 | lib-y += restricted_shell.o |
| 68 | lib-y += run_parts.o |
| 69 | lib-y += run_shell.o |
| 70 | lib-y += safe_strncpy.o |
| 71 | lib-y += safe_strtol.o |
| 72 | lib-y += safe_write.o |
| 73 | lib-y += setup_environment.o |
| 74 | lib-y += sha1.o |
| 75 | lib-y += simplify_path.o |
| 76 | lib-y += skip_whitespace.o |
| 77 | lib-y += speed_table.o |
| 78 | lib-y += trim.o |
| 79 | lib-y += u_signal_names.o |
| 80 | lib-y += uuencode.o |
| 81 | lib-y += vdprintf.o |
| 82 | lib-y += verror_msg.o |
| 83 | lib-y += vfork_daemon_rexec.o |
| 84 | lib-y += vherror_msg.o |
| 85 | lib-y += vinfo_msg.o |
| 86 | lib-y += vperror_msg.o |
| 87 | lib-y += warn_ignoring_args.o |
| 88 | lib-y += wfopen.o |
| 89 | lib-y += wfopen_input.o |
Denis Vlasenko | ed836cd | 2006-11-25 14:44:13 +0000 | [diff] [blame^] | 90 | lib-y += xatonum.o |
Denis Vlasenko | 0b35470 | 2006-11-24 14:54:27 +0000 | [diff] [blame] | 91 | lib-y += xconnect.o |
| 92 | lib-y += xfuncs.o |
| 93 | lib-y += xgetcwd.o |
| 94 | lib-y += xgethostbyname.o |
| 95 | lib-y += xgethostbyname2.o |
| 96 | lib-y += xreadlink.o |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 97 | |
| 98 | # conditionally compiled objects: |
| 99 | lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o |
| 100 | lib-$(CONFIG_LOSETUP) += loop.o |
| 101 | lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o |
| 102 | lib-$(CONFIG_PASSWD) += pw_encrypt.o |
| 103 | lib-$(CONFIG_SULOGIN) += pw_encrypt.o |
| 104 | lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o |
| 105 | lib-$(CONFIG_VLOCK) += correct_password.o |
| 106 | lib-$(CONFIG_SU) += correct_password.o |
| 107 | lib-$(CONFIG_LOGIN) += correct_password.o |
| 108 | lib-$(CONFIG_DF) += find_mount_point.o |
| 109 | lib-$(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 | |
| 115 | lib-$(CONFIG_AWK) += xregcomp.o |
| 116 | lib-$(CONFIG_SED) += xregcomp.o |
| 117 | lib-$(CONFIG_LESS) += xregcomp.o |
| 118 | lib-$(CONFIG_DEVFSD) += xregcomp.o |