- Fixed a bug that made Nitfol crash since [130]
[rodin/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 libchimara_la_SOURCES = \
8         abort.c abort.h \
9         case.c \
10         charset.c charset.h \
11         chimara-glk.c chimara-glk.h chimara-glk-private.h \
12         chimara-if.c chimara-if.h \
13         chimara-marshallers.c chimara-marshallers.h \
14         dispatch.c \
15         event.c event.h \
16         fileref.c fileref.h \
17         garglk.c garglk.h \
18         gestalt.c \
19         gi_blorb.c gi_blorb.h \
20         gi_dispa.c gi_dispa.h \
21         glk.c glk.h \
22         glkstart.h \
23         glkunix.c glkunix.h \
24         hyperlink.c \
25         image.c \
26         init.c init.h \
27         input.c input.h \
28         magic.c magic.h \
29         mouse.c \
30         resource.c resource.h \
31         schannel.c \
32         stream.c stream.h \
33         strio.c \
34         style.c style.h \
35         timer.c timer.h \
36         window.c window.h 
37 libchimara_la_CPPFLAGS = \
38         -DG_LOG_DOMAIN=\"Chimara\" \
39         -DLOCALEDIR=\""$(datadir)/locale"\" \
40         -DPLUGINDIR=\""$(pkglibdir)"\" \
41         -I$(top_srcdir)
42 libchimara_la_CFLAGS = @CHIMARA_CFLAGS@ $(AM_CFLAGS)
43 libchimara_la_LIBADD = @CHIMARA_LIBS@
44 libchimara_la_LDFLAGS = -version-info $(LT_VERSION_INFO) \
45         -no-undefined \
46         -export-symbols-regex "^(glk|chimara|glkunix|giblorb|gidispatch|garglk)_"
47 libchimara_includedir = $(includedir)/chimara/libchimara
48 libchimara_include_HEADERS = \
49         chimara-glk.h \
50         chimara-if.h \
51         glk.h \
52         glkstart.h \
53         gi_blorb.h \
54         garglk.h
55
56 BUILT_SOURCES = chimara-marshallers.c chimara-marshallers.h
57 chimara-marshallers.c: chimara-marshallers.txt
58         glib-genmarshal --body --prefix=chimara_marshal $< > $@
59
60 chimara-marshallers.h: chimara-marshallers.txt
61         glib-genmarshal --header --prefix=chimara_marshal $< > $@
62
63 EXTRA_DIST = doc.c glkstart.c chimara-marshallers.txt