version 1.3, 1999/11/07 12:12:54 |
version 1.4, 1999/11/23 02:03:14 |
|
|
# -*- mode: Makefile; coding: euc-japan -*- |
# -*- mode: Makefile; coding: euc-japan -*- |
# $OpenXM: OpenXM/src/ox_math/Makefile.FreeBSD,v 1.2 1999/11/02 06:11:57 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_math/Makefile.FreeBSD,v 1.3 1999/11/07 12:12:54 ohara Exp $ |
|
|
# |
# |
PREFIX=/usr/local |
PREFIX=/usr/local |
|
|
MLINKDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits |
MLINKDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits |
#SYS = Solaris |
|
SYS = Linux |
SYS = Linux |
ADDONSDIR = ${MLINKDIR}/${SYS}/CompilerAdditions |
ADDONSDIR = ${MLINKDIR}/${SYS}/CompilerAdditions |
MPREP = ${ADDONSDIR}/mprep |
MPREP = ${ADDONSDIR}/mprep |
Line 13 MPREP = ${ADDONSDIR}/mprep |
|
Line 12 MPREP = ${ADDONSDIR}/mprep |
|
# ADDONSDIR = |
# ADDONSDIR = |
|
|
CC = gcc |
CC = gcc |
#GMPSRC = ${OpenXM_HOME}/src/gmp |
|
GMPSRC = /usr/lib |
GMPSRC = /usr/lib |
#GMPINC = -I${GMPSRC} |
GMPINC = -I${PREFIX}/include |
|
|
CDEFS = -DDEBUG |
CDEFS = -DDEBUG |
INCDIR = -I${ADDONSDIR} ${GMPINC} |
INCDIR = -I${ADDONSDIR} ${GMPINC} |
Line 64 testclient: testclient.o libox.a |
|
Line 62 testclient: testclient.o libox.a |
|
ox_math: serv1.o serv2.o libox.a |
ox_math: serv1.o serv2.o libox.a |
${CC} ${CFLAGS} -o $@ serv2.o serv1.o ${LIBS} |
${CC} ${CFLAGS} -o $@ serv2.o serv1.o ${LIBS} |
|
|
math2ox: math2ox.o math2.o libox.a |
math2ox: math2ox.o math2.o serv2.o libox.a |
${CC} ${CFLAGS} -o $@ math2ox.o math2.o ${LIBS} |
${CC} ${CFLAGS} -o $@ math2ox.o math2.o serv2.o ${LIBS} |
|
|
sample : sample.o libox.a |
sample : sample.o libox.a |
${CC} ${CFLAGS} -o $@ sample.o ${LIBS} |
${CC} ${CFLAGS} -o $@ sample.o ${LIBS} |