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

Annotation of OpenXM/src/ox_math/Makefile.in, Revision 1.5

1.1       ohara       1: # -*- mode: Makefile -*-
1.5     ! ohara       2: # $OpenXM: OpenXM/src/ox_math/Makefile.in,v 1.4 2000/03/08 06:43:29 ohara Exp $
1.1       ohara       3:
                      4: OpenXM_HOME=../..
                      5:
                      6: PREFIX    = @prefix@
                      7: SYS       = @ml_system@
                      8: ADDONSDIR = ${PREFIX}/mathematica/AddOns/MathLink/DevelopersKits/${SYS}/CompilerAdditions
                      9: MPREP     = ${ADDONSDIR}/mprep
                     10:
                     11: LN        = @LN_S@
                     12: CC        = @CC@
                     13: DEFS      = -DDEBUG
1.3       ohara      14: CFLAGS    = -g -O2 ${DEFS} -I${ADDONSDIR} -I${OpenXM_HOME}/include
1.4       ohara      15: LIBS      = @LIBS@ -L${OpenXM_HOME}/lib -lox -lgmp -L${ADDONSDIR} -lML -lm
1.5     ! ohara      16: STATIC_LINK_FLAGS = -static
1.1       ohara      17:
                     18: BINARIES  = ox_math math2ox
                     19: INSTALL   = @INSTALL@
                     20: INSTALL_PROGRAM = @INSTALL_PROGRAM@
                     21:
1.3       ohara      22: all: ${BINARIES}
1.1       ohara      23:
                     24: serv1.o serv2.o mlo.o: serv2.h
                     25:
1.3       ohara      26: ox_math: serv1.o serv2.o mlo.o
1.5     ! ohara      27:        ${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ serv2.o serv1.o mlo.o ${LIBS}
1.1       ohara      28:
1.3       ohara      29: math2ox: math2ox.o math2.o mlo.o serv2.o
1.5     ! ohara      30:        ${CC} ${CFLAGS} ${STATIC_LINK_FLAGS} -o $@ math2ox.o math2.o serv2.o mlo.o ${LIBS}
1.1       ohara      31:
                     32: math2.c: math2.tm
                     33:        -rm -f $@
                     34:        ${MPREP} $? > $@
                     35:
                     36: install: install-binary install-document
                     37:
                     38: install-document:
                     39:        (cd documents; ${MAKE} install-document)
                     40:
                     41: install-binary:
                     42:        if [ -x ${MPREP} ]; then \
                     43:                ${MAKE} install-binary-real ; \
                     44:        fi
                     45:
                     46: install-binary-real: ${BINARIES}
                     47:        ${INSTALL_PROGRAM} ${BINARIES} ${OpenXM_HOME}/bin/
                     48:        (cd lib; ${MAKE} install)
                     49:
                     50: install-for-debug: ${BINARIES}
                     51:        -for i in ${BINARIES}; do \
                     52:                ${LN} ${OpenXM_HOME}/src/ox_math/$$i ${OpenXM_HOME}/bin ; \
                     53:        done
                     54:
                     55: clean-for-debug:
                     56:        (cd ${OpenXM_HOME}/bin; rm -f ${BINARIES})
                     57:
                     58: clean-binary: clean-for-debug
                     59:
                     60: clean:
1.3       ohara      61:        -rm -f *.o *~ math2.c ox_math math2ox
                     62:
                     63: distclean: clean
                     64:        -rm -f .configure_done configure config.cache config.log config.status Makefile
1.5     ! ohara      65:

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