libdb/test/java/junit/Makefile
2011-09-13 13:44:24 -04:00

18 lines
414 B
Makefile

TESTCLASSES=\
./src/com/sleepycat/db/test/*.java
all: dbtest.jar
dbtest.jar: classesdir
# Compile the tests and build the test jar
javac -classpath "${DB_JAR}${CP_SEP}${REQUIRED_JARS}" \
-d ./classes ${TESTCLASSES}
jar cf ./dbtest.jar -C ./classes ./com/sleepycat
classesdir:
[ -d ./classes ] || (mkdir ./classes)
clean:
[ -d ./classes ] && rm -rf ./classes
[ -f ./dbtest.jar ] && rm ./dbtest.jar