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

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

version 1.12, 2000/01/17 16:53:43 version 1.37, 2000/11/28 10:06:45
Line 1 
Line 1 
 #  #
 # $OpenXM: OpenXM/src/OpenMath/Makefile,v 1.11 2000/01/17 15:42:00 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/
 JAVABINDIR = $(JAVADIR)bin/  #JAVABINDIR = ${JAVADIR}bin/
 LIBDIR = ../../lib/java-support  #JAVAINCLUDEDIR = ${JAVADIR}include
   #JAVAINCLUDEDIR = /usr/local/include/kaffe
   
 TARGETS = OpenXM.jar OM2OXM.class OMproxy.class libnative.so  JAVAC = ${JAVABINDIR}javac
   JAVAH = ${JAVABINDIR}javah
   JAR = ${JAVABINDIR}jar
   
   JFLAGS = -O -g -deprecation
   
 all:    configure $(TARGETS)  # TARGETS = OMproxy.class OM2OXM.class ORG/openxm/tam/OpenXM.class
   TARGETS = OMproxy.class
   
   .SUFFIXES: .java .class
   
 configure:  .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 {} \;  
         -rm -f *.so *.h *.jar  
   
   
 distclean:      clean  distclean:      clean
         find . -name '*~' \  
                 -exec echo rm -f {} \; \  
                 -exec rm -f {} \;  
   
   install: all
           -mkdir -p ${INSTALLDIR}
           find . -name '*.class' | xargs tar cf - ${TARGETS} | \
           (cd ${INSTALLDIR} ; tar xf -)
   
 install:        all  OpenXM.jar:     all
         if ! test -d $(LIBDIR); then \          find ORG -name '*.class' | xargs ${JAR} cf OpenXM.jar
                 mkdir -p $(LIBDIR); \  
         fi  
         cp `find . -name '*.class'` $(TARGETS) $(LIBDIR)  
   
   
 install2:  
   
   
 test:  
         $(JAVADIR)/bin/javac -d . -deprecation -g *.java  
         make libnative.so  
   
   
 .SUFFIXES:      .java .class  
   
   
 .java.class:  
         $(JAVABINDIR)javac -d . -O $<  
   
   
 OpenXM.jar:     JP/ac/kobe_u/math/tam/OpenXM/*.java  
         @echo jar  
         @#$(JAVABINDIR)javac -d . -O JP/ac/kobe_u/math/tam/OpenXM/OpenXM.java  
         $(JAVABINDIR)javac -d . -O $?  
         -$(JAVABINDIR)jar cf OpenXM.jar `find JP/ -name '*.class'`  
   
   
 OMproxy.h:      OMproxy.class  
         -$(JAVABINDIR)javah -jni $*  
   
   
 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.12  
changed lines
  Added in v.1.37

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