Make use of more Automake silent rules
[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         datetime.c \
21         dispatch.c \
22         event.c event.h \
23         fileref.c fileref.h \
24         garglk.c garglk.h \
25         gestalt.c \
26         graphics.c graphics.h \
27         gi_blorb.c gi_blorb.h \
28         gi_dispa.c gi_dispa.h \
29         glk.c glk.h \
30         glkstart.h \
31         glkunix.c glkunix.h \
32         hyperlink.c hyperlink.h \
33         init.c init.h \
34         input.c input.h \
35         magic.c magic.h \
36         mouse.c mouse.h \
37         pager.c pager.h \
38         resource.c resource.h \
39         schannel.c schannel.h \
40         stream.c stream.h \
41         strio.c strio.h \
42         style.c style.h \
43         timer.c timer.h \
44         window.c window.h
45 libchimara_la_CPPFLAGS = \
46         -DG_LOG_DOMAIN=\"Chimara\" \
47         -DLOCALEDIR=\""$(datadir)/locale"\" \
48         -DPLUGINDIR=\""$(pluginpath)"\" \
49         -DPLUGINSOURCEDIR=\""$(abs_builddir)/../interpreters"\" \
50         -I$(top_srcdir)
51 libchimara_la_CFLAGS = @CHIMARA_CFLAGS@ $(AM_CFLAGS)
52 libchimara_la_LIBADD = @CHIMARA_LIBS@
53 libchimara_la_LDFLAGS = -version-info $(LT_VERSION_INFO) \
54         -no-undefined \
55         -export-symbols-regex "^(glk|chimara|glkunix|giblorb|gidispatch|garglk)_"
56 libchimara_includedir = $(includedir)/chimara/libchimara
57 libchimara_include_HEADERS = \
58         chimara-glk.h \
59         chimara-if.h \
60         glk.h \
61         glkstart.h \
62         gi_blorb.h \
63         gi_dispa.h \
64         garglk.h
65
66 BUILT_SOURCES = chimara-marshallers.c chimara-marshallers.h
67 chimara-marshallers.c: chimara-marshallers.txt
68         $(AM_V_GEN)glib-genmarshal --body --prefix=_chimara_marshal $< > $@
69
70 chimara-marshallers.h: chimara-marshallers.txt
71         $(AM_V_GEN)glib-genmarshal --header --prefix=_chimara_marshal $< > $@
72
73 EXTRA_DIST = doc.c glkstart.c chimara-marshallers.txt