Annotation of OpenXM/src/ox_toolkit/Makefile.in, Revision 1.9
1.1 ohara 1: # -*- mode: Makefile -*-
1.9 ! ohara 2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.8 2000/03/10 12:24:38 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.1 ohara 10: DOCUMENTS = readme-eg readme-jp bnf-eg bnf-jp
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
24: ${OXOBJS}: ox_toolkit.h ox_toolkit_tags.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:
49: readme-jp: README
50: ${OXWEAVE} ja common < README > readme-jp
51:
52: readme-eg: README
53: ${OXWEAVE} en common < README > readme-eg
54:
55: bnf-jp: bnf.oxweave
56: ${OXWEAVE} ja common < bnf.oxweave > bnf-jp
57:
58: bnf-eg: bnf.oxweave
59: ${OXWEAVE} en common < bnf.oxweave > bnf-eg
60:
1.3 ohara 61: install: install-document install-binary
1.1 ohara 62:
1.8 ohara 63: install-binary: libox.a ox_toolkit.h ox_toolkit_tags.h
1.4 ohara 64: -if [ ! -d ${OpenXM_HOME}/lib ]; then \
65: mkdir -p ${OpenXM_HOME}/lib ;\
66: fi
67: -if [ ! -d ${OpenXM_HOME}/include ]; then \
68: mkdir -p ${OpenXM_HOME}/include ;\
1.3 ohara 69: fi
1.4 ohara 70: ${INSTALL_DATA} libox.a ${OpenXM_HOME}/lib
1.8 ohara 71: ${INSTALL_DATA} ox_toolkit.h ox_toolkit_tags.h ${OpenXM_HOME}/include
1.1 ohara 72:
73: install-for-debug:
74: @echo "No binaries are installed."
75:
76: install-document: ${DOCUMENTS}
77: -mkdir ${OpenXM_HOME}/doc/ox_toolkit
78: ${INSTALL_DATA} ${DOCUMENTS} ${OpenXM_HOME}/doc/ox_toolkit
79:
80: clean-document:
81: -rm -f ${DOCUMENTS}
82:
83: clean-binary:
1.6 ohara 84: -rm -f *.o *~ libox.a ${BINARIES} ox_Xsample core a.out
1.1 ohara 85:
86: clean: clean-document clean-binary
1.4 ohara 87:
1.5 ohara 88: distclean: clean
89: -rm -f .configure_done configure config.cache config.log config.status Makefile
90:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>