version 1.35, 2000/09/13 06:44:55 |
version 1.36, 2000/11/27 08:15:07 |
|
|
# |
# |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.34 2000/06/13 14:04:19 tam Exp $ |
# $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.35 2000/09/13 06:44:55 tam Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
INSTALLDIR = $(OpenXM_HOME)/lib/java-support |
Line 13 JAVAC = $(JAVABINDIR)javac |
|
Line 13 JAVAC = $(JAVABINDIR)javac |
|
JAVAH = $(JAVABINDIR)javah |
JAVAH = $(JAVABINDIR)javah |
JAR = $(JAVABINDIR)jar |
JAR = $(JAVABINDIR)jar |
|
|
TAR = tar |
|
|
|
PKGSRCS = \ |
PKGSRCS = \ |
ORG/openxm/tam/CMO.java \ |
ORG/openxm/tam/CMO.java \ |
ORG/openxm/tam/CMO_BIGFLOAT.java \ |
ORG/openxm/tam/CMO_BIGFLOAT.java \ |
|
|
ORG/openxm/tam/OpenXMserver.java \ |
ORG/openxm/tam/OpenXMserver.java \ |
ORG/openxm/tam/OpenXMstream.java \ |
ORG/openxm/tam/OpenXMstream.java \ |
ORG/openxm/tam/SM.java |
ORG/openxm/tam/SM.java |
|
|
PKGTARGETS = ORG/openxm/tam/CMO.class \ |
PKGTARGETS = ORG/openxm/tam/CMO.class \ |
ORG/openxm/tam/CMO_BIGFLOAT.class \ |
ORG/openxm/tam/CMO_BIGFLOAT.class \ |
ORG/openxm/tam/CMO_DATUM.class \ |
ORG/openxm/tam/CMO_DATUM.class \ |
Line 73 PKGTARGETS = ORG/openxm/tam/CMO.class \ |
|
Line 72 PKGTARGETS = ORG/openxm/tam/CMO.class \ |
|
ORG/openxm/tam/OXmessage.class \ |
ORG/openxm/tam/OXmessage.class \ |
ORG/openxm/tam/SM.class |
ORG/openxm/tam/SM.class |
|
|
|
|
TARGETS = OM2OXM.class OMproxy.class |
TARGETS = OM2OXM.class OMproxy.class |
|
|
|
.SUFFIXES: .java .class |
|
|
|
.java.class: |
|
$(JAVAC) -d . -g -O $< |
|
|
all: clean configure OpenXM.jar $(TARGETS) |
all: clean configure OpenXM.jar $(TARGETS) |
|
|
|
|
configure: |
configure: |
|
|
|
|
clean: |
clean: |
-rm -f *.jar *.class $(PKGTARGETS) |
-find . -name '*.class' | xargs rm -f *.jar |
|
|
|
|
distclean: clean |
distclean: clean |
find . -name '*~' \ |
-find . -name '*~' | xargs rm -f |
-exec echo rm -f {} \; \ |
|
-exec rm -f {} \; |
|
|
|
|
|
install: all |
install: all |
if [ ! -d $(INSTALLDIR) ]; then \ |
-mkdir -p $(INSTALLDIR) |
mkdir -p $(INSTALLDIR); \ |
find . -name '*.class' | \ |
fi |
xargs tar cf - $(TARGETS) | \ |
$(TAR) cf - $(TARGETS) `find . -name '*.class'` | \ |
(cd $(INSTALLDIR) ; tar xf -) |
(cd $(INSTALLDIR) ; $(TAR) xf -) |
|
|
|
|
|
install2: |
install2: |
|
|
|
|
test: |
test: |
$(JAVAC) -d . -deprecation -g *.java |
$(JAVAC) -d . -deprecation -g *.java |
|
|
|
|
.SUFFIXES: .java .class |
|
|
|
|
|
.java.class: |
|
#$(JAVAC) -d . -O $< |
|
$(JAVAC) -d . -g -O $< |
|
|
|
|
|
OpenXM.jar: $(PKGSRCS) |
OpenXM.jar: $(PKGSRCS) |
#-$(JAVAC) -d . -O $? |
|
-$(JAVAC) -d . -g -O $? |
-$(JAVAC) -d . -g -O $? |
-@#touch $@ |
# -@touch $@ |
-@#$(JAR) cf $@ $(PKGTARGETS) |
# -@$(JAR) cf $@ $(PKGTARGETS) |