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

Last change on this file since 821 was 821, checked in by Bruno Cornec, 14 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: 1.2 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_APT_GET)  +=
15ARCHIVAL-$(CONFIG_AR)       += ar.o
16ARCHIVAL-$(CONFIG_BUNZIP2)  += bunzip2.o
17ARCHIVAL-$(CONFIG_UNLZMA)   += unlzma.o
18ARCHIVAL-$(CONFIG_CPIO)     += cpio.o
19ARCHIVAL-$(CONFIG_DPKG)     += dpkg.o
20ARCHIVAL-$(CONFIG_DPKG_DEB) += dpkg_deb.o
21ARCHIVAL-$(CONFIG_GUNZIP)   += gunzip.o
22ARCHIVAL-$(CONFIG_GZIP)     += gzip.o
23ARCHIVAL-$(CONFIG_RPM2CPIO) += rpm2cpio.o
24ARCHIVAL-$(CONFIG_RPM)      += rpm.o
25ARCHIVAL-$(CONFIG_TAR)      += tar.o
26ARCHIVAL-$(CONFIG_UNCOMPRESS)   += uncompress.o
27ARCHIVAL-$(CONFIG_UNZIP)    += unzip.o
28
29ifneq ($(strip $(ARCHIVAL-y)),)
30libraries-y+=$(ARCHIVAL_DIR)$(ARCHIVAL_AR)
31endif
32
33ARCHIVAL_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(ARCHIVAL-y))
34ARCHIVAL_SRC-a:=$(wildcard $(srcdir)/*.c)
35APPLET_SRC-y+=$(ARCHIVAL_SRC-y)
36APPLET_SRC-a+=$(ARCHIVAL_SRC-a)
37
38$(ARCHIVAL_DIR)$(ARCHIVAL_AR): $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y))
39    $(do_ar)
40
41$(ARCHIVAL_DIR)%.o: $(srcdir)/%.c
42    $(compile.c)
Note: See TracBrowser for help on using the repository browser.