Kbuild 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Makefile for busybox
  2. #
  3. # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  4. #
  5. # Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  6. lib-y:= \
  7. \
  8. data_skip.o \
  9. data_extract_all.o \
  10. data_extract_to_stdout.o \
  11. data_extract_to_buffer.o \
  12. \
  13. filter_accept_all.o \
  14. filter_accept_list.o \
  15. filter_accept_reject_list.o \
  16. \
  17. header_skip.o \
  18. header_list.o \
  19. header_verbose_list.o \
  20. \
  21. archive_xread_all_eof.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. get_header_ar.o \
  31. unpack_ar_archive.o \
  32. get_header_tar.o \
  33. filter_accept_list_reassign.o
  34. lib-$(CONFIG_RPM) += open_transformer.o
  35. lib-$(CONFIG_FEATURE_TAR_BZIP2) += open_transformer.o
  36. lib-$(CONFIG_FEATURE_TAR_LZMA) += open_transformer.o
  37. lib-$(CONFIG_FEATURE_TAR_GZIP) += open_transformer.o
  38. lib-$(CONFIG_FEATURE_TAR_COMPRESS) += open_transformer.o
  39. lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += open_transformer.o
  40. lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += open_transformer.o
  41. lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += open_transformer.o
  42. lib-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o
  43. lib-$(CONFIG_BUNZIP2) += decompress_bunzip2.o
  44. lib-$(CONFIG_UNLZMA) += decompress_unlzma.o
  45. lib-$(CONFIG_CPIO) += get_header_cpio.o
  46. lib-$(CONFIG_DPKG) += $(DPKG_FILES)
  47. lib-$(CONFIG_DPKG_DEB) += $(DPKG_FILES)
  48. lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += decompress_unzip.o get_header_tar_gz.o
  49. lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o
  50. lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
  51. lib-$(CONFIG_GUNZIP) += decompress_unzip.o
  52. lib-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o
  53. lib-$(CONFIG_RPM2CPIO) += decompress_unzip.o get_header_cpio.o
  54. lib-$(CONFIG_RPM) += decompress_unzip.o get_header_cpio.o
  55. lib-$(CONFIG_FEATURE_RPM_BZ2) += decompress_bunzip2.o
  56. lib-$(CONFIG_TAR) += get_header_tar.o
  57. lib-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o
  58. lib-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
  59. lib-$(CONFIG_FEATURE_TAR_GZIP) += decompress_unzip.o get_header_tar_gz.o
  60. lib-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o
  61. lib-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o
  62. lib-$(CONFIG_UNZIP) += decompress_unzip.o
  63. lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o