jorton 2002/11/27 09:56:12
Modified: test Makefile.in
Log:
Fix for VPATH builds.
Revision Changes Path
1.117 +2 -2 apr/test/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/apr/test/Makefile.in,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- Makefile.in 27 Nov 2002 05:41:52 -0000 1.116
+++ Makefile.in 27 Nov 2002 17:56:11 -0000 1.117
@@ -67,8 +67,8 @@
$(LINK) proc_child.lo $(LOCAL_LIBS) $(ALL_LIBS)
# FIXME: -prefer-pic is only supported with libtool-1.4+
-mod_test.slo: mod_test.c
- $(LIBTOOL) --mode=compile $(COMPILE) -prefer-pic -c mod_test.c && touch
$@
+mod_test.slo: $(srcdir)/mod_test.c
+ $(LIBTOOL) --mode=compile $(COMPILE) -prefer-pic -c
$(srcdir)/mod_test.c && touch $@
mod_test.la: mod_test.slo $(LOCAL_LIBS)
$(LINK) --mode=link $(COMPILE) -rpath `pwd` -avoid-version -module
mod_test.lo $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@