aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/java/Makefile
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2005-10-04 02:15:31 +0000
committerN.N. <matju@users.sourceforge.net>2005-10-04 02:15:31 +0000
commitc40e8437ad88fdad35aae75ef23b19c391addd62 (patch)
tree66ecaeadfd1b4fac7b14bc061a35e81e0190a21d /externals/gridflow/java/Makefile
parenta6cd35f9d2f6a9e351fb634bb942b867e384113e (diff)
oops.
svn path=/trunk/; revision=3653
Diffstat (limited to 'externals/gridflow/java/Makefile')
-rw-r--r--externals/gridflow/java/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/externals/gridflow/java/Makefile b/externals/gridflow/java/Makefile
new file mode 100644
index 00000000..867d2b78
--- /dev/null
+++ b/externals/gridflow/java/Makefile
@@ -0,0 +1,39 @@
+#!/usr/bin/make
+
+# JMAX = /opt/lib/jmax
+# JMAX = /usr/local/lib/jmax
+
+include ../config.make
+include ../bundled/jmax/Makefiles/Makefile.$(JMAX_ARCH)
+JMAX = $(prefix)/lib/jmax
+CLASSPATH=".:$(JMAX)/java/classes/jmax.jar:$(JMAX)/packages/guiobj/java/classes/guiobj.jar:$(JMAX)/java/lib/jacl/jacl.jar:$(JMAX)/java/lib/jacl/tcljava.jar"
+
+OBJS = \
+gridflow/FtsPeepholeObject.class \
+gridflow/Peephole.class \
+gridflow/PeepholeControlPanel.class \
+gridflow/GridFlowExtension.class \
+gridflow/PeepholeControlPanel\$1.class \
+gridflow/PathInfo.class
+
+SRC = \
+FtsPeepholeObject.java \
+Peephole.java \
+PeepholeControlPanel.java \
+GridFlowExtension.java \
+PathInfo.java
+
+# libPeephole.so
+
+JC = javac -classpath $(CLASSPATH) -O
+
+all: gridflow.jar
+
+clean::
+ rm -f $(OBJS) gridflow.jar PathInfo.java
+
+gridflow.jar: $(SRC)
+ mkdir gridflow || true
+ $(JC) -d . $(SRC)
+ /bin/rm -f gridflow.jar
+ jar -cvf gridflow.jar gridflow/*.class