summaryrefslogtreecommitdiff
path: root/bindings/corba/java/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/corba/java/Makefile')
-rw-r--r--bindings/corba/java/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/bindings/corba/java/Makefile b/bindings/corba/java/Makefile
new file mode 100644
index 0000000..ff55983
--- /dev/null
+++ b/bindings/corba/java/Makefile
@@ -0,0 +1,19 @@
+all: src/org/crosswire/sword/orb/SWMgr.java classes/org/crosswire/sword/orb/SwordOrb.class
+
+src/org/crosswire/sword/orb/SWMgr.java: ../swordorb.idl
+ idlj -pkgTranslate swordorb org.crosswire.sword.orb -td src ../swordorb.idl
+
+classes/org/crosswire/sword/orb/SwordOrb.class: src/org/crosswire/sword/orb/SwordOrb.java
+ javac -classpath /var/tomcat/common/lib/servlet-api.jar -d classes -sourcepath src src/org/crosswire/sword/orb/*.java src/org/crosswire/util/*.java
+
+
+clean:
+ rm src/org/crosswire/sword/orb/SW*.java
+ rm src/org/crosswire/sword/orb/_SW*.java
+ rm src/org/crosswire/sword/orb/Mod*.java
+ rm src/org/crosswire/sword/orb/Search*.java
+ rm src/org/crosswire/sword/orb/String*.java
+ rm -rf classes/*
+
+install:
+ cp -a classes/org/ /var/tomcat/webapps/swordweb/WEB-INF/classes/