* add modest-account-view to the build
[modest] / src / Makefile.am
1 #
2 # Makefile.am
3 # Time-stamp: <2006-07-19 18:21:49 (djcb)>
4 SUBDIRS=$(MODEST_PLATFORM_DIR)
5 DIST_SUBDIRS = gtk gtk2 hildon
6
7 INCLUDES=\
8         $(MODEST_GSTUFF_CFLAGS)\
9         $(MODEST_LIBTINYMAIL_GNOME_DESKTOP_CFLAGS) \
10         $(MODEST_LIBTINYMAIL_MAEMO_CFLAGS) \
11         -I$(MODEST_PLATFORM_DIR) \
12         -DPREFIX=\"@prefix@\" 
13
14 if OLD_UI_STUFF
15 INCLUDES +=\
16         -DOLD_UI_STUFF
17 endif
18
19 BUILT_SOURCES = modest-marshal.c modest-marshal.h
20
21 modest-marshal.c: modest-marshal.list
22         glib-genmarshal --body --prefix=modest_marshal < modest-marshal.list > modest-marshal.c
23
24 modest-marshal.h: modest-marshal.list
25         glib-genmarshal --header --prefix=modest_marshal < modest-marshal.list > modest-marshal.h
26
27
28 bin_PROGRAMS=\
29         modest
30
31 modest_SOURCES=\
32         modest-main.c\
33         modest-conf-keys.h\
34         modest-conf.h \
35         modest-conf.c\
36         modest-widget-factory.h\
37         modest-widget-factory.c\
38         modest-account-keys.h\
39         modest-account-mgr.h\
40         modest-account-mgr.c\
41         modest-account-view.h\
42         modest-account-view.c\
43         modest-window-mgr.h\
44         modest-window-mgr.c\
45         modest-icon-factory.c\
46         modest-icon-factory.h\
47         modest-tny-account-store.h\
48         modest-tny-account-store.c\
49         modest-tny-folder-tree-view.h\
50         modest-tny-folder-tree-view.c\
51         modest-tny-header-tree-view.h\
52         modest-tny-header-tree-view.c\
53         modest-tny-msg-view.h\
54         modest-tny-msg-view.c\
55         modest-tny-msg-actions.h\
56         modest-tny-msg-actions.c\
57         modest-proto.h\
58         modest-proto.c\
59         modest-ui.h\
60         modest-text-utils.h\
61         modest-text-utils.c\
62         modest-tny-stream-gtkhtml.h\
63         modest-tny-stream-gtkhtml.c\
64         modest-tny-transport-actions.c\
65         modest-tny-transport-actions.h\
66         modest-tny-attachment.h\
67         modest-tny-attachment.c\
68         modest-tny-store-actions.c\
69         modest-tny-store-actions.h\
70         modest-ui.h \
71         modest-marshal.c \
72         modest-marshal.h 
73
74 if OLD_UI_STUFF
75 modest_SOURCES += \
76         modest-identity-keys.h\
77         modest-identity-mgr.h\
78         modest-identity-mgr.c\
79         modest-editor-window.c\
80         modest-editor-window.h\
81         modest-viewer-window.c\
82         modest-viewer-window.h
83 endif
84
85 modest_LDADD = \
86         $(MODEST_GSTUFF_LIBS) \
87         $(MODEST_LIBTINYMAIL_GNOME_DESKTOP_LIBS) \
88         $(MODEST_LIBTINYMAIL_MAEMO_LIBS) \
89         $(MODEST_PLATFORM_DIR)/libmodest-ui.la 
90
91 EXTRA_DIST=modest-marshal.list