source: branches/stable/mindi-busybox/archival/Makefile.in @ 902

Last change on this file since 902 was 902, checked in by Bruno Cornec, 14 years ago

mindi-busybox now uses busybox 1.2.2 (Thanks Rob for that last update and good lucck for your future projects).

File size: 1.1 KB
Line 
1# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7ARCHIVAL_AR:=archival.a
8ifndef $(ARCHIVAL_DIR)
9ARCHIVAL_DIR:=$(top_builddir)/archival/
10endif
11srcdir=$(top_srcdir)/archival
12
13ARCHIVAL-y:=
14ARCHIVAL-$(CONFIG_AR)       += ar.o
15ARCHIVAL-$(CONFIG_BUNZIP2)  += bunzip2.o
16ARCHIVAL-$(CONFIG_UNLZMA)   += unlzma.o
17ARCHIVAL-$(CONFIG_CPIO)     += cpio.o
18ARCHIVAL-$(CONFIG_DPKG)     += dpkg.o
19ARCHIVAL-$(CONFIG_DPKG_DEB) += dpkg_deb.o
20ARCHIVAL-$(CONFIG_GUNZIP)   += gunzip.o
21ARCHIVAL-$(CONFIG_GZIP)     += gzip.o
22ARCHIVAL-$(CONFIG_RPM2CPIO) += rpm2cpio.o
23ARCHIVAL-$(CONFIG_RPM)      += rpm.o
24ARCHIVAL-$(CONFIG_TAR)      += tar.o
25ARCHIVAL-$(CONFIG_UNCOMPRESS)   += uncompress.o
26ARCHIVAL-$(CONFIG_UNZIP)    += unzip.o
27
28ifneq ($(strip $(ARCHIVAL-y)),)
29libraries-y+=$(ARCHIVAL_DIR)$(ARCHIVAL_AR)
30endif
31
32ARCHIVAL_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(ARCHIVAL-y))
33ARCHIVAL_SRC-a:=$(wildcard $(srcdir)/*.c)
34APPLET_SRC-y+=$(ARCHIVAL_SRC-y)
35APPLET_SRC-a+=$(ARCHIVAL_SRC-a)
36
37$(ARCHIVAL_DIR)$(ARCHIVAL_AR): $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y))
38    $(do_ar)
39
40$(ARCHIVAL_DIR)%.o: $(srcdir)/%.c
41    $(compile.c)
Note: See TracBrowser for help on using the repository browser.