summaryrefslogtreecommitdiff
path: root/archival/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'archival/Makefile.in')
-rw-r--r--archival/Makefile.in16
1 files changed, 2 insertions, 14 deletions
diff --git a/archival/Makefile.in b/archival/Makefile.in
index ee284ad..6a2979e 100644
--- a/archival/Makefile.in
+++ b/archival/Makefile.in
@@ -4,14 +4,9 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-ARCHIVAL_AR:=archival.a
-ifndef $(ARCHIVAL_DIR)
-ARCHIVAL_DIR:=$(top_builddir)/archival/
-endif
srcdir=$(top_srcdir)/archival
+objdir=$(top_builddir)/archival
-ARCHIVAL-y:=
-ARCHIVAL-$(CONFIG_APT_GET) +=
ARCHIVAL-$(CONFIG_AR) += ar.o
ARCHIVAL-$(CONFIG_BUNZIP2) += bunzip2.o
ARCHIVAL-$(CONFIG_UNLZMA) += unlzma.o
@@ -26,17 +21,10 @@ ARCHIVAL-$(CONFIG_TAR) += tar.o
ARCHIVAL-$(CONFIG_UNCOMPRESS) += uncompress.o
ARCHIVAL-$(CONFIG_UNZIP) += unzip.o
-ifneq ($(strip $(ARCHIVAL-y)),)
-libraries-y+=$(ARCHIVAL_DIR)$(ARCHIVAL_AR)
-endif
-
ARCHIVAL_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(ARCHIVAL-y))
ARCHIVAL_SRC-a:=$(wildcard $(srcdir)/*.c)
APPLET_SRC-y+=$(ARCHIVAL_SRC-y)
APPLET_SRC-a+=$(ARCHIVAL_SRC-a)
-$(ARCHIVAL_DIR)$(ARCHIVAL_AR): $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y))
- $(do_ar)
+archival_OBJ:= $(patsubst %,$(objdir)/%,$(ARCHIVAL-y))
-$(ARCHIVAL_DIR)%.o: $(srcdir)/%.c
- $(compile.c)