version 1.15, 2000/01/19 06:18:50 |
version 1.19, 2000/01/21 14:50:04 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.14 2000/01/18 07:59:19 tam Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.18 2000/01/20 18:14:32 tam Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
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 = OM2OXM.class OMproxy.class |
|
|
|
|
all: configure $(TARGETS) |
all: configure OpenXM.jar $(TARGETS) |
|
|
|
|
configure: |
configure: |
|
|
|
|
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 |
|
|
|
|
OpenXM.jar: $(PKGSRCS) |
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/'` |
|