Changed build system to Automake. Split Glk code off into a GTK widget.
[rodin/chimara.git] / src / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 ## Created by Anjuta
4
5 data_DATA = chimara.ui
6
7 AM_CPPFLAGS = \
8         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
9         -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
10         -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
11         $(CHIMARA_CFLAGS)
12
13 AM_CFLAGS =\
14          -Wall\
15          -g
16
17 bin_PROGRAMS = chimara
18
19 # First line: User interface sources
20 # Second line: Glk program to run
21 chimara_SOURCES = \
22         main.c callbacks.c callbacks.h error.c error.h \
23         first.c \
24         abort.c abort.h \
25         case.c \
26         chimara-glk.c chimara-glk.h chimara-glk-private.h \
27         event.c event.h \
28         fileref.c fileref.h \
29         gestalt.c \
30         glk.c glk.h \
31         input.c input.h \
32         stream.c stream.h \
33         strio.c \
34         style.c \
35         window.c window.h
36
37 chimara_LDADD = $(CHIMARA_LIBS)
38
39 CLEANFILES = chimara.ui
40
41 chimara.ui: chimara.glade
42         gtk-builder-convert $< $@
43
44 EXTRA_DIST = chimara.glade