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

Diff for /OpenXM/src/OpenMath/Makefile between version 1.7 and 1.37

version 1.7, 2000/01/13 12:35:56 version 1.37, 2000/11/28 10:06:45
Line 1 
Line 1 
 #  #
 # $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.6 1999/12/09 00:32:36 tam Exp $  # $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.36 2000/11/27 08:15:07 ohara Exp $
   
   OpenXM_HOME = ../..
   INSTALLDIR = ${OpenXM_HOME}/lib/java-support
   
 JAVADIR = /usr/local/jdk1.1.8  #JAVADIR = /usr/local/jdk1.1.8/
 LIBDIR = ../../lib/java-support  #JAVABINDIR = ${JAVADIR}bin/
   #JAVAINCLUDEDIR = ${JAVADIR}include
   #JAVAINCLUDEDIR = /usr/local/include/kaffe
   
   JAVAC = ${JAVABINDIR}javac
   JAVAH = ${JAVABINDIR}javah
   JAR = ${JAVABINDIR}jar
   
 all:    install  JFLAGS = -O -g -deprecation
   
   # TARGETS = OMproxy.class OM2OXM.class ORG/openxm/tam/OpenXM.class
   TARGETS = OMproxy.class
   
 clean:  .SUFFIXES: .java .class
         find . -name '*.class' \  
                 -exec echo rm -f {} \; \  
                 -exec rm -f {} \;  
         -rm -f *.so *.h *.jar  
   
   .java.class:
           ${JAVAC} ${JFLAGS} -d . $<
   
 distclean:      clean  all: ${TARGETS}
         find . -name '*~' \  
                 -exec echo rm -f {} \; \  
                 -exec rm -f {} \;  
   
   configure:
   
 test:  clean:
         $(JAVADIR)/bin/javac -d . -deprecation -g *.java          -find . -name '*~' | xargs rm -f
         make libnative.so          -find . -name '*.class' | xargs rm -f OpenXM.jar
   
   distclean:      clean
   
 install:        OpenXM.jar OM2OXM.class OMproxy.class libnative.so  install: all
         if ! test -d $(LIBDIR); then \          -mkdir -p ${INSTALLDIR}
                 mkdir -p $(LIBDIR); \          find . -name '*.class' | xargs tar cf - ${TARGETS} | \
         fi          (cd ${INSTALLDIR} ; tar xf -)
         cp ${.ALLSRC} $(LIBDIR)  
   
   OpenXM.jar:     all
 .SUFFIXES:      .java .class          find ORG -name '*.class' | xargs ${JAR} cf OpenXM.jar
   
   
 .java.class :  
         $(JAVADIR)/bin/javac -d . -O ${.IMPSRC}  
   
   
 OpenXM.jar:     JP/ac/kobe_u/math/tam/OpenXM/{OpenXM,*}.class  
         @$(JAVADIR)/bin/javac -d . -O JP/ac/kobe_u/math/tam/OpenXM/OpenXM.java  
         @#$(JAVADIR)/bin/javac -d . -O ${.OODATE}  
         $(JAVADIR)/bin/jar cf OpenXM.jar `find JP/ -name '*.class'`  
   
   
 OMproxy.h:      OMproxy.class  
         $(JAVADIR)/bin/javah -jni ${.PREFIX}  
   
   
 libnative.so:   native.c OMproxy.h  
         cc -o libnative.so native.c \  
                 -shared `find $(JAVADIR)/include/ -type d | sed 's/^/-I/'`  

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.37

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