3
0

Kbuild.src 5.9 KB

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