3
0

Kbuild.src 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # Makefile for busybox
  2. #
  3. # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  4. #
  5. # Licensed under GPLv2 or later, see file LICENSE in this source tree.
  6. lib-y:= common.o
  7. COMMON_FILES:= \
  8. \
  9. data_skip.o \
  10. data_extract_all.o \
  11. data_extract_to_stdout.o \
  12. \
  13. unsafe_symlink_target.o \
  14. \
  15. filter_accept_all.o \
  16. filter_accept_list.o \
  17. filter_accept_reject_list.o \
  18. \
  19. header_skip.o \
  20. header_list.o \
  21. header_verbose_list.o \
  22. \
  23. seek_by_read.o \
  24. seek_by_jump.o \
  25. \
  26. data_align.o \
  27. find_list_entry.o \
  28. init_handle.o
  29. DPKG_FILES:= \
  30. unpack_ar_archive.o \
  31. filter_accept_list_reassign.o \
  32. unsafe_prefix.o \
  33. get_header_ar.o \
  34. get_header_tar.o \
  35. get_header_tar_gz.o \
  36. get_header_tar_bz2.o \
  37. get_header_tar_lzma.o \
  38. get_header_tar_xz.o \
  39. INSERT
  40. lib-$(CONFIG_DPKG) += $(DPKG_FILES)
  41. lib-$(CONFIG_DPKG_DEB) += $(DPKG_FILES)
  42. lib-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o
  43. lib-$(CONFIG_CPIO) += get_header_cpio.o
  44. lib-$(CONFIG_TAR) += get_header_tar.o unsafe_prefix.o
  45. lib-$(CONFIG_FEATURE_TAR_TO_COMMAND) += data_extract_to_command.o
  46. lib-$(CONFIG_LZOP) += lzo1x_1.o lzo1x_1o.o lzo1x_d.o
  47. lib-$(CONFIG_UNLZOP) += lzo1x_1.o lzo1x_1o.o lzo1x_d.o
  48. lib-$(CONFIG_LZOPCAT) += lzo1x_1.o lzo1x_1o.o lzo1x_d.o
  49. lib-$(CONFIG_LZOP_COMPR_HIGH) += lzo1x_9x.o
  50. # 'bzip2 -d', bunzip2 or bzcat selects FEATURE_BZIP2_DECOMPRESS
  51. lib-$(CONFIG_FEATURE_BZIP2_DECOMPRESS) += open_transformer.o decompress_bunzip2.o
  52. lib-$(CONFIG_FEATURE_UNZIP_BZIP2) += open_transformer.o decompress_bunzip2.o
  53. lib-$(CONFIG_UNLZMA) += open_transformer.o decompress_unlzma.o
  54. lib-$(CONFIG_LZCAT) += open_transformer.o decompress_unlzma.o
  55. lib-$(CONFIG_LZMA) += open_transformer.o decompress_unlzma.o
  56. lib-$(CONFIG_FEATURE_UNZIP_LZMA) += open_transformer.o decompress_unlzma.o
  57. lib-$(CONFIG_UNXZ) += open_transformer.o decompress_unxz.o
  58. lib-$(CONFIG_XZCAT) += open_transformer.o decompress_unxz.o
  59. lib-$(CONFIG_XZ) += open_transformer.o decompress_unxz.o
  60. lib-$(CONFIG_FEATURE_UNZIP_XZ) += open_transformer.o decompress_unxz.o
  61. # 'gzip -d', gunzip or zcat selects FEATURE_GZIP_DECOMPRESS
  62. lib-$(CONFIG_FEATURE_GZIP_DECOMPRESS) += open_transformer.o decompress_gunzip.o
  63. lib-$(CONFIG_UNCOMPRESS) += open_transformer.o decompress_uncompress.o
  64. lib-$(CONFIG_UNZIP) += open_transformer.o decompress_gunzip.o unsafe_prefix.o
  65. lib-$(CONFIG_RPM2CPIO) += open_transformer.o decompress_gunzip.o get_header_cpio.o
  66. lib-$(CONFIG_RPM) += open_transformer.o decompress_gunzip.o get_header_cpio.o
  67. lib-$(CONFIG_GZIP) += open_transformer.o
  68. lib-$(CONFIG_BZIP2) += open_transformer.o
  69. lib-$(CONFIG_LZOP) += open_transformer.o
  70. lib-$(CONFIG_MAN) += open_transformer.o
  71. lib-$(CONFIG_SETFONT) += open_transformer.o
  72. lib-$(CONFIG_FEATURE_2_4_MODULES) += open_transformer.o
  73. lib-$(CONFIG_MODINFO) += open_transformer.o
  74. lib-$(CONFIG_INSMOD) += open_transformer.o
  75. lib-$(CONFIG_DEPMOD) += open_transformer.o
  76. lib-$(CONFIG_RMMOD) += open_transformer.o
  77. lib-$(CONFIG_LSMOD) += open_transformer.o
  78. lib-$(CONFIG_MODPROBE) += open_transformer.o
  79. lib-$(CONFIG_MODPROBE_SMALL) += open_transformer.o
  80. lib-$(CONFIG_FEATURE_SEAMLESS_Z) += open_transformer.o decompress_uncompress.o
  81. lib-$(CONFIG_FEATURE_SEAMLESS_GZ) += open_transformer.o decompress_gunzip.o
  82. lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o
  83. lib-$(CONFIG_FEATURE_SEAMLESS_LZMA) += open_transformer.o decompress_unlzma.o
  84. lib-$(CONFIG_FEATURE_SEAMLESS_XZ) += open_transformer.o decompress_unxz.o
  85. lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += open_transformer.o decompress_bunzip2.o
  86. lib-$(CONFIG_FEATURE_COMPRESS_BBCONFIG) += open_transformer.o decompress_bunzip2.o
  87. lib-$(CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS) += open_transformer.o decompress_bunzip2.o
  88. ifneq ($(lib-y),)
  89. lib-y += $(COMMON_FILES)
  90. endif