X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=Makefile.common;h=17c5f2c62854a10b517f393a667f54b6ce35efd8;hp=2eddb2e90dbea8def198b26185b8604ceb9579b1;hb=e38a8d6d56eb9007de14d07f57b8abbd3d37b883;hpb=f430446d9f119cb9f2c1030132c414f575f3ce11 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 $@