From: adam Date: Fri, 3 Sep 2004 04:12:49 +0000 (+0000) Subject: updated Makefile.common X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=e38a8d6d56eb9007de14d07f57b8abbd3d37b883 updated Makefile.common darcs-hash:20040903041249-5007d-72d18fafb148cbc81eaae2e6a1f28510038dd466.gz --- diff --git a/Makefile.common b/Makefile.common index 2eddb2e..17c5f2c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -37,10 +37,14 @@ build/class/org/ibex/util/Preprocessor.class: src/org/ibex/util/Preprocessor.jav mkdir -p build/class/ $(javac) -d build/class/ $< +# HACK +java_sources_pp := $(filter-out src/org/ibex/net/ssl/RootCerts.java,$(java_sources)) compile: .compile .compile: $(java_sources) build/class/org/ibex/util/Preprocessor.class make -s repos - java -cp build/class org.ibex.util.Preprocessor $(java_sources) + java -cp build/class org.ibex.util.Preprocessor $(java_sources_pp) + test -e src/org/ibex/net/ssl/RootCerts.java && \ + cp src/org/ibex/net/ssl/RootCerts.java build/java/org/ibex/net/ssl/RootCerts.java $(javac) -d build/class $(java_sources:src/%.java=build/java/%.java) touch $@