version 1.14, 2000/01/18 07:59:19 |
version 1.26, 2000/03/14 04:44:16 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.13 2000/01/17 17:09:24 tam Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.25 2000/03/14 02:09:17 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/OXbody.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 |
|
#JP/ac/kobe_u/math/tam/OpenXM/OXmessage.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 |
|
|
|
|
|
|
install: all |
install: all |
if ! test -d $(INSTALLDIR); then \ |
if [ ! -d $(INSTALLDIR) ]; then \ |
mkdir -p $(INSTALLDIR); \ |
mkdir -p $(INSTALLDIR); \ |
fi |
fi |
$(TAR) cf - $(PKGTARGETS) $(TARGETS) | \ |
$(TAR) cf - $(PKGTARGETS) $(TARGETS) | \ |
|
|
|
|
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/'` |
|