view Makefile @ 193:982534c83436

Updating build.xml and tests/build.xml In build.xml corrected some comments, made target doc working. In tests/build.xml added javac.flags as argument to javac. This removes compiler warning: [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 Added target doc to the Makefile for convenience
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 26 Oct 2017 15:13:35 +0200 (2017-10-26)
parents f9ac0f845338
children ff9049259602 f523727db392
line wrap: on
line source
all: src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java
	ant -f build.xml distjdbc distmerocontrol
	cd tests; ant -f build.xml jar_jdbctests

src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java: build.properties src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in
	. ./build.properties; sed -e "s/@MCL_MAJOR@/$$MCL_MAJOR/g;s/@MCL_MINOR@/$$MCL_MINOR/g;s/@JDBC_MAJOR@/$$JDBC_MAJOR/g;s/@JDBC_MINOR@/$$JDBC_MINOR/g;s/@JDBC_VER_SUFFIX@/$$JDBC_VER_SUFFIX $$buildno/g;s/@JDBC_DEF_PORT@/$$JDBC_DEF_PORT/g" src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in > src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java

doc:
	ant -f build.xml doc

clean:
	rm -f src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java
	rm -rf build tests/build jars doc