[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath

Annotation of OpenXM/src/OpenMath/Makefile, Revision 1.37

1.1       tam         1: #
1.37    ! ohara       2: # $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.36 2000/11/27 08:15:07 ohara Exp $
1.7       tam         3:
1.15      noro        4: OpenXM_HOME = ../..
1.37    ! ohara       5: INSTALLDIR = ${OpenXM_HOME}/lib/java-support
1.7       tam         6:
1.33      tam         7: #JAVADIR = /usr/local/jdk1.1.8/
1.37    ! ohara       8: #JAVABINDIR = ${JAVADIR}bin/
        !             9: #JAVAINCLUDEDIR = ${JAVADIR}include
1.31      tam        10: #JAVAINCLUDEDIR = /usr/local/include/kaffe
1.14      tam        11:
1.37    ! ohara      12: JAVAC = ${JAVABINDIR}javac
        !            13: JAVAH = ${JAVABINDIR}javah
        !            14: JAR = ${JAVABINDIR}jar
1.23      tam        15:
1.37    ! ohara      16: JFLAGS = -O -g -deprecation
        !            17:
        !            18: # TARGETS = OMproxy.class OM2OXM.class ORG/openxm/tam/OpenXM.class
        !            19: TARGETS = OMproxy.class
1.7       tam        20:
1.36      ohara      21: .SUFFIXES: .java .class
1.11      tam        22:
1.36      ohara      23: .java.class:
1.37    ! ohara      24:        ${JAVAC} ${JFLAGS} -d . $<
1.7       tam        25:
1.37    ! ohara      26: all: ${TARGETS}
1.8       tam        27:
1.12      tam        28: configure:
1.1       tam        29:
                     30: clean:
1.37    ! ohara      31:        -find . -name '*~' | xargs rm -f
        !            32:        -find . -name '*.class' | xargs rm -f OpenXM.jar
1.1       tam        33:
1.7       tam        34: distclean:     clean
                     35:
1.37    ! ohara      36: install: all
        !            37:        -mkdir -p ${INSTALLDIR}
        !            38:        find . -name '*.class' | xargs tar cf - ${TARGETS} | \
        !            39:        (cd ${INSTALLDIR} ; tar xf -)
        !            40:
        !            41: OpenXM.jar:    all
        !            42:        find ORG -name '*.class' | xargs ${JAR} cf OpenXM.jar

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>