version 1.6, 2000/03/13 06:27:48 |
version 1.11, 2003/01/12 03:16:38 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_math/Makefile.in,v 1.5 2000/03/11 05:01:47 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_math/Makefile.in,v 1.10 2003/01/11 12:39:11 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 |
|
|
LN = @LN_S@ |
LN = @LN_S@ |
Line 20 BINARIES = ox_math math2ox |
|
Line 20 BINARIES = ox_math math2ox |
|
INSTALL = @INSTALL@ |
INSTALL = @INSTALL@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
|
all: ${BINARIES} |
.SUFFIXES: .tm .c |
|
|
serv1.o serv2.o mlo.o: serv2.h |
.tm.c: |
|
-rm -f $@ |
|
${MPREP} $? > $@ |
|
|
ox_math: serv1.o serv2.o mlo.o |
all: ${BINARIES} |
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ serv2.o serv1.o mlo.o ${LIBS} |
|
|
|
math2ox: math2ox.o math2.o mlo.o serv2.o |
serv1.o sm.o sm_ext.o mlo.o: sm.h |
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -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 $@ sm.o sm_ext.o serv1.o mlo.o ${LIBS} |
${MPREP} $? > $@ |
|
|
math2ox: math2ox.o math2.o mlo.o sm.o sm_ext.o |
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o sm.o sm_ext.o mlo.o ${LIBS} |
|
|
install: install-binary install-document |
install: install-binary install-document |
|
|