aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-09 09:03:37 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-09 09:03:37 +0000
commit07a79e75f502ebd41e5341aacc5de303d3ffaea0 (patch)
tree4b95f98bab0b298c5df171772b629d03400ef507 /archival
parent874af85d5eb08b65476f406f6a1e7edc127ac210 (diff)
downloadbusybox-07a79e75f502ebd41e5341aacc5de303d3ffaea0.tar.gz
busybox-07a79e75f502ebd41e5341aacc5de303d3ffaea0.tar.bz2
- backout using features which are not available with the previous stable
version of make (3.71.1).
Diffstat (limited to 'archival')
-rw-r--r--archival/Makefile.in8
-rw-r--r--archival/libunarchive/Makefile.in8
2 files changed, 12 insertions, 4 deletions
diff --git a/archival/Makefile.in b/archival/Makefile.in
index 6a2979e67..8a7b3bd4a 100644
--- a/archival/Makefile.in
+++ b/archival/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/archival
-objdir=$(top_builddir)/archival
+srcdir:=$(top_srcdir)/archival
+objdir:=$(top_builddir)/archival
ARCHIVAL-$(CONFIG_AR) += ar.o
ARCHIVAL-$(CONFIG_BUNZIP2) += bunzip2.o
@@ -28,3 +28,7 @@ APPLET_SRC-a+=$(ARCHIVAL_SRC-a)
archival_OBJ:= $(patsubst %,$(objdir)/%,$(ARCHIVAL-y))
+$(archival_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/archival.a: $(archival_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/archival.a
+
diff --git a/archival/libunarchive/Makefile.in b/archival/libunarchive/Makefile.in
index 75d761036..d77aff736 100644
--- a/archival/libunarchive/Makefile.in
+++ b/archival/libunarchive/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/archival/libunarchive
-objdir=$(top_builddir)/archival/libunarchive
+srcdir:=$(top_srcdir)/archival/libunarchive
+objdir:=$(top_builddir)/archival/libunarchive
LIBUNARCHIVE-y:= \
\
@@ -71,3 +71,7 @@ LIBRARY_SRC-a+=$(LIBUNARCHIVE_SRC-a)
archival_libunarchive_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBUNARCHIVE-y))
+$(archival_libunarchive_OBJ$(os)): $(objdir)/%$(os): $(srcdir)/%.c
+$(objdir)/libunarchive.a: $(archival_libunarchive_OBJ$(os))
+libraries-y:=$(libraries-y) $(objdir)/libunarchive.a
+