[kaffe] Small --with-glibj-zip fix
Jari Korva
jpkorva at iki.fi
Sun Dec 18 08:49:26 PST 2005
Hi,
executing the following commands...
./configure --with-glibj-zip=....
make
make clean
make
... results in errors such as:
make[1]: Entering directory `/home/jko/kaffe/kaffe/include'
make[1]: *** No rule to make target
`../libraries/javalib/external/classpath/lib/glibj.zip', needed by
`stamp-h0all'. Stop.
make[1]: Leaving directory `/home/jko/kaffe/kaffe/include'
make: *** [all-recursive] Error 1
The reason seems to be that make clean removes the copy of glibj.zip but
does not do the same for libraries/javalib/stamp-glibj file. Thus the 2nd
"make all" does not do everything it should and fails.
The following kind of modification should fix the problem:
--- libraries/javalib/Makefile.am 18 Dec 2005 10:39:51 -0000 1.412
+++ libraries/javalib/Makefile.am 18 Dec 2005 17:03:20 -0000
@@ -30,9 +30,12 @@
glibj.zip: stamp-glibj
else
-stamp-libj:
+stamp-glibj:
@touch stamp-glibj
endif
+
+clean-local:
+ rm -rf stamp-glibj glibj.zip
SUBDIRS= . external/classpath $(MAYBE_PEERLESS_KAFFE_AWT)
$(MAYBE_GMP_JAVA_MATH)
Cheers,
Jari
More information about the kaffe
mailing list