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

Diff for /OpenXM/src/ox_math/Makefile.linux between version 1.9 and 1.10

version 1.9, 1999/12/09 22:52:49 version 1.10, 1999/12/15 05:40:21
Line 1 
Line 1 
 # -*- mode: Makefile; coding: euc-japan -*-  # -*- mode: Makefile -*-
 # $OpenXM: OpenXM/src/ox_math/Makefile.linux,v 1.8 1999/11/29 12:14:26 ohara Exp $  # $OpenXM: OpenXM/src/ox_math/Makefile.linux,v 1.9 1999/12/09 22:52:49 ohara Exp $
   
 #  
 PREFIX=/usr/local  PREFIX=/usr/local
   
 MLINKDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits  MLINKDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits
Line 10  ADDONSDIR = ${MLINKDIR}/${SYS}/CompilerAdditions
Line 9  ADDONSDIR = ${MLINKDIR}/${SYS}/CompilerAdditions
 MPREP = ${ADDONSDIR}/mprep  MPREP = ${ADDONSDIR}/mprep
   
 GMPSRC = ${OpenXM_HOME}/src/gmp  GMPSRC = ${OpenXM_HOME}/src/gmp
 GMPINC = -I${GMPSRC}  
   
 CDEFS  = -DDEBUG  CDEFS  = -DDEBUG
 INCDIR = -I${ADDONSDIR} ${GMPINC} -I${OpenXM_HOME}/src/ox_toolkit  INCDIR = -I${ADDONSDIR} -I${GMPSRC} -I${OpenXM_HOME}/src/ox_toolkit
 LIBDIR = -L${ADDONSDIR} -L.  LIBDIR = -L${ADDONSDIR} -L.
 CFLAGS = -g -O2 ${CDEFS} ${INCDIR} ${LIBDIR}  CFLAGS = -g -O2 ${CDEFS} ${INCDIR} ${LIBDIR}
   
 #SOLLIBS  = -lsocket -lnsl  LIBS = -lox -lgmp -lML -lm
 MATHLIBS = -lML  -lm  
 LIBS = -lox -lgmp ${MATHLIBS} ${SOLLIBS}  
   
 BINARIES = bconv testclient ox_math math2ox  BINARIES = ox_math math2ox
   
 all: libgmp.a libox.a $(BINARIES)  all: libgmp.a libox.a ${BINARIES}
   
 serv1.o serv2.o mlo.o: serv2.h  serv1.o serv2.o mlo.o: serv2.h
   
Line 36  libox.a:
Line 32  libox.a:
         (cd ${OpenXM_HOME}/src/ox_toolkit; ${MAKE} libox.a)          (cd ${OpenXM_HOME}/src/ox_toolkit; ${MAKE} libox.a)
         ln -s ${OpenXM_HOME}/src/ox_toolkit/libox.a .          ln -s ${OpenXM_HOME}/src/ox_toolkit/libox.a .
   
 bconv: bconv.o libox.a libgmp.a  
         ${CC} ${CFLAGS} -o $@ bconv.o ${LIBS}  
   
 testclient: testclient.o libox.a libgmp.a  
         ${CC} ${CFLAGS} -o $@ testclient.o ${LIBS}  
   
 ox_math: serv1.o serv2.o mlo.o libox.a libgmp.a  ox_math: serv1.o serv2.o mlo.o libox.a libgmp.a
         ${CC} ${CFLAGS} -o $@ serv2.o serv1.o mlo.o ${LIBS}          ${CC} ${CFLAGS} -o $@ serv2.o serv1.o mlo.o ${LIBS}
   
Line 52  math2.c: math2.tm
Line 42  math2.c: math2.tm
         -rm -f $@          -rm -f $@
         ${MPREP} $? > $@          ${MPREP} $? > $@
   
 install-bin:  $(BINARIES)  install-bin: ${BINARIES}
         install -c -m 755  $(BINARIES) ${OpenXM_HOME}/bin/          install -c -m 755  ${BINARIES} ${OpenXM_HOME}/bin/
   
 install:  $(BINARIES)  install: ${BINARIES}
         -ln -s $(BINARIES) ${OpenXM_HOME}/bin          -for i in ${BINARIES}; do \
                   ln -s -f ../src/ox_math/$$i ${OpenXM_HOME}/bin ; \
           done
   
 clean:  clean:
         -rm -f *.o *~ libox.a libgmp.a math2.c          -rm -f *.o *~ libox.a libgmp.a math2.c ox_math math2ox
         -rm -f bconv testclient ox_math math2ox  
         -rm -f sample  

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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