blob: 555464aa8c1e06811dd69efe6345ff6f01451e6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
|