Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 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 | |
| 7 | lib-y:= \ |
| 8 | \ |
| 9 | data_skip.o \ |
| 10 | data_extract_all.o \ |
| 11 | data_extract_to_stdout.o \ |
| 12 | data_extract_to_buffer.o \ |
| 13 | \ |
| 14 | filter_accept_all.o \ |
| 15 | filter_accept_list.o \ |
| 16 | filter_accept_reject_list.o \ |
| 17 | \ |
| 18 | header_skip.o \ |
| 19 | header_list.o \ |
| 20 | header_verbose_list.o \ |
| 21 | \ |
| 22 | archive_xread_all_eof.o \ |
| 23 | \ |
Denis Vlasenko | 1385899 | 2006-10-08 12:49:22 +0000 | [diff] [blame] | 24 | seek_by_read.o \ |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 25 | seek_by_jump.o \ |
| 26 | \ |
| 27 | data_align.o \ |
| 28 | find_list_entry.o \ |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 29 | init_handle.o |
| 30 | |
| 31 | GUNZIP_FILES:= check_header_gzip.o decompress_unzip.o |
| 32 | DPKG_FILES:= \ |
| 33 | get_header_ar.o \ |
| 34 | unpack_ar_archive.o \ |
| 35 | get_header_tar.o \ |
| 36 | filter_accept_list_reassign.o |
| 37 | |
Denis Vlasenko | 335b63d | 2007-04-10 21:38:30 +0000 | [diff] [blame] | 38 | # open_transformer uses fork(). Compile it only if absolutely necessary |
Denis Vlasenko | 53091ec | 2007-03-26 13:35:09 +0000 | [diff] [blame] | 39 | lib-$(CONFIG_RPM) += open_transformer.o |
| 40 | lib-$(CONFIG_FEATURE_TAR_BZIP2) += open_transformer.o |
| 41 | lib-$(CONFIG_FEATURE_TAR_LZMA) += open_transformer.o |
| 42 | lib-$(CONFIG_FEATURE_TAR_GZIP) += open_transformer.o |
| 43 | lib-$(CONFIG_FEATURE_TAR_COMPRESS) += open_transformer.o |
Denis Vlasenko | 335b63d | 2007-04-10 21:38:30 +0000 | [diff] [blame] | 44 | lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += open_transformer.o |
| 45 | lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += open_transformer.o |
| 46 | lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += open_transformer.o |
Denis Vlasenko | 53091ec | 2007-03-26 13:35:09 +0000 | [diff] [blame] | 47 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 48 | lib-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o |
| 49 | lib-$(CONFIG_BUNZIP2) += decompress_bunzip2.o |
| 50 | lib-$(CONFIG_UNLZMA) += decompress_unlzma.o |
| 51 | lib-$(CONFIG_CPIO) += get_header_cpio.o |
| 52 | lib-$(CONFIG_DPKG) += $(DPKG_FILES) |
| 53 | lib-$(CONFIG_DPKG_DEB) += $(DPKG_FILES) |
| 54 | lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += $(GUNZIP_FILES) get_header_tar_gz.o |
| 55 | lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o |
| 56 | lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o |
| 57 | lib-$(CONFIG_GUNZIP) += $(GUNZIP_FILES) |
| 58 | lib-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o |
| 59 | lib-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio.o |
| 60 | lib-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o |
| 61 | lib-$(CONFIG_TAR) += get_header_tar.o |
| 62 | lib-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o |
| 63 | lib-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o |
| 64 | lib-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o |
| 65 | lib-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o |
| 66 | lib-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o |
| 67 | lib-$(CONFIG_UNZIP) += $(GUNZIP_FILES) |
| 68 | lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o |