Annotation of OpenXM/src/ox_toolkit/Makefile.am, Revision 1.3
1.1 ohara 1: # -*- mode: Makefile -*-
1.3 ! noro 2: ## $OpenXM: OpenXM/src/ox_toolkit/Makefile.am,v 1.2 2004/06/29 04:55:05 ohara Exp $
1.1 ohara 3:
4: AUTOMAKE_OPTIONS = foreign no-dependencies 1.5
5: if USE_GMP
6: GMPLIB = -L${prefix}/lib -lgmp
7: else
8: GMPFAKE = gmp_fake.c gmp_fake.h
9: endif
10:
11: OXWEAVE = ${prefix}/bin/oxweave
12: INCLUDES = @X_CFLAGS@ -I${prefix}/include
1.3 ! noro 13: OXLIBS = -L${prefix}/lib ./libox.la -lgc ${GMPLIB}
1.1 ohara 14: XLIBS = ${X_LIBS} ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS}
15: DOCUMENTS = readme-en.txt readme-ja.txt bnf-en.txt bnf-ja.txt
16:
17: CLEANFILES = ${DOCUMENTS}
18: DISTCLEANFILES = .configure_done
19:
20: docdir = ${prefix}/doc/ox_toolkit
21: doc_DATA = ${DOCUMENTS}
22:
23: include_HEADERS = gmp_fake.h ox_toolkit.h
24: noinst_HEADERS = mysocket.h parse.h
25: noinst_PROGRAMS = bconv testclient sample1 sample2 zclient ox_Xsample
26:
27: bconv_SOURCES = bconv.c ox_toolkit.h gmp_fake.h
28: sample1_SOURCES = sample1.c ox_toolkit.h gmp_fake.h
29: sample2_SOURCES = sample2.c ox_toolkit.h gmp_fake.h
30: zclient_SOURCES = zclient.c ox_toolkit.h gmp_fake.h
31: testclient_SOURCES = testclient.c ox_toolkit.h gmp_fake.h
32: ox_Xsample_SOURCES = ox_Xsample.c glib.c ox_toolkit.h gmp_fake.h
33:
34: bconv_LDADD = ${OXLIBS}
35: sample1_LDADD = ${OXLIBS}
36: sample2_LDADD = ${OXLIBS}
37: zclient_LDADD = ${OXLIBS}
38: testclient_LDADD = ${OXLIBS}
39: ox_Xsample_LDADD = ${OXLIBS} ${XLIBS}
40:
41: lib_LTLIBRARIES = libox.la
42: libox_la_LDFLAGS = --version-info 0:0:0
43: libox_la_SOURCES = ox.c cmo.c parse.c mysocket.c mathcap.c dump.c \
44: cmolen.c print.c oxf.c oxf_old.c \
45: ox_toolkit.h mysocket.h parse.h ${GMPFAKE}
46: EXTRA_libox_la_SOURCES = gmp_fake.c gmp_fake.h
47:
48: readme-ja.txt: README
49: ${OXWEAVE} ja common < README > readme-ja.txt
50:
51: readme-en.txt: README
52: ${OXWEAVE} en common < README > readme-en.txt
53:
54: bnf-ja.txt: bnf.oxweave
55: ${OXWEAVE} ja common < bnf.oxweave > bnf-ja.txt
56:
57: bnf-en.txt: bnf.oxweave
58: ${OXWEAVE} en common < bnf.oxweave > bnf-en.txt
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>