source: MondoRescue/branches/stable/mindi-busybox/archival/libunarchive/Makefile.in @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 13 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 2.7 KB
Line 
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
7LIBUNARCHIVE_AR:=libunarchive.a
8ifndef $(LIBUNARCHIVE_DIR)
9LIBUNARCHIVE_DIR:=$(top_builddir)/archival/libunarchive
10endif
11srcdir=$(top_srcdir)/archival/libunarchive
12
13LIBUNARCHIVE-obj:=$(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR)
14
15libraries-y+=$(LIBUNARCHIVE-obj)
16
17LIBUNARCHIVE-y:= \
18\
19    data_skip.o \
20    data_extract_all.o \
21    data_extract_to_stdout.o \
22    data_extract_to_buffer.o \
23\
24    filter_accept_all.o \
25    filter_accept_list.o \
26    filter_accept_reject_list.o \
27\
28    header_skip.o \
29    header_list.o \
30    header_verbose_list.o \
31\
32    archive_xread_all.o \
33    archive_xread_all_eof.o \
34\
35    seek_by_char.o \
36    seek_by_jump.o \
37\
38    data_align.o \
39    find_list_entry.o \
40    open_transformer.o \
41    init_handle.o
42
43GUNZIP_FILES:= check_header_gzip.o decompress_unzip.o
44DPKG_FILES:= \
45    get_header_ar.o \
46    unpack_ar_archive.o \
47    get_header_tar.o \
48    filter_accept_list_reassign.o
49
50LIBUNARCHIVE-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o
51LIBUNARCHIVE-$(CONFIG_BUNZIP2) += decompress_bunzip2.o
52LIBUNARCHIVE-$(CONFIG_UNLZMA) += decompress_unlzma.o
53LIBUNARCHIVE-$(CONFIG_CPIO) += get_header_cpio.o
54LIBUNARCHIVE-$(CONFIG_DPKG) += $(DPKG_FILES)
55LIBUNARCHIVE-$(CONFIG_DPKG_DEB) += $(DPKG_FILES)
56LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_GZ) += $(GUNZIP_FILES) get_header_tar_gz.o
57LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o
58LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
59LIBUNARCHIVE-$(CONFIG_GUNZIP) += $(GUNZIP_FILES)
60LIBUNARCHIVE-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o
61LIBUNARCHIVE-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio.o
62LIBUNARCHIVE-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o
63LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar.o
64LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o
65LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
66LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o
67LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o
68LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o
69LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES)
70LIBUNARCHIVE-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o
71
72
73LIBUNARCHIVE-y:=$(sort $(LIBUNARCHIVE-y))
74
75LIBUNARCHIVE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBUNARCHIVE-y)))
76LIBUNARCHIVE_SRC-a:=$(wildcard $(srcdir)/*.c)
77LIBRARY_SRC-y+=$(LIBUNARCHIVE_SRC-y)
78LIBRARY_SRC-a+=$(LIBUNARCHIVE_SRC-a)
79
80$(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR): $(patsubst %,$(LIBUNARCHIVE_DIR)/%,$(LIBUNARCHIVE-y))
81    $(do_ar)
82
83$(LIBUNARCHIVE_DIR)/%.o: $(srcdir)/%.c
84    $(compile.c)
Note: See TracBrowser for help on using the repository browser.