version 1.8, 2000/03/10 12:24:38 |
version 1.14, 2003/03/30 08:17:25 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.7 2000/03/08 06:41:54 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.13 2003/03/30 08:05:22 ohara Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
CC = @CC@ |
CC = @CC@ |
CFLAGS = -g -O2 -DDEBUG -I${OpenXM_HOME}/include |
DEFS = @DEFS@ |
OBJS = ox.o parse.o mysocket.o |
CFLAGS = -g -Wall -O2 ${DEFS} -I${OpenXM_HOME}/include -finline-functions |
BINARIES = bconv testclient sample1 sample2 |
OBJS = ox.o cmo.o parse.o mysocket.o mathcap.o dump.o cmolen.o print.o oxf.o oxf_old.o @USE_GMP@ gmp_fake.o |
DOCUMENTS = readme-eg readme-jp bnf-eg bnf-jp |
BINARIES = bconv testclient sample1 sample2 zclient |
|
DOCUMENTS = readme-en.txt readme-ja.txt bnf-en.txt bnf-ja.txt |
X11INC = @X_CFLAGS@ |
X11INC = @X_CFLAGS@ |
X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ |
X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ |
RANLIB = @RANLIB@ |
RANLIB = @RANLIB@ |
LIBS = @LIBS@ -L${OpenXM_HOME}/lib -L. -lox -lgmp |
GMPLIB = @GMPLIB@ |
|
LIBS = @LIBS@ -L${OpenXM_HOME}/lib libox.a ${GMPLIB} |
INSTALL_DATA= cp -f |
INSTALL_DATA= cp -f |
OXOBJS = ox.o parse.o bconv.o testclinet.o ox_Xsample.o \ |
OXOBJS = ${OBJS} bconv.o testclinet.o ox_Xsample.o sample1.o sample2.o |
sample1.o sample2.o |
|
|
|
all: libox.a ${BINARIES} ${DOCUMENTS} |
all: libox.a ${BINARIES} ${DOCUMENTS} |
|
|
Line 22 all2: all ox_Xsample |
|
Line 23 all2: all ox_Xsample |
|
|
|
ox.o mysocket.o: mysocket.h |
ox.o mysocket.o: mysocket.h |
ox.o parse.o: parse.h |
ox.o parse.o: parse.h |
${OXOBJS}: ox_toolkit.h ox_toolkit_tags.h |
${OXOBJS}: ox_toolkit.h |
|
gmp_fake.o: gmp_fake.h |
|
|
libox.a: ${OBJS} |
libox.a: ${OBJS} |
-rm -f $@ |
-rm -f $@ |
Line 35 bconv: bconv.o libox.a |
|
Line 37 bconv: bconv.o libox.a |
|
testclient: testclient.o libox.a |
testclient: testclient.o libox.a |
${CC} ${CFLAGS} -o $@ testclient.o ${LIBS} |
${CC} ${CFLAGS} -o $@ testclient.o ${LIBS} |
|
|
|
zclient: zclient.o libox.a |
|
${CC} ${CFLAGS} -o $@ zclient.o ${LIBS} |
|
|
sample1: sample1.o libox.a |
sample1: sample1.o libox.a |
${CC} ${CFLAGS} -o $@ sample1.o ${LIBS} |
${CC} ${CFLAGS} -o $@ sample1.o ${LIBS} |
|
|
Line 44 sample2: sample2.o libox.a |
|
Line 49 sample2: sample2.o libox.a |
|
ox_Xsample: ox_Xsample.o glib.c libox.a |
ox_Xsample: ox_Xsample.o glib.c libox.a |
${CC} ${CFLAGS} ${X11INC} -o $@ ox_Xsample.o glib.c ${LIBS} ${X11LIB} |
${CC} ${CFLAGS} ${X11INC} -o $@ ox_Xsample.o glib.c ${LIBS} ${X11LIB} |
|
|
readme-jp: README |
mctest: mctest.o libox.a |
${OXWEAVE} ja common < README > readme-jp |
${CC} ${CFLAGS} -o $@ mctest.o ${LIBS} |
|
|
readme-eg: README |
readme-ja.txt: README |
${OXWEAVE} en common < README > readme-eg |
${OXWEAVE} ja common < README > readme-ja.txt |
|
|
bnf-jp: bnf.oxweave |
readme-en.txt: README |
${OXWEAVE} ja common < bnf.oxweave > bnf-jp |
${OXWEAVE} en common < README > readme-en.txt |
|
|
bnf-eg: bnf.oxweave |
bnf-ja.txt: bnf.oxweave |
${OXWEAVE} en common < bnf.oxweave > bnf-eg |
${OXWEAVE} ja common < bnf.oxweave > bnf-ja.txt |
|
|
|
bnf-en.txt: bnf.oxweave |
|
${OXWEAVE} en common < bnf.oxweave > bnf-en.txt |
|
|
install: install-document install-binary |
install: install-document install-binary |
|
|
install-binary: libox.a ox_toolkit.h ox_toolkit_tags.h |
install-binary: libox.a ox_toolkit.h gmp_fake.h |
-if [ ! -d ${OpenXM_HOME}/lib ]; then \ |
-if [ ! -d ${OpenXM_HOME}/lib ]; then \ |
mkdir -p ${OpenXM_HOME}/lib ;\ |
mkdir -p ${OpenXM_HOME}/lib ;\ |
fi |
fi |
Line 66 install-binary: libox.a ox_toolkit.h ox_toolkit_tags.h |
|
Line 74 install-binary: libox.a ox_toolkit.h ox_toolkit_tags.h |
|
mkdir -p ${OpenXM_HOME}/include ;\ |
mkdir -p ${OpenXM_HOME}/include ;\ |
fi |
fi |
${INSTALL_DATA} libox.a ${OpenXM_HOME}/lib |
${INSTALL_DATA} libox.a ${OpenXM_HOME}/lib |
${INSTALL_DATA} ox_toolkit.h ox_toolkit_tags.h ${OpenXM_HOME}/include |
${INSTALL_DATA} ox_toolkit.h ${OpenXM_HOME}/include |
|
${INSTALL_DATA} gmp_fake.h ${OpenXM_HOME}/include |
|
|
install-for-debug: |
install-for-debug: |
@echo "No binaries are installed." |
@echo "No binaries are installed." |
|
|
clean: clean-document clean-binary |
clean: clean-document clean-binary |
|
|
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 |
|
|