libdb/test/java/junit/Makefile

19 lines
414 B
Makefile
Raw Normal View History

2011-09-13 17:44:24 +00:00
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