Misc documentation fixes
[projects/chimara/chimara.git] / libchimara / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AM_CFLAGS = -Wall
4
5 lib_LTLIBRARIES = libchimara.la
6
7 if TARGET_ILIAD
8 pluginpath = "../interpreters"
9 else
10 pluginpath = $(pkglibdir)
11 endif
12
13 libchimara_la_SOURCES = \
14         abort.c abort.h \
15         case.c \
16         charset.c charset.h \
17         chimara-glk.c chimara-glk.h chimara-glk-private.h \
18         chimara-if.c chimara-if.h \
19         chimara-marshallers.c chimara-marshallers.h \
20         dispatch.c \
21         event.c event.h \
22         fileref.c fileref.h \
23         garglk.c garglk.h \
24         gestalt.c \
25         graphics.c graphics.h \
26         gi_blorb.c gi_blorb.h \
27         gi_dispa.c gi_dispa.h \
28         glk.c glk.h \
29         glkstart.h \
30         glkunix.c glkunix.h \
31         hyperlink.c hyperlink.h \
32         init.c init.h \
33         input.c input.h \
34         magic.c magic.h \
35         mouse.c mouse.h \
36         pager.c pager.h \
37         resource.c resource.h \
38         schannel.c schannel.h \
39         stream.c stream.h \
40         strio.c strio.h \
41         style.c style.h \
42         timer.c timer.h \
43         window.c window.h
44 libchimara_la_CPPFLAGS = \
45         -DG_LOG_DOMAIN=\"Chimara\" \
46         -DLOCALEDIR=\""$(datadir)/locale"\" \
47         -DPLUGINDIR=\""$(pluginpath)"\" \
48         -DPLUGINSOURCEDIR=\""$(abs_builddir)/../interpreters"\" \
49         -I$(top_srcdir)
50 libchimara_la_CFLAGS = @CHIMARA_CFLAGS@ $(AM_CFLAGS)
51 libchimara_la_LIBADD = @CHIMARA_LIBS@
52 libchimara_la_LDFLAGS = -version-info $(LT_VERSION_INFO) \
53         -no-undefined \
54         -export-symbols-regex "^(glk|chimara|glkunix|giblorb|gidispatch|garglk)_"
55 libchimara_includedir = $(includedir)/chimara/libchimara
56 libchimara_include_HEADERS = \
57         chimara-glk.h \
58         chimara-if.h \
59         glk.h \
60         glkstart.h \
61         gi_blorb.h \
62         gi_dispa.h \
63         garglk.h
64
65 BUILT_SOURCES = chimara-marshallers.c chimara-marshallers.h
66 chimara-marshallers.c: chimara-marshallers.txt
67         glib-genmarshal --body --prefix=_chimara_marshal $< > $@
68
69 chimara-marshallers.h: chimara-marshallers.txt
70         glib-genmarshal --header --prefix=_chimara_marshal $< > $@
71
72 EXTRA_DIST = doc.c glkstart.c chimara-marshallers.txt