diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-13 19:04:00 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-13 19:04:00 +0000 |
commit | df10094870c28cc0c6c5577c9aa03b8ede9cb8a6 (patch) | |
tree | 49493696039b285aa751a5bc884fc70c9c85e878 /archival/libunarchive | |
parent | c5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c (diff) | |
download | busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.gz busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.bz2 busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.zip |
- revert back to r14406
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/Makefile.in | 100 |
1 files changed, 53 insertions, 47 deletions
diff --git a/archival/libunarchive/Makefile.in b/archival/libunarchive/Makefile.in index d77aff736..9bb91563d 100644 --- a/archival/libunarchive/Makefile.in +++ b/archival/libunarchive/Makefile.in | |||
@@ -4,74 +4,80 @@ | |||
4 | # | 4 | # |
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
6 | 6 | ||
7 | srcdir:=$(top_srcdir)/archival/libunarchive | 7 | LIBUNARCHIVE_AR:=libunarchive.a |
8 | objdir:=$(top_builddir)/archival/libunarchive | 8 | ifndef $(LIBUNARCHIVE_DIR) |
9 | LIBUNARCHIVE_DIR:=$(top_builddir)/archival/libunarchive | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/archival/libunarchive | ||
12 | |||
13 | LIBUNARCHIVE-obj:=$(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR) | ||
14 | |||
15 | libraries-y+=$(LIBUNARCHIVE-obj) | ||
9 | 16 | ||
10 | LIBUNARCHIVE-y:= \ | 17 | LIBUNARCHIVE-y:= \ |
11 | \ | 18 | \ |
12 | data_skip \ | 19 | data_skip.o \ |
13 | data_extract_all \ | 20 | data_extract_all.o \ |
14 | data_extract_to_stdout \ | 21 | data_extract_to_stdout.o \ |
15 | data_extract_to_buffer \ | 22 | data_extract_to_buffer.o \ |
16 | \ | 23 | \ |
17 | filter_accept_all \ | 24 | filter_accept_all.o \ |
18 | filter_accept_list \ | 25 | filter_accept_list.o \ |
19 | filter_accept_reject_list \ | 26 | filter_accept_reject_list.o \ |
20 | \ | 27 | \ |
21 | header_skip \ | 28 | header_skip.o \ |
22 | header_list \ | 29 | header_list.o \ |
23 | header_verbose_list \ | 30 | header_verbose_list.o \ |
24 | \ | 31 | \ |
25 | archive_xread_all \ | 32 | archive_xread_all.o \ |
26 | archive_xread_all_eof \ | 33 | archive_xread_all_eof.o \ |
27 | \ | 34 | \ |
28 | seek_by_char \ | 35 | seek_by_char.o \ |
29 | seek_by_jump \ | 36 | seek_by_jump.o \ |
30 | \ | 37 | \ |
31 | data_align \ | 38 | data_align.o \ |
32 | find_list_entry \ | 39 | find_list_entry.o \ |
33 | open_transformer \ | 40 | open_transformer.o \ |
34 | init_handle | 41 | init_handle.o |
35 | 42 | ||
36 | GUNZIP_FILES:= check_header_gzip decompress_unzip | 43 | GUNZIP_FILES:= check_header_gzip.o decompress_unzip.o |
37 | DPKG_FILES:= \ | 44 | DPKG_FILES:= \ |
38 | get_header_ar \ | 45 | get_header_ar.o \ |
39 | unpack_ar_archive \ | 46 | unpack_ar_archive.o \ |
40 | get_header_tar \ | 47 | get_header_tar.o \ |
41 | filter_accept_list_reassign | 48 | filter_accept_list_reassign.o |
42 | 49 | ||
43 | LIBUNARCHIVE-$(CONFIG_AR) += get_header_ar unpack_ar_archive | 50 | LIBUNARCHIVE-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o |
44 | LIBUNARCHIVE-$(CONFIG_BUNZIP2) += decompress_bunzip2 | 51 | LIBUNARCHIVE-$(CONFIG_BUNZIP2) += decompress_bunzip2.o |
45 | LIBUNARCHIVE-$(CONFIG_UNLZMA) += decompress_unlzma | 52 | LIBUNARCHIVE-$(CONFIG_UNLZMA) += decompress_unlzma.o |
46 | LIBUNARCHIVE-$(CONFIG_CPIO) += get_header_cpio | 53 | LIBUNARCHIVE-$(CONFIG_CPIO) += get_header_cpio.o |
47 | LIBUNARCHIVE-$(CONFIG_DPKG) += $(DPKG_FILES) | 54 | LIBUNARCHIVE-$(CONFIG_DPKG) += $(DPKG_FILES) |
48 | LIBUNARCHIVE-$(CONFIG_DPKG_DEB) += $(DPKG_FILES) | 55 | LIBUNARCHIVE-$(CONFIG_DPKG_DEB) += $(DPKG_FILES) |
49 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_GZ) += $(GUNZIP_FILES) get_header_tar_gz | 56 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_GZ) += $(GUNZIP_FILES) get_header_tar_gz.o |
50 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2 get_header_tar_bz2 | 57 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o |
51 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma get_header_tar_lzma | 58 | LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o |
52 | LIBUNARCHIVE-$(CONFIG_GUNZIP) += $(GUNZIP_FILES) | 59 | LIBUNARCHIVE-$(CONFIG_GUNZIP) += $(GUNZIP_FILES) |
53 | LIBUNARCHIVE-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress | 60 | LIBUNARCHIVE-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o |
54 | LIBUNARCHIVE-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio | 61 | LIBUNARCHIVE-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio.o |
55 | LIBUNARCHIVE-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio | 62 | LIBUNARCHIVE-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o |
56 | LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar | 63 | LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar.o |
57 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2 get_header_tar_bz2 | 64 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o |
58 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma get_header_tar_lzma | 65 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o |
59 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz | 66 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o |
60 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress | 67 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o |
61 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress | 68 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o |
62 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) | 69 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) |
63 | 70 | ||
64 | 71 | ||
65 | LIBUNARCHIVE-y:=$(sort $(LIBUNARCHIVE-y)) | 72 | LIBUNARCHIVE-y:=$(sort $(LIBUNARCHIVE-y)) |
66 | 73 | ||
67 | LIBUNARCHIVE_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBUNARCHIVE-y)) | 74 | LIBUNARCHIVE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBUNARCHIVE-y))) |
68 | LIBUNARCHIVE_SRC-a:=$(wildcard $(srcdir)/*.c) | 75 | LIBUNARCHIVE_SRC-a:=$(wildcard $(srcdir)/*.c) |
69 | LIBRARY_SRC-y+=$(LIBUNARCHIVE_SRC-y) | 76 | LIBRARY_SRC-y+=$(LIBUNARCHIVE_SRC-y) |
70 | LIBRARY_SRC-a+=$(LIBUNARCHIVE_SRC-a) | 77 | LIBRARY_SRC-a+=$(LIBUNARCHIVE_SRC-a) |
71 | 78 | ||
72 | archival_libunarchive_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBUNARCHIVE-y)) | 79 | $(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR): $(patsubst %,$(LIBUNARCHIVE_DIR)/%,$(LIBUNARCHIVE-y)) |
73 | 80 | $(do_ar) | |
74 | $(archival_libunarchive_OBJ$(os)): $(objdir)/%$(os): $(srcdir)/%.c | ||
75 | $(objdir)/libunarchive.a: $(archival_libunarchive_OBJ$(os)) | ||
76 | libraries-y:=$(libraries-y) $(objdir)/libunarchive.a | ||
77 | 81 | ||
82 | $(LIBUNARCHIVE_DIR)/%.o: $(srcdir)/%.c | ||
83 | $(compile.c) | ||