Annotation of OpenXM/src/OpenMath/Makefile, Revision 1.35
1.1 tam 1: #
1.35 ! tam 2: # $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.34 2000/06/13 14:04:19 tam Exp $
1.7 tam 3:
1.15 noro 4: OpenXM_HOME = ../..
1.14 tam 5: INSTALLDIR = $(OpenXM_HOME)/lib/java-support
1.7 tam 6:
1.33 tam 7: #JAVADIR = /usr/local/jdk1.1.8/
8: #JAVABINDIR = $(JAVADIR)bin/
1.14 tam 9: #JAVAINCLUDEDIR = $(JAVADIR)include
1.31 tam 10: #JAVAINCLUDEDIR = /usr/local/include/kaffe
1.14 tam 11:
12: JAVAC = $(JAVABINDIR)javac
13: JAVAH = $(JAVABINDIR)javah
14: JAR = $(JAVABINDIR)jar
15:
16: TAR = tar
17:
1.31 tam 18: PKGSRCS = \
1.35 ! tam 19: ORG/openxm/tam/CMO.java \
! 20: ORG/openxm/tam/CMO_BIGFLOAT.java \
! 21: ORG/openxm/tam/CMO_DATUM.java \
! 22: ORG/openxm/tam/CMO_DISTRIBUTED_POLYNOMIAL.java \
! 23: ORG/openxm/tam/CMO_DMS.java \
! 24: ORG/openxm/tam/CMO_DMS_GENERIC.java \
! 25: ORG/openxm/tam/CMO_ERROR2.java \
! 26: ORG/openxm/tam/CMO_INDETERMINATE.java \
! 27: ORG/openxm/tam/CMO_INT32.java \
! 28: ORG/openxm/tam/CMO_LIST.java \
! 29: ORG/openxm/tam/CMO_MATHCAP.java \
! 30: ORG/openxm/tam/CMO_MONOMIAL32.java \
! 31: ORG/openxm/tam/CMO_NULL.java \
! 32: ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.java \
! 33: ORG/openxm/tam/CMO_QQ.java \
! 34: ORG/openxm/tam/CMO_RATIONAL.java \
! 35: ORG/openxm/tam/CMO_RECURSIVE_POLYNOMIAL.java \
! 36: ORG/openxm/tam/CMO_STRING.java \
! 37: ORG/openxm/tam/CMO_TREE.java \
! 38: ORG/openxm/tam/CMO_ZERO.java \
! 39: ORG/openxm/tam/CMO_ZZ.java \
! 40: ORG/openxm/tam/MathcapViolation.java \
! 41: ORG/openxm/tam/OXbody.java \
! 42: ORG/openxm/tam/OXmessage.java \
! 43: ORG/openxm/tam/OpenXM.java \
! 44: ORG/openxm/tam/OpenXMserver.java \
! 45: ORG/openxm/tam/OpenXMstream.java \
! 46: ORG/openxm/tam/SM.java
! 47: PKGTARGETS = ORG/openxm/tam/CMO.class \
! 48: ORG/openxm/tam/CMO_BIGFLOAT.class \
! 49: ORG/openxm/tam/CMO_DATUM.class \
! 50: ORG/openxm/tam/CMO_DISTRIBUTED_POLYNOMIAL.class \
! 51: ORG/openxm/tam/CMO_DMS.class \
! 52: ORG/openxm/tam/CMO_DMS_GENERIC.class \
! 53: ORG/openxm/tam/CMO_ERROR2.class \
! 54: ORG/openxm/tam/CMO_INDETERMINATE.class \
! 55: ORG/openxm/tam/CMO_INT32.class \
! 56: ORG/openxm/tam/CMO_LIST.class \
! 57: ORG/openxm/tam/CMO_MATHCAP.class \
! 58: ORG/openxm/tam/CMO_MONOMIAL32.class \
! 59: ORG/openxm/tam/CMO_NULL.class \
! 60: ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.class \
! 61: ORG/openxm/tam/CMO_QQ.class \
! 62: ORG/openxm/tam/CMO_RATIONAL.class \
! 63: ORG/openxm/tam/CMO_RECURSIVE_POLYNOMIAL.class \
! 64: ORG/openxm/tam/CMO_STRING.class \
! 65: ORG/openxm/tam/CMO_TREE.class \
! 66: ORG/openxm/tam/CMO_ZERO.class \
! 67: ORG/openxm/tam/CMO_ZZ.class \
! 68: ORG/openxm/tam/MathcapViolation.class \
! 69: ORG/openxm/tam/OpenXM.class \
! 70: ORG/openxm/tam/OpenXMserver.class \
! 71: ORG/openxm/tam/OpenXMstream.class \
! 72: ORG/openxm/tam/OXbody.class \
! 73: ORG/openxm/tam/OXmessage.class \
! 74: ORG/openxm/tam/SM.class
1.23 tam 75:
1.7 tam 76:
1.19 tam 77: TARGETS = OM2OXM.class OMproxy.class
1.11 tam 78:
1.7 tam 79:
1.30 takayama 80: all: clean configure OpenXM.jar $(TARGETS)
1.8 tam 81:
82:
1.12 tam 83: configure:
1.1 tam 84:
85:
86: clean:
1.16 tam 87: -rm -f *.jar *.class $(PKGTARGETS)
1.1 tam 88:
89:
1.7 tam 90: distclean: clean
1.1 tam 91: find . -name '*~' \
92: -exec echo rm -f {} \; \
93: -exec rm -f {} \;
94:
1.7 tam 95:
1.8 tam 96: install: all
1.20 ohara 97: if [ ! -d $(INSTALLDIR) ]; then \
1.14 tam 98: mkdir -p $(INSTALLDIR); \
1.7 tam 99: fi
1.34 tam 100: $(TAR) cf - $(TARGETS) `find . -name '*.class'` | \
1.14 tam 101: (cd $(INSTALLDIR) ; $(TAR) xf -)
1.11 tam 102:
1.8 tam 103:
104: install2:
105:
106:
107: test:
1.14 tam 108: $(JAVAC) -d . -deprecation -g *.java
1.7 tam 109:
110:
111: .SUFFIXES: .java .class
112:
113:
1.12 tam 114: .java.class:
1.34 tam 115: #$(JAVAC) -d . -O $<
116: $(JAVAC) -d . -g -O $<
1.7 tam 117:
118:
1.14 tam 119: OpenXM.jar: $(PKGSRCS)
1.34 tam 120: #-$(JAVAC) -d . -O $?
121: -$(JAVAC) -d . -g -O $?
1.24 tam 122: -@#touch $@
1.14 tam 123: -@#$(JAR) cf $@ $(PKGTARGETS)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>