blob: 4e14541843138612bbf597f9f36d32a5d59292d0 [file] [log] [blame]
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001# 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
7lib-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 Vlasenko13858992006-10-08 12:49:22 +000024 seek_by_read.o \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000025 seek_by_jump.o \
26\
27 data_align.o \
28 find_list_entry.o \
29 open_transformer.o \
30 init_handle.o
31
32GUNZIP_FILES:= check_header_gzip.o decompress_unzip.o
33DPKG_FILES:= \
34 get_header_ar.o \
35 unpack_ar_archive.o \
36 get_header_tar.o \
37 filter_accept_list_reassign.o
38
39lib-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o
40lib-$(CONFIG_BUNZIP2) += decompress_bunzip2.o
41lib-$(CONFIG_UNLZMA) += decompress_unlzma.o
42lib-$(CONFIG_CPIO) += get_header_cpio.o
43lib-$(CONFIG_DPKG) += $(DPKG_FILES)
44lib-$(CONFIG_DPKG_DEB) += $(DPKG_FILES)
45lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += $(GUNZIP_FILES) get_header_tar_gz.o
46lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o
47lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
48lib-$(CONFIG_GUNZIP) += $(GUNZIP_FILES)
49lib-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o
50lib-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio.o
51lib-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o
52lib-$(CONFIG_TAR) += get_header_tar.o
53lib-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o
54lib-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
55lib-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o
56lib-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o
57lib-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o
58lib-$(CONFIG_UNZIP) += $(GUNZIP_FILES)
59lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o