version 1.14, 2000/01/18 07:59:19 |
version 1.18, 2000/01/20 18:14:32 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.13 2000/01/17 17:09:24 tam Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.17 2000/01/19 12:59:28 tam Exp $ |
|
|
OpenXM_HOME ?= ../.. |
OpenXM_HOME = ../.. |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
|
|
#JAVADIR = /usr/local/jdk1.1.8/ |
#JAVADIR = /usr/local/jdk1.1.8/ |
Line 37 PKGSRCS = JP/ac/kobe_u/math/tam/OpenXM/CMO.java \ |
|
Line 37 PKGSRCS = JP/ac/kobe_u/math/tam/OpenXM/CMO.java \ |
|
JP/ac/kobe_u/math/tam/OpenXM/CMO_TREE.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_TREE.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZERO.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZERO.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZZ.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZZ.java \ |
|
JP/ac/kobe_u/math/tam/OpenXM/DebugInputStream.java \ |
|
JP/ac/kobe_u/math/tam/OpenXM/MathcapViolation.java \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXM.java \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXM.java \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXMconnection.java \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXMconnection.java \ |
JP/ac/kobe_u/math/tam/OpenXM/SM.java |
JP/ac/kobe_u/math/tam/OpenXM/SM.java |
Line 62 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
Line 64 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/CMO_TREE.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_TREE.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZERO.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZERO.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZZ.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ZZ.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/DebugInputStream.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/MathcapViolation.class \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXM.class \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXM.class \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXMconnection.class \ |
JP/ac/kobe_u/math/tam/OpenXM/OpenXMconnection.class \ |
JP/ac/kobe_u/math/tam/OpenXM/SM.class |
JP/ac/kobe_u/math/tam/OpenXM/SM.class |
|
|
TARGETS = OpenXM.jar OM2OXM.class OMproxy.class libnative.so |
TARGETS = OpenXM.jar OM2OXM.class OMproxy.class |
|
|
|
|
all: configure $(TARGETS) |
all: configure $(TARGETS) |
|
|
|
|
|
|
clean: |
clean: |
-rm -f *.so *.h *.jar *.class $(PKGTARGETS) |
-rm -f *.jar *.class $(PKGTARGETS) |
|
|
|
|
distclean: clean |
distclean: clean |
|
|
|
|
test: |
test: |
$(JAVAC) -d . -deprecation -g *.java |
$(JAVAC) -d . -deprecation -g *.java |
make libnative.so |
|
|
|
|
|
.SUFFIXES: .java .class |
.SUFFIXES: .java .class |
Line 112 OpenXM.jar: $(PKGSRCS) |
|
Line 115 OpenXM.jar: $(PKGSRCS) |
|
$(JAVAC) -d . -O $? |
$(JAVAC) -d . -O $? |
@touch $@ |
@touch $@ |
-@#$(JAR) cf $@ $(PKGTARGETS) |
-@#$(JAR) cf $@ $(PKGTARGETS) |
|
|
|
|
OMproxy.h: OMproxy.class |
|
-$(JAVAH) -jni $* |
|
|
|
|
|
libnative.so: native.c OMproxy.h |
|
-$(CC) -o libnative.so native.c \ |
|
-shared `find $(JAVAINCLUDEDIR) -type d | sed 's/^/-I/'` |
|