version 1.4, 2000/03/08 05:46:14 |
version 1.7, 2000/03/08 06:41:54 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.3 2000/03/05 14:55:18 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.6 2000/03/08 06:26:19 ohara Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
GMPSRC = ${OpenXM_HOME}/src/gmp |
|
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
CC = @CC@ |
CC = @CC@ |
CFLAGS = -g -O2 -DDEBUG -I${GMPSRC} |
CFLAGS = -g -O2 -DDEBUG -I${OpenXM_HOME}/include |
OBJS = ox.o parse.o mysocket.o |
OBJS = ox.o parse.o mysocket.o |
BINARIES = bconv testclient sample1 sample2 |
BINARIES = bconv testclient sample1 sample2 |
DOCUMENTS = readme-eg readme-jp bnf-eg bnf-jp |
DOCUMENTS = readme-eg readme-jp bnf-eg bnf-jp |
Line 15 RANLIB = @RANLIB@ |
|
Line 14 RANLIB = @RANLIB@ |
|
LIBS = @LIBS@ -L${OpenXM_HOME}/lib -L. -lox -lgmp |
LIBS = @LIBS@ -L${OpenXM_HOME}/lib -L. -lox -lgmp |
INSTALL_DATA= cp -f |
INSTALL_DATA= cp -f |
|
|
all: libox.a libgmp.a ${BINARIES} ${DOCUMENTS} |
all: libox.a ${BINARIES} ${DOCUMENTS} |
|
|
all2: all ox_Xsample |
all2: all ox_Xsample |
|
|
|
|
ar -rc $@ ${OBJS} |
ar -rc $@ ${OBJS} |
${RANLIB} $@ |
${RANLIB} $@ |
|
|
bconv: bconv.o libox.a libgmp.a |
bconv: bconv.o libox.a |
${CC} ${CFLAGS} -o $@ bconv.o ${LIBS} |
${CC} ${CFLAGS} -o $@ bconv.o ${LIBS} |
|
|
testclient: testclient.o libox.a libgmp.a |
testclient: testclient.o libox.a |
${CC} ${CFLAGS} -o $@ testclient.o ${LIBS} |
${CC} ${CFLAGS} -o $@ testclient.o ${LIBS} |
|
|
sample1: sample1.o libox.a libgmp.a |
sample1: sample1.o libox.a |
${CC} ${CFLAGS} -o $@ sample1.o ${LIBS} |
${CC} ${CFLAGS} -o $@ sample1.o ${LIBS} |
|
|
sample2: sample2.o libox.a libgmp.a |
sample2: sample2.o libox.a |
${CC} ${CFLAGS} -o $@ sample2.o ${LIBS} |
${CC} ${CFLAGS} -o $@ sample2.o ${LIBS} |
|
|
ox_Xsample: ox_Xsample.o glib.c libox.a libgmp.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 |
readme-jp: README |
Line 64 install-binary: libox.a ox.h |
|
Line 63 install-binary: libox.a ox.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.h ${OpenXM_HOME}/include |
${INSTALL_DATA} ox.h oxtag.h parse.h ${OpenXM_HOME}/include |
|
|
install-for-debug: |
install-for-debug: |
@echo "No binaries are installed." |
@echo "No binaries are installed." |
|
|
-rm -f ${DOCUMENTS} |
-rm -f ${DOCUMENTS} |
|
|
clean-binary: |
clean-binary: |
-rm -f *.o *~ libox.a libgmp.a ${BINARIES} ox_Xsample core a.out |
-rm -f *.o *~ libox.a ${BINARIES} ox_Xsample core a.out |
|
|
clean: clean-document clean-binary |
clean: clean-document clean-binary |
|
|
distclean: |
|
-rm -f .configure_done configure config.cache config.log config.status Makefile |
|
|
|
|
distclean: clean |
|
-rm -f .configure_done configure config.cache config.log config.status Makefile |
|
|