version 1.11, 2000/01/17 15:42:00 |
version 1.13, 2000/01/17 17:09:24 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.10 2000/01/17 13:43:50 takayama Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.12 2000/01/17 16:53:43 tam Exp $ |
|
|
|
|
JAVADIR = /usr/local/jdk1.1.8/ |
JAVADIR = /usr/local/jdk1.1.8/ |
JAVABINDIR = $(JAVADIR)bin/ |
#JAVABINDIR = $(JAVADIR)bin/ |
LIBDIR = ../../lib/java-support |
LIBDIR = ../../lib/java-support |
|
|
TARGETS = OpenXM.jar OM2OXM.class OMproxy.class libnative.so |
TARGETS = OpenXM.jar OM2OXM.class OMproxy.class libnative.so |
|
|
|
|
configure: |
all: configure $(TARGETS) |
|
|
|
|
all: $(TARGETS) |
configure: |
|
|
|
|
clean: |
clean: |
|
|
|
|
|
|
test: |
test: |
$(JAVADIR)/bin/javac -d . -deprecation -g *.java |
$(JAVABINDIR)javac -d . -deprecation -g *.java |
make libnative.so |
make libnative.so |
|
|
|
|
.SUFFIXES: .java .class |
.SUFFIXES: .java .class |
|
|
|
|
.java.class : |
.java.class: |
$(JAVABINDIR)javac -d . -O ${.IMPSRC} |
$(JAVABINDIR)javac -d . -O $< |
|
|
|
|
OpenXM.jar: JP/ac/kobe_u/math/tam/OpenXM/{OpenXM,*}.class |
OpenXM.jar: JP/ac/kobe_u/math/tam/OpenXM/*.java |
@$(JAVABINDIR)javac -d . -O JP/ac/kobe_u/math/tam/OpenXM/OpenXM.java |
$(JAVABINDIR)javac -d . -O $? |
@#$(JAVADIR)/bin/javac -d . -O ${.OODATE} |
touch $@ |
-$(JAVABINDIR)jar cf OpenXM.jar `find JP/ -name '*.class'` |
-@#$(JAVABINDIR)jar cf OpenXM.jar `find JP/ -name '*.class'` |
|
|
|
|
OMproxy.h: OMproxy.class |
OMproxy.h: OMproxy.class |
-$(JAVABINDIR)javah -jni ${.PREFIX} |
-$(JAVABINDIR)javah -jni $* |
|
|
|
|
libnative.so: native.c OMproxy.h |
libnative.so: native.c OMproxy.h |