1 |
6
|
jones
|
# For Win32, make 'SEP' be a semicolon
|
2 |
|
|
SEP=:
|
3 |
|
|
#CPATH=../../xml.jar$(SEP)$(JAVA_HOME)/lib/classes.zip
|
4 |
15
|
jones
|
CPATH=/home/httpd/servlets/xsql/lib/xmlparserv2.jar$(SEP)$(ORACLE_HOME)/jdbc/lib/classes111.zip$(SEP).
|
5 |
6
|
jones
|
|
6 |
15
|
jones
|
default: orasax
|
7 |
|
|
|
8 |
|
|
orasax:
|
9 |
6
|
jones
|
javac -classpath "$(CPATH)" \
|
10 |
15
|
jones
|
DBSAXWriter.java \
|
11 |
17
|
jones
|
DBSAXElement.java \
|
12 |
|
|
DBSAXHandler.java
|
13 |
15
|
jones
|
|
14 |
|
|
sundom:
|
15 |
|
|
javac -classpath "$(CPATH)" \
|
16 |
6
|
jones
|
DBWriter.java \
|
17 |
|
|
DBElement.java
|
18 |
|
|
|
19 |
15
|
jones
|
test:
|
20 |
|
|
java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u
|
21 |
6
|
jones
|
|
22 |
15
|
jones
|
test1:
|
23 |
|
|
java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
|
24 |
|
|
jdbc:oracle:thin:@24.237.22.245:1521:test
|
25 |
|
|
|
26 |
|
|
test2:
|
27 |
|
|
java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
|
28 |
|
|
jdbc:oracle:thin:@localhost:1521:test
|
29 |
|
|
|
30 |
6
|
jones
|
clean:
|
31 |
|
|
-rm -f *.class Log
|