version 1.1, 2000/02/08 09:51:13 |
version 1.3, 2000/03/05 14:55:18 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM$ |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.2 2000/02/08 20:33:06 ohara Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
GMPSRC = ${OpenXM_HOME}/src/gmp |
GMPSRC = ${OpenXM_HOME}/src/gmp |
Line 14 X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIB |
|
Line 14 X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIB |
|
RANLIB = @RANLIB@ |
RANLIB = @RANLIB@ |
LIBS = @LIBS@ -L. -lox -lgmp |
LIBS = @LIBS@ -L. -lox -lgmp |
INSTALL_DATA= cp -f |
INSTALL_DATA= cp -f |
|
LN = @LN_S@ |
|
|
all: libox.a libgmp.a ${BINARIES} ${DOCUMENTS} |
all: libox.a libgmp.a ${BINARIES} ${DOCUMENTS} |
|
|
Line 24 ox.o parse.o: ox.h oxtag.h parse.h |
|
Line 25 ox.o parse.o: ox.h oxtag.h parse.h |
|
|
|
libgmp.a: |
libgmp.a: |
test -f ${GMPSRC}/libgmp.a || (cd ${GMPSRC}; ./configure; ${MAKE}) |
test -f ${GMPSRC}/libgmp.a || (cd ${GMPSRC}; ./configure; ${MAKE}) |
-ln -s ${GMPSRC}/libgmp.a . |
-${LN} ${GMPSRC}/libgmp.a . |
|
|
libox.a: ${OBJS} |
libox.a: ${OBJS} |
-rm -f $@ |
-rm -f $@ |
Line 58 bnf-jp: bnf.oxweave |
|
Line 59 bnf-jp: bnf.oxweave |
|
bnf-eg: bnf.oxweave |
bnf-eg: bnf.oxweave |
${OXWEAVE} en common < bnf.oxweave > bnf-eg |
${OXWEAVE} en common < bnf.oxweave > bnf-eg |
|
|
install: install-document |
install: install-document install-binary |
|
|
install-binary: |
install-binary: libox.a ox.h |
@echo "No binaries are installed." |
-if [ ! -d ${OpenXM_HOME}/include/ox ]; then \ |
|
mkdir -p ${OpenXM_HOME}/include/ox ;\ |
|
fi |
|
cp -f libox.a ${OpenXM_HOME}/lib |
|
cp -f ox.h ${OpenXM_HOME}/include/ox |
|
|
install-for-debug: |
install-for-debug: |
@echo "No binaries are installed." |
@echo "No binaries are installed." |