blob: 468a7e82a57f6e5f0f7249b43ad831c8786938ce [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\
Denis Vlasenko13858992006-10-08 12:49:22 +000022 seek_by_read.o \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023 seek_by_jump.o \
24\
25 data_align.o \
26 find_list_entry.o \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000027 init_handle.o
28
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000029DPKG_FILES:= \
30 get_header_ar.o \
31 unpack_ar_archive.o \
32 get_header_tar.o \
33 filter_accept_list_reassign.o
34
Denis Vlasenko53091ec2007-03-26 13:35:09 +000035lib-$(CONFIG_RPM) += open_transformer.o
Denis Vlasenko211f7f82007-09-05 11:48:32 +000036lib-$(CONFIG_FEATURE_TAR_BZIP2) += open_transformer.o
37lib-$(CONFIG_FEATURE_TAR_LZMA) += open_transformer.o
38lib-$(CONFIG_FEATURE_TAR_GZIP) += open_transformer.o
39lib-$(CONFIG_FEATURE_TAR_COMPRESS) += open_transformer.o
40lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += open_transformer.o
41lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += open_transformer.o
42lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += open_transformer.o
Denis Vlasenko53091ec2007-03-26 13:35:09 +000043
Denis Vlasenkob6052722008-07-10 17:43:01 +000044lib-$(CONFIG_FEATURE_MODPROBE_SMALL_ZIPPED) += open_transformer.o decompress_unzip.o decompress_bunzip2.o
45
Denis Vlasenko211f7f82007-09-05 11:48:32 +000046lib-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o
47lib-$(CONFIG_BUNZIP2) += decompress_bunzip2.o
48lib-$(CONFIG_UNLZMA) += decompress_unlzma.o
49lib-$(CONFIG_CPIO) += get_header_cpio.o
50lib-$(CONFIG_DPKG) += $(DPKG_FILES)
51lib-$(CONFIG_DPKG_DEB) += $(DPKG_FILES)
Denis Vlasenko77f1ec12007-10-13 03:36:03 +000052lib-$(CONFIG_FEATURE_DEB_TAR_GZ) += decompress_unzip.o get_header_tar_gz.o
Denis Vlasenko211f7f82007-09-05 11:48:32 +000053lib-$(CONFIG_FEATURE_DEB_TAR_BZ2) += decompress_bunzip2.o get_header_tar_bz2.o
54lib-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
Denis Vlasenko77f1ec12007-10-13 03:36:03 +000055lib-$(CONFIG_GUNZIP) += decompress_unzip.o
Denis Vlasenko211f7f82007-09-05 11:48:32 +000056lib-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o
Denis Vlasenko77f1ec12007-10-13 03:36:03 +000057lib-$(CONFIG_RPM2CPIO) += decompress_unzip.o get_header_cpio.o
58lib-$(CONFIG_RPM) += decompress_unzip.o get_header_cpio.o
Denis Vlasenko211f7f82007-09-05 11:48:32 +000059lib-$(CONFIG_FEATURE_RPM_BZ2) += decompress_bunzip2.o
60lib-$(CONFIG_TAR) += get_header_tar.o
61lib-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o
62lib-$(CONFIG_FEATURE_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o
Denis Vlasenko77f1ec12007-10-13 03:36:03 +000063lib-$(CONFIG_FEATURE_TAR_GZIP) += decompress_unzip.o get_header_tar_gz.o
Denis Vlasenko211f7f82007-09-05 11:48:32 +000064lib-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o
65lib-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o
Denis Vlasenko77f1ec12007-10-13 03:36:03 +000066lib-$(CONFIG_UNZIP) += decompress_unzip.o
Denis Vlasenko211f7f82007-09-05 11:48:32 +000067lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o