version 1.6, 1999/12/09 00:32:36 |
version 1.37, 2000/11/28 10:06:45 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.5 1999/11/16 13:19:14 tam Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.36 2000/11/27 08:15:07 ohara Exp $ |
|
|
make: |
OpenXM_HOME = ../.. |
if ! test -d ../../lib/java-support; then \ |
INSTALLDIR = ${OpenXM_HOME}/lib/java-support |
mkdir -p ../../lib/java-support; \ |
|
fi |
|
make clean |
|
javac -d ../../lib/java-support -O *.java |
|
|
|
|
#JAVADIR = /usr/local/jdk1.1.8/ |
|
#JAVABINDIR = ${JAVADIR}bin/ |
|
#JAVAINCLUDEDIR = ${JAVADIR}include |
|
#JAVAINCLUDEDIR = /usr/local/include/kaffe |
|
|
|
JAVAC = ${JAVABINDIR}javac |
|
JAVAH = ${JAVABINDIR}javah |
|
JAR = ${JAVABINDIR}jar |
|
|
|
JFLAGS = -O -g -deprecation |
|
|
|
# TARGETS = OMproxy.class OM2OXM.class ORG/openxm/tam/OpenXM.class |
|
TARGETS = OMproxy.class |
|
|
|
.SUFFIXES: .java .class |
|
|
|
.java.class: |
|
${JAVAC} ${JFLAGS} -d . $< |
|
|
|
all: ${TARGETS} |
|
|
|
configure: |
|
|
clean: |
clean: |
find . -name '*.class' \ |
-find . -name '*~' | xargs rm -f |
-exec echo rm -f {} \; \ |
-find . -name '*.class' | xargs rm -f OpenXM.jar |
-exec rm -f {} \; |
|
|
|
dist: |
distclean: clean |
tar cvfz ../OM2OXM.tgz . |
|
|
|
distclean: #clean dist |
install: all |
make clean |
-mkdir -p ${INSTALLDIR} |
find . -name '*~' \ |
find . -name '*.class' | xargs tar cf - ${TARGETS} | \ |
-exec echo rm -f {} \; \ |
(cd ${INSTALLDIR} ; tar xf -) |
-exec rm -f {} \; |
|
|
|
test: |
OpenXM.jar: all |
/usr/local/jdk1.1.8/bin/javac -d . -deprecation -g *.java |
find ORG -name '*.class' | xargs ${JAR} cf OpenXM.jar |