version 1.14, 2003/03/30 08:17:25 |
version 1.17, 2004/06/21 10:15:30 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.13 2003/03/30 08:05:22 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.16 2004/02/28 23:39:38 ohara Exp $ |
|
|
OpenXM_HOME = ../.. |
OpenXM_HOME = ../.. |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
|
|
DEFS = @DEFS@ |
DEFS = @DEFS@ |
CFLAGS = -g -Wall -O2 ${DEFS} -I${OpenXM_HOME}/include -finline-functions |
CFLAGS = -g -Wall -O2 ${DEFS} -I${OpenXM_HOME}/include -finline-functions |
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 |
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 |
|
LOBJS = ${OBJS:.o=.lo} |
BINARIES = bconv testclient sample1 sample2 zclient |
BINARIES = bconv testclient sample1 sample2 zclient |
DOCUMENTS = readme-en.txt readme-ja.txt bnf-en.txt bnf-ja.txt |
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@ |
GMPLIB = @GMPLIB@ |
GMPLIB = @GMPLIB@ |
LIBS = @LIBS@ -L${OpenXM_HOME}/lib libox.a ${GMPLIB} |
LIBS_PRE = @LIBS@ -L${OpenXM_HOME}/lib ${GMPLIB} |
INSTALL_DATA= cp -f |
LIBS_POST = -L${OpenXM_HOME}/lib -lgc |
|
LIBS = ${LIBS_PRE} libox.a ${LIBS_POST} |
|
INSTALL = @INSTALL@ |
|
INSTALL_DATA= @INSTALL_DATA@ |
OXOBJS = ${OBJS} bconv.o testclinet.o ox_Xsample.o sample1.o sample2.o |
OXOBJS = ${OBJS} bconv.o testclinet.o ox_Xsample.o sample1.o sample2.o |
|
PICFLAGS = -fpic -fPIC |
|
|
|
.SUFFIXES: .c .lo |
|
|
|
.c.lo: |
|
${CC} ${CFLAGS} ${PICFLAGS} -o $@ -c $< |
|
|
all: libox.a ${BINARIES} ${DOCUMENTS} |
all: libox.a ${BINARIES} ${DOCUMENTS} |
|
|
all2: all ox_Xsample |
all2: all ox_Xsample |
|
|
|
all3: libox.so all |
|
|
|
libox.so: ${LOBJS} |
|
-rm -f $@ |
|
${CC} -shared ${CFLAGS} -o $@ ${LOBJS} ${LIBS_PRE} ${LIBS_POST} |
|
|
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 |
${OXOBJS}: ox_toolkit.h |
|
|
-rm -f ${DOCUMENTS} |
-rm -f ${DOCUMENTS} |
|
|
clean-binary: |
clean-binary: |
-rm -f *.o *~ libox.a ${BINARIES} ox_Xsample core a.out |
-rm -f *.o *.lo *~ libox.a libox.so ${BINARIES} ox_Xsample core a.out |
|
|
clean: clean-document clean-binary |
clean: clean-document clean-binary |
|
|