[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.36

version 1.7, 2000/01/13 12:35:56 version 1.36, 2000/11/27 08:15:07
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.35 2000/09/13 06:44:55 tam 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  PKGSRCS =       \
           ORG/openxm/tam/CMO.java \
           ORG/openxm/tam/CMO_BIGFLOAT.java \
           ORG/openxm/tam/CMO_DATUM.java \
           ORG/openxm/tam/CMO_DISTRIBUTED_POLYNOMIAL.java \
           ORG/openxm/tam/CMO_DMS.java \
           ORG/openxm/tam/CMO_DMS_GENERIC.java \
           ORG/openxm/tam/CMO_ERROR2.java \
           ORG/openxm/tam/CMO_INDETERMINATE.java \
           ORG/openxm/tam/CMO_INT32.java \
           ORG/openxm/tam/CMO_LIST.java \
           ORG/openxm/tam/CMO_MATHCAP.java \
           ORG/openxm/tam/CMO_MONOMIAL32.java \
           ORG/openxm/tam/CMO_NULL.java \
           ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.java \
           ORG/openxm/tam/CMO_QQ.java \
           ORG/openxm/tam/CMO_RATIONAL.java \
           ORG/openxm/tam/CMO_RECURSIVE_POLYNOMIAL.java \
           ORG/openxm/tam/CMO_STRING.java \
           ORG/openxm/tam/CMO_TREE.java \
           ORG/openxm/tam/CMO_ZERO.java \
           ORG/openxm/tam/CMO_ZZ.java \
           ORG/openxm/tam/MathcapViolation.java \
           ORG/openxm/tam/OXbody.java \
           ORG/openxm/tam/OXmessage.java \
           ORG/openxm/tam/OpenXM.java \
           ORG/openxm/tam/OpenXMserver.java \
           ORG/openxm/tam/OpenXMstream.java \
           ORG/openxm/tam/SM.java
   
   PKGTARGETS =    ORG/openxm/tam/CMO.class \
           ORG/openxm/tam/CMO_BIGFLOAT.class \
           ORG/openxm/tam/CMO_DATUM.class \
           ORG/openxm/tam/CMO_DISTRIBUTED_POLYNOMIAL.class \
           ORG/openxm/tam/CMO_DMS.class \
           ORG/openxm/tam/CMO_DMS_GENERIC.class \
           ORG/openxm/tam/CMO_ERROR2.class \
           ORG/openxm/tam/CMO_INDETERMINATE.class \
           ORG/openxm/tam/CMO_INT32.class \
           ORG/openxm/tam/CMO_LIST.class \
           ORG/openxm/tam/CMO_MATHCAP.class \
           ORG/openxm/tam/CMO_MONOMIAL32.class \
           ORG/openxm/tam/CMO_NULL.class \
           ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.class \
           ORG/openxm/tam/CMO_QQ.class \
           ORG/openxm/tam/CMO_RATIONAL.class \
           ORG/openxm/tam/CMO_RECURSIVE_POLYNOMIAL.class \
           ORG/openxm/tam/CMO_STRING.class \
           ORG/openxm/tam/CMO_TREE.class \
           ORG/openxm/tam/CMO_ZERO.class \
           ORG/openxm/tam/CMO_ZZ.class \
           ORG/openxm/tam/MathcapViolation.class \
           ORG/openxm/tam/OpenXM.class \
           ORG/openxm/tam/OpenXMserver.class \
           ORG/openxm/tam/OpenXMstream.class \
           ORG/openxm/tam/OXbody.class \
           ORG/openxm/tam/OXmessage.class \
           ORG/openxm/tam/SM.class
   
 clean:  TARGETS = OM2OXM.class OMproxy.class
         find . -name '*.class' \  
                 -exec echo rm -f {} \; \  
                 -exec rm -f {} \;  
         -rm -f *.so *.h *.jar  
   
   .SUFFIXES: .java .class
   
 distclean:      clean  .java.class:
         find . -name '*~' \          $(JAVAC) -d . -g -O $<
                 -exec echo rm -f {} \; \  
                 -exec rm -f {} \;  
   
   all:    clean configure OpenXM.jar $(TARGETS)
   
 test:  configure:
         $(JAVADIR)/bin/javac -d . -deprecation -g *.java  
         make libnative.so  
   
   clean:
           -find . -name '*.class' | xargs rm -f *.jar
   
 install:        OpenXM.jar OM2OXM.class OMproxy.class libnative.so  distclean:      clean
         if ! test -d $(LIBDIR); then \          -find . -name '*~' | xargs rm -f
                 mkdir -p $(LIBDIR); \  
         fi  
         cp ${.ALLSRC} $(LIBDIR)  
   
   install:        all
           -mkdir -p $(INSTALLDIR)
           find . -name '*.class' | \
           xargs tar cf - $(TARGETS) | \
           (cd $(INSTALLDIR) ; tar xf -)
   
 .SUFFIXES:      .java .class  install2:
   
   test:
           $(JAVAC) -d . -deprecation -g *.java
   
 .java.class :  OpenXM.jar:     $(PKGSRCS)
         $(JAVADIR)/bin/javac -d . -O ${.IMPSRC}          -$(JAVAC) -d . -g -O $?
   #       -@touch $@
   #       -@$(JAR) cf $@ $(PKGTARGETS)
 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.36

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