version 1.21, 2000/02/07 10:09:52 |
version 1.34, 2000/06/13 14:04:19 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.20 2000/02/07 08:26:39 ohara Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.33 2000/04/17 03:30:01 tam Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
Line 7 INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
|
Line 7 INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
|
#JAVADIR = /usr/local/jdk1.1.8/ |
#JAVADIR = /usr/local/jdk1.1.8/ |
#JAVABINDIR = $(JAVADIR)bin/ |
#JAVABINDIR = $(JAVADIR)bin/ |
#JAVAINCLUDEDIR = $(JAVADIR)include |
#JAVAINCLUDEDIR = $(JAVADIR)include |
JAVAINCLUDEDIR = /usr/local/include/kaffe |
#JAVAINCLUDEDIR = /usr/local/include/kaffe |
|
|
JAVAC = $(JAVABINDIR)javac |
JAVAC = $(JAVABINDIR)javac |
JAVAH = $(JAVABINDIR)javah |
JAVAH = $(JAVABINDIR)javah |
Line 15 JAR = $(JAVABINDIR)jar |
|
Line 15 JAR = $(JAVABINDIR)jar |
|
|
|
TAR = tar |
TAR = tar |
|
|
PKGSRCS = JP/ac/kobe_u/math/tam/OpenXM/CMO.java \ |
PKGSRCS = \ |
|
JP/ac/kobe_u/math/tam/OpenXM/CMO.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_BIGFLOAT.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_BIGFLOAT.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DATUM.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DATUM.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DISTRIBUTED_POLYNOMIAL.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DISTRIBUTED_POLYNOMIAL.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS_GENERIC.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS_GENERIC.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ERROR.java \ |
|
JP/ac/kobe_u/math/tam/OpenXM/CMO_ERROR2.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ERROR2.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INDETERMINATE.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INDETERMINATE.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INT32.java \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INT32.java \ |
Line 39 PKGSRCS = JP/ac/kobe_u/math/tam/OpenXM/CMO.java \ |
|
Line 39 PKGSRCS = JP/ac/kobe_u/math/tam/OpenXM/CMO.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/DebugInputStream.java \ |
JP/ac/kobe_u/math/tam/OpenXM/MathcapViolation.java \ |
JP/ac/kobe_u/math/tam/OpenXM/MathcapViolation.java \ |
|
JP/ac/kobe_u/math/tam/OpenXM/OXbody.java \ |
|
JP/ac/kobe_u/math/tam/OpenXM/OXmessage.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/OpenXMserver.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 |
PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
Line 48 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
Line 51 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/CMO_DISTRIBUTED_POLYNOMIAL.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DISTRIBUTED_POLYNOMIAL.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS_GENERIC.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_DMS_GENERIC.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ERROR.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/CMO_ERROR2.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_ERROR2.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INDETERMINATE.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INDETERMINATE.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INT32.class \ |
JP/ac/kobe_u/math/tam/OpenXM/CMO_INT32.class \ |
Line 67 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
Line 69 PKGTARGETS = JP/ac/kobe_u/math/tam/OpenXM/CMO.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/DebugInputStream.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/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/OpenXMserver.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/OXbody.class \ |
|
JP/ac/kobe_u/math/tam/OpenXM/OXmessage.class \ |
JP/ac/kobe_u/math/tam/OpenXM/SM.class |
JP/ac/kobe_u/math/tam/OpenXM/SM.class |
|
|
|
|
TARGETS = OM2OXM.class OMproxy.class |
TARGETS = OM2OXM.class OMproxy.class |
|
|
|
|
all: configure OpenXM.jar $(TARGETS) |
all: clean configure OpenXM.jar $(TARGETS) |
|
|
|
|
configure: |
configure: |
|
|
if [ ! -d $(INSTALLDIR) ]; then \ |
if [ ! -d $(INSTALLDIR) ]; then \ |
mkdir -p $(INSTALLDIR); \ |
mkdir -p $(INSTALLDIR); \ |
fi |
fi |
$(TAR) cf - $(PKGTARGETS) $(TARGETS) | \ |
$(TAR) cf - $(TARGETS) `find . -name '*.class'` | \ |
(cd $(INSTALLDIR) ; $(TAR) xf -) |
(cd $(INSTALLDIR) ; $(TAR) xf -) |
|
|
|
|
|
|
|
|
|
|
.java.class: |
.java.class: |
$(JAVAC) -d . -O $< |
#$(JAVAC) -d . -O $< |
|
$(JAVAC) -d . -g -O $< |
|
|
|
|
OpenXM.jar: $(PKGSRCS) |
OpenXM.jar: $(PKGSRCS) |
-$(JAVAC) -d . -O $? |
#-$(JAVAC) -d . -O $? |
@#touch $@ |
-$(JAVAC) -d . -g -O $? |
|
-@#touch $@ |
-@#$(JAR) cf $@ $(PKGTARGETS) |
-@#$(JAR) cf $@ $(PKGTARGETS) |