Annotation of OpenXM/src/ox_toolkit/Makefile.in, Revision 1.11
1.1 ohara 1: # -*- mode: Makefile -*-
1.11 ! ohara 2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.10 2000/11/18 05:48:12 ohara Exp $
1.1 ohara 3:
4: OpenXM_HOME = ../..
5: OXWEAVE = ${OpenXM_HOME}/bin/oxweave
6: CC = @CC@
1.9 ohara 7: CFLAGS = -g -Wall -O2 -DDEBUG -I${OpenXM_HOME}/include -finline-functions
8: OBJS = ox.o cmo.o parse.o mysocket.o mathcap.o dump.o cmolen.o print.o oxf.o oxf_old.o
9: BINARIES = bconv testclient sample1 sample2 zclient
1.11 ! ohara 10: DOCUMENTS = readme-en.txt readme-ja.txt bnf-en.txt bnf-ja.txt
1.1 ohara 11: X11INC = @X_CFLAGS@
12: X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
13: RANLIB = @RANLIB@
1.4 ohara 14: LIBS = @LIBS@ -L${OpenXM_HOME}/lib -L. -lox -lgmp
1.1 ohara 15: INSTALL_DATA= cp -f
1.9 ohara 16: OXOBJS = ${OBJS} bconv.o testclinet.o ox_Xsample.o sample1.o sample2.o
1.1 ohara 17:
1.6 ohara 18: all: libox.a ${BINARIES} ${DOCUMENTS}
1.1 ohara 19:
20: all2: all ox_Xsample
21:
22: ox.o mysocket.o: mysocket.h
1.8 ohara 23: ox.o parse.o: parse.h
1.10 ohara 24: ${OXOBJS}: ox_toolkit.h
1.1 ohara 25:
26: libox.a: ${OBJS}
27: -rm -f $@
28: ar -rc $@ ${OBJS}
29: ${RANLIB} $@
30:
1.6 ohara 31: bconv: bconv.o libox.a
1.1 ohara 32: ${CC} ${CFLAGS} -o $@ bconv.o ${LIBS}
33:
1.6 ohara 34: testclient: testclient.o libox.a
1.1 ohara 35: ${CC} ${CFLAGS} -o $@ testclient.o ${LIBS}
1.9 ohara 36:
37: zclient: zclient.o libox.a
38: ${CC} ${CFLAGS} -o $@ zclient.o ${LIBS}
1.1 ohara 39:
1.6 ohara 40: sample1: sample1.o libox.a
1.1 ohara 41: ${CC} ${CFLAGS} -o $@ sample1.o ${LIBS}
42:
1.6 ohara 43: sample2: sample2.o libox.a
1.1 ohara 44: ${CC} ${CFLAGS} -o $@ sample2.o ${LIBS}
45:
1.6 ohara 46: ox_Xsample: ox_Xsample.o glib.c libox.a
1.1 ohara 47: ${CC} ${CFLAGS} ${X11INC} -o $@ ox_Xsample.o glib.c ${LIBS} ${X11LIB}
48:
1.10 ohara 49: mctest: mctest.o libox.a
50: ${CC} ${CFLAGS} -o $@ mctest.o ${LIBS}
51:
1.11 ! ohara 52: readme-ja.txt: README
! 53: ${OXWEAVE} ja common < README > readme-ja.txt
1.1 ohara 54:
1.11 ! ohara 55: readme-en.txt: README
! 56: ${OXWEAVE} en common < README > readme-en.txt
1.1 ohara 57:
1.11 ! ohara 58: bnf-ja.txt: bnf.oxweave
! 59: ${OXWEAVE} ja common < bnf.oxweave > bnf-ja.txt
1.1 ohara 60:
1.11 ! ohara 61: bnf-en.txt: bnf.oxweave
! 62: ${OXWEAVE} en common < bnf.oxweave > bnf-en.txt
1.1 ohara 63:
1.3 ohara 64: install: install-document install-binary
1.1 ohara 65:
1.10 ohara 66: install-binary: libox.a ox_toolkit.h
1.4 ohara 67: -if [ ! -d ${OpenXM_HOME}/lib ]; then \
68: mkdir -p ${OpenXM_HOME}/lib ;\
69: fi
70: -if [ ! -d ${OpenXM_HOME}/include ]; then \
71: mkdir -p ${OpenXM_HOME}/include ;\
1.3 ohara 72: fi
1.4 ohara 73: ${INSTALL_DATA} libox.a ${OpenXM_HOME}/lib
1.10 ohara 74: ${INSTALL_DATA} ox_toolkit.h ${OpenXM_HOME}/include
1.1 ohara 75:
76: install-for-debug:
77: @echo "No binaries are installed."
78:
79: install-document: ${DOCUMENTS}
80: -mkdir ${OpenXM_HOME}/doc/ox_toolkit
81: ${INSTALL_DATA} ${DOCUMENTS} ${OpenXM_HOME}/doc/ox_toolkit
82:
83: clean-document:
84: -rm -f ${DOCUMENTS}
85:
86: clean-binary:
1.6 ohara 87: -rm -f *.o *~ libox.a ${BINARIES} ox_Xsample core a.out
1.1 ohara 88:
89: clean: clean-document clean-binary
1.4 ohara 90:
1.5 ohara 91: distclean: clean
92: -rm -f .configure_done configure config.cache config.log config.status Makefile
93:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>