version 1.9, 2000/12/03 22:09:34 |
version 1.20, 2005/03/03 06:48:15 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_math/Makefile.in,v 1.8 2000/12/03 21:46:52 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_math/Makefile.in,v 1.19 2005/02/09 07:13:49 ohara Exp $ |
|
|
OpenXM_HOME=../.. |
OpenXM_HOME=../.. |
|
|
Line 10 MPREP = ${ADDONSDIR}/mprep |
|
Line 10 MPREP = ${ADDONSDIR}/mprep |
|
|
|
LN = @LN_S@ |
LN = @LN_S@ |
CC = @CC@ |
CC = @CC@ |
DEFS = -DDEBUG |
DEFS = @DEFS@ |
CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include |
CFLAGS = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include |
LIBS = @LIBS@ -L${OpenXM_HOME}/lib -lox -lgmp -L${ADDONSDIR} -lML -lm |
LIBS = @LIBS@ -L${OpenXM_HOME}/lib -lox -lgc -L${ADDONSDIR} -lML -lm -lgmp |
STATIC_LINK_FLAGS = @static_link_flags@ |
# STATIC_LINK_FLAGS = @static_link_flags@ |
|
TM_C = math2.c int.c |
|
|
|
BINARIES = ox_math math2ox test1 test2 |
BINARIES = ox_math math2ox |
|
INSTALL = @INSTALL@ |
INSTALL = @INSTALL@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
|
|
.SUFFIXES: .tm .c |
|
|
|
.tm.c: |
|
-rm -f $@ |
|
${MPREP} $? > $@ |
|
|
all: ${BINARIES} |
all: ${BINARIES} |
|
|
|
math2.o: math2.c |
|
int.o: int.c |
|
|
|
test1: test1.o mlo.o |
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ test1.o mlo.o ${LIBS} |
|
|
|
test2: test2.o int.o |
|
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ test2.o int.o ${LIBS} |
|
|
serv1.o sm.o sm_ext.o mlo.o: sm.h |
serv1.o sm.o sm_ext.o mlo.o: sm.h |
|
|
ox_math: serv1.o sm.o sm_ext.o mlo.o |
ox_math: serv1.o sm.o sm_ext.o mlo.o |
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ sm.o sm_ext.o serv1.o mlo.o ${LIBS} |
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ serv1.o sm.o sm_ext.o mlo.o ${LIBS} |
|
|
math2ox: math2ox.o math2.o mlo.o sm_ext.o |
math2ox: math2ox.o math2.o mlo.o |
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o sm.o sm_ext.o mlo.o ${LIBS} |
${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o mlo.o ${LIBS} |
|
|
math2.c: math2.tm |
|
-rm -f $@ |
|
${MPREP} $? > $@ |
|
|
|
install: install-binary install-document |
install: install-binary install-document |
|
|
install-document: |
install-document: |
|
|
clean-binary: clean-for-debug |
clean-binary: clean-for-debug |
|
|
clean: |
clean: |
-rm -f *.o *~ math2.c ox_math math2ox |
-rm -f *.o *~ ${TM_C} ${BINARIES} |
|
|
distclean: clean |
distclean: clean |
-rm -f .configure_done configure config.cache config.log config.status Makefile |
-rm -f .configure_done config.cache config.log config.status Makefile |
|
|