Russell Yanofsky wrote:
> Daniel Rall wrote:
>
>>Any suggestions on how to get the SWIG targets from build-outputs.mk
>>(defined in build.conf) to depend upon the "mkdir-init" object-less
>>target from Makefile.in?
>
>
> Does "add-deps = mkdir-init" do what you need?
I've tried both this and nonlibs. When using add-deps with either the
libsvn_swig_java or swig_client config sections, the dependency is added
too late in sequence. Here's how it works for libsvn_swig_java:
--- build-outputs.mk-orig Tue Sep 23 11:57:56 2003
+++ build-outputs.mk Tue Sep 23 11:58:17 2003
@@ -49,7 +49,7 @@
subversion/bindings/swig/java/_wc.la: $(java_wc_DEPS)
cd subversion/bindings/swig/java && $(LINK_JAVA_WRAPPER) -o
_wc.la $(java_wc_OBJECTS)
../../../../subversion/bindings/swig/libsvn_swig_java-1.la
../../../../subversion/libsvn_wc/libsvn_wc-1.la $(LIBS)
-libsvn_swig_java_DEPS = subversion/bindings/swig/swigutil_java.lo
+libsvn_swig_java_DEPS = subversion/bindings/swig/swigutil_java.lo
mkdir-init
libsvn_swig_java_OBJECTS = swigutil_java.lo
subversion/bindings/swig/libsvn_swig_java-1.la: $(libsvn_swig_java_DEPS)
cd subversion/bindings/swig && $(LINK) -o libsvn_swig_java-1.la
$(libsvn_swig_java_OBJECTS) $(SVN_APRUTIL_LIBS) $(SVN_APR_LIBS) $(LIBS)
The swig_client library build is attempted before the mkdir-init occurs:
svn$ make swig-java
cd
/home/dlr/src/svn/subversion/bindings/swig/java/org/tigris/subversion/swig
&& /usr/local/swig/bin/swig -c -java -package
'org.tigris.subversion.swig'
-I/home/dlr/src/svn/subversion/bindings/swig
-I/home/dlr/src/svn/subversion/include -I/usr/local/apache2/include -o
/home/dlr/src/svn/subversion/bindings/swig/java/svn_client.c svn_client.i
/bin/sh: cd:
/home/dlr/src/svn/subversion/bindings/swig/java/org/tigris/subversion/swig:
No such file or directory
make: *** [subversion/bindings/swig/java/svn_client.c] Error 1
Any ideas as to how the mkdir-init dependency can be added earlier in
the dependency sequence?
- Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 23 21:04:08 2003