version 1.11, 2000/01/17 15:42:00 |
version 1.12, 2000/01/17 16:53:43 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.10 2000/01/17 13:43:50 takayama Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.11 2000/01/17 15:42:00 tam Exp $ |
|
|
|
|
JAVADIR = /usr/local/jdk1.1.8/ |
JAVADIR = /usr/local/jdk1.1.8/ |
Line 9 LIBDIR = ../../lib/java-support |
|
Line 9 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: |
|
|
.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 |
@echo jar |
@#$(JAVADIR)/bin/javac -d . -O ${.OODATE} |
@#$(JAVABINDIR)javac -d . -O JP/ac/kobe_u/math/tam/OpenXM/OpenXM.java |
|
$(JAVABINDIR)javac -d . -O $? |
-$(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 |