Project

General

Profile

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
		DBSAXElement.java
12
13
sundom:
14
	javac -classpath "$(CPATH)" \
15 6 jones
		DBWriter.java \
16
		DBElement.java
17
18 15 jones
test:
19
	java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u
20 6 jones
21 15 jones
test1:
22
	java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
23
		jdbc:oracle:thin:@24.237.22.245:1521:test
24
25
test2:
26
	java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
27
		jdbc:oracle:thin:@localhost:1521:test
28
29 6 jones
clean:
30
	-rm -f *.class Log