[BACK]Return to Makefile.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

Diff for /OpenXM/src/ox_math/Makefile.in between version 1.1 and 1.14

version 1.1, 2000/02/08 21:14:01 version 1.14, 2003/02/04 14:21:17
Line 1 
Line 1 
 # -*- mode: Makefile -*-  # -*- mode: Makefile -*-
 # $OpenXM$  # $OpenXM: OpenXM/src/ox_math/Makefile.in,v 1.13 2003/01/15 05:13:10 ohara Exp $
   
 OpenXM_HOME=../..  OpenXM_HOME=../..
   
 PREFIX    = @prefix@  PREFIX    = @prefix@
 SYS       = @ml_system@  SYS       = @ml_system@
 ADDONSDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits/${SYS}/CompilerAdditions  ADDONSDIR = /usr/local/mathematica/AddOns/MathLink/DevelopersKits/${SYS}/CompilerAdditions
 MPREP     = ${ADDONSDIR}/mprep  MPREP     = ${ADDONSDIR}/mprep
   
 GMPSRC    = ${OpenXM_HOME}/src/gmp  
 OXTK      = ${OpenXM_HOME}/src/ox_toolkit  
 LN        = @LN_S@  LN        = @LN_S@
 CC        = @CC@  CC        = @CC@
 DEFS      = -DDEBUG  DEFS      = -DDEBUG
 CFLAGS    = -g -O2 ${DEFS} -I${ADDONSDIR} -I${GMPSRC} -I${OXTK}  CFLAGS    = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include
 LIBS      = @LIBS@ -L. -lox -lgmp -L${ADDONSDIR} -lML -lm  LIBS      = @LIBS@ -L${OpenXM_HOME}/lib -lox -lgmp -L${ADDONSDIR} -lML -lm
   STATIC_LINK_FLAGS = @static_link_flags@
   TM_C      = math2.c int.c
   
 BINARIES  = ox_math math2ox  BINARIES  = ox_math math2ox test1 test2
 INSTALL   = @INSTALL@  INSTALL   = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@  INSTALL_PROGRAM = @INSTALL_PROGRAM@
   
 all: libgmp.a libox.a ${BINARIES}  .SUFFIXES: .tm .c
   
 serv1.o serv2.o mlo.o: serv2.h  .tm.c:
           -rm -f $@
           ${MPREP} $? > $@
   
 libgmp.a:  all: ${BINARIES}
         if [ ! -f ${GMPSRC}/libgmp.a ]; then \  
                 (cd ${GMPSRC}; ./configure; ${MAKE} libgmp.a) \  
         fi  
         ${LN} ${GMPSRC}/libgmp.a .  
   
 libox.a:  test1: test1.o mlo.o
         if [ ! -f ${OXTK}/libox.a ]; then \          ${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ test1.o mlo.o ${LIBS}
                 (cd ${OXTK}; ./make-configure; ${MAKE} libox.a) \  
         fi  
         ${LN} ${OXTK}/libox.a .  
   
 ox_math: serv1.o serv2.o mlo.o libox.a libgmp.a  test2: test2.o int.o
         ${CC} ${CFLAGS} -o $@ serv2.o serv1.o mlo.o ${LIBS}          ${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ test2.o int.o ${LIBS}
   
 math2ox: math2ox.o math2.o mlo.o serv2.o libox.a libgmp.a  serv1.o sm.o sm_ext.o mlo.o: sm.h
         ${CC} ${CFLAGS} -o $@ math2ox.o math2.o serv2.o mlo.o ${LIBS}  
   
 math2.c: math2.tm  ox_math: serv1.o sm.o sm_ext.o mlo.o
         -rm -f $@          ${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ serv1.o sm.o sm_ext.o mlo.o ${LIBS}
         ${MPREP} $? > $@  
   
   math2ox: math2ox.o math2.o mlo.o
           ${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o mlo.o ${LIBS}
   
 install: install-binary install-document  install: install-binary install-document
   
 install-document:  install-document:
Line 71  clean-for-debug: 
Line 67  clean-for-debug: 
 clean-binary: clean-for-debug  clean-binary: clean-for-debug
   
 clean:  clean:
         -rm -f *.o *~ libox.a libgmp.a math2.c ox_math math2ox          -rm -f *.o *~ ${TM_C} ${BINARIES}
   
   distclean: clean
           -rm -f .configure_done configure config.cache config.log config.status Makefile
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.14

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