summaryrefslogtreecommitdiff
path: root/atomic
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-04-22 01:24:51 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-04-22 01:24:51 +0000
commitea28dde0c67b0c27e4a67767764ee21c1444c7e8 (patch)
tree544a59affb9a1ed79c8e9f5d1b32f3caa6e63f9b /atomic
parent726803065c6842bc89066c6972e9a1b72bb3e6aa (diff)
downloadlibapr-ea28dde0c67b0c27e4a67767764ee21c1444c7e8.tar.gz
Allow VPATH builds to properly generate build dependencies. This requires
srcdir to always be available in a Makefile, so we need to stop adding this only when we use VPATH. Change the dependency generation to use .deps instead of appending to the Makefile. This makes us consistent with the dependency style of httpd-2.0. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r--atomic/os390/Makefile.in2
-rw-r--r--atomic/solaris_sparc/Makefile.in3
-rw-r--r--atomic/unix/Makefile.in2
3 files changed, 6 insertions, 1 deletions
diff --git a/atomic/os390/Makefile.in b/atomic/os390/Makefile.in
index db26a7617..28cc1b6d8 100644
--- a/atomic/os390/Makefile.in
+++ b/atomic/os390/Makefile.in
@@ -1,3 +1,5 @@
+srcdir = @srcdir@
+VPATH = @srcdir@
TARGETS = atomic.lo
diff --git a/atomic/solaris_sparc/Makefile.in b/atomic/solaris_sparc/Makefile.in
index a2d8dbae4..f2435cd88 100644
--- a/atomic/solaris_sparc/Makefile.in
+++ b/atomic/solaris_sparc/Makefile.in
@@ -1,3 +1,5 @@
+srcdir = @srcdir@
+VPATH = @srcdir@
TARGETS = @apr_atomic_sparc_compile@
@@ -8,7 +10,6 @@ ASCPP = @ASCPP@
# bring in rules.mk for standard functionality
@INCLUDE_RULES@
-srcdir=@srcdir@
apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
$(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
diff --git a/atomic/unix/Makefile.in b/atomic/unix/Makefile.in
index 91cf22f14..188d0d242 100644
--- a/atomic/unix/Makefile.in
+++ b/atomic/unix/Makefile.in
@@ -1,3 +1,5 @@
+srcdir = @srcdir@
+VPATH = @srcdir@
TARGETS = apr_atomic.lo