diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-10-28 10:44:58 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-10-28 10:44:58 +0000 |
commit | e81fc5fb3001da60b30a7cc793b80ab082d6ef6d (patch) | |
tree | 026d0b6856cea7b3edc84758a9547bf127074047 | |
parent | 5fa4db29f78c9817c34b215c03e80f6a34b83ac9 (diff) | |
download | busybox-w32-e81fc5fb3001da60b30a7cc793b80ab082d6ef6d.tar.gz busybox-w32-e81fc5fb3001da60b30a7cc793b80ab082d6ef6d.tar.bz2 busybox-w32-e81fc5fb3001da60b30a7cc793b80ab082d6ef6d.zip |
Conditionally compile some files.
This hides a bug related to the new bunzip code in the tar and dpkg[-deb]
applets.
It will also reduce compile time a little as some unused files wont be
compiled.
-rw-r--r-- | archival/libunarchive/Makefile.in | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/archival/libunarchive/Makefile.in b/archival/libunarchive/Makefile.in index 2b32aaa5d..2c04ceff9 100644 --- a/archival/libunarchive/Makefile.in +++ b/archival/libunarchive/Makefile.in | |||
@@ -31,15 +31,8 @@ LIBUNARCHIVE-y:= \ | |||
31 | \ | 31 | \ |
32 | filter_accept_all.o \ | 32 | filter_accept_all.o \ |
33 | filter_accept_list.o \ | 33 | filter_accept_list.o \ |
34 | filter_accept_list_reassign.o \ | ||
35 | filter_accept_reject_list.o \ | 34 | filter_accept_reject_list.o \ |
36 | \ | 35 | \ |
37 | get_header_ar.o \ | ||
38 | get_header_cpio.o \ | ||
39 | get_header_tar.o \ | ||
40 | get_header_tar_bz2.o \ | ||
41 | get_header_tar_gz.o \ | ||
42 | \ | ||
43 | header_skip.o \ | 36 | header_skip.o \ |
44 | header_list.o \ | 37 | header_list.o \ |
45 | header_verbose_list.o \ | 38 | header_verbose_list.o \ |
@@ -54,23 +47,33 @@ LIBUNARCHIVE-y:= \ | |||
54 | \ | 47 | \ |
55 | archive_copy_file.o \ | 48 | archive_copy_file.o \ |
56 | \ | 49 | \ |
57 | check_header_gzip.o \ | ||
58 | data_align.o \ | 50 | data_align.o \ |
59 | decompress_bunzip2.o \ | ||
60 | find_list_entry.o \ | 51 | find_list_entry.o \ |
61 | init_handle.o \ | 52 | init_handle.o |
62 | uncompress.o \ | 53 | |
54 | GUNZIP_FILES:= check_header_gzip.o unzip.o | ||
55 | DPKG_FILES:= \ | ||
56 | get_header_ar.o \ | ||
63 | unpack_ar_archive.o \ | 57 | unpack_ar_archive.o \ |
64 | unzip.o | 58 | get_header_tar.o \ |
59 | filter_accept_list_reassign.o | ||
65 | 60 | ||
66 | LIBUNARCHIVE-$(CONFIG_DPKG) += | 61 | LIBUNARCHIVE-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o |
67 | LIBUNARCHIVE-$(CONFIG_DPKG_DEB) += | 62 | LIBUNARCHIVE-$(CONFIG_BUNZIP2) += decompress_bunzip2.o |
68 | LIBUNARCHIVE-$(CONFIG_AR) += | 63 | LIBUNARCHIVE-$(CONFIG_CPIO) += get_header_cpio.o |
69 | LIBUNARCHIVE-$(CONFIG_CPIO) += | 64 | LIBUNARCHIVE-$(CONFIG_DPKG) += $(DPKG_FILES) |
70 | LIBUNARCHIVE-$(CONFIG_GUNZIP) += | 65 | LIBUNARCHIVE-$(CONFIG_DPKG_DEB) += $(DPKG_FILES) |
71 | LIBUNARCHIVE-$(CONFIG_RPM2CPIO) += | 66 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_GZ) += $(GUNZIP_FILES) get_header_tar_gz.o |
72 | LIBUNARCHIVE-$(CONFIG_TAR) += | 67 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o |
73 | LIBUNARCHIVE-$(CONFIG_UNZIP) += | 68 | LIBUNARCHIVE-$(CONFIG_GUNZIP) += $(GUNZIP_FILES) |
69 | LIBUNARCHIVE-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += uncompress.o | ||
70 | LIBUNARCHIVE-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio.o | ||
71 | LIBUNARCHIVE-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o | ||
72 | LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar.o | ||
73 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_BZ2) += get_header_tar_bz2.o | ||
74 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o | ||
75 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += uncompress.o | ||
76 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) | ||
74 | 77 | ||
75 | libraries-y+=$(LIBUNARCHIVE_DIR)$(LIBUNARCHIVE_AR) | 78 | libraries-y+=$(LIBUNARCHIVE_DIR)$(LIBUNARCHIVE_AR) |
76 | 79 | ||