version 1.14, 2000/01/18 07:59:19 |
version 1.16, 2000/01/19 09:35:06 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.13 2000/01/17 17:09:24 tam Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.15 2000/01/19 06:18:50 noro 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 66 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
Line 66 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.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 111 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/'` |
|