17154afbea4ba83847401c7b7e0e8a34e3e17836
[claws.git] / src / gtk / Makefile.am
1 PLUGINDIR = $(pkglibdir)/plugins/
2 DOCDIR = $(docdir)
3
4 noinst_LTLIBRARIES = libclawsgtk.la
5
6 EXTRA_DIST = \
7         claws-marshal.list
8
9 if GTK2
10 gtk2_sources = \
11         gtkcmctree.c \
12         gtkcmclist.c \
13         gtkcmoptionmenu.c \
14         gtksctree.c \
15         gtkshruler.c
16 endif
17
18 libclawsgtk_la_SOURCES = \
19         about.c \
20         colorlabel.c \
21         colorsel.c \
22         combobox.c \
23         description_window.c \
24         filesel.c \
25         foldersort.c \
26         gtkaspell.c \
27         $(gtk2_sources) \
28         gtkutils.c \
29         gtkvscrollbutton.c \
30         icon_legend.c \
31         inputdialog.c \
32         logwindow.c \
33         manage_window.c \
34         menu.c \
35         pluginwindow.c \
36         prefswindow.c \
37         progressdialog.c \
38         quicksearch.c \
39         spell_entry.c \
40         sslcertwindow.c \
41         claws-marshal.c
42
43 clawsgtkincludedir = $(pkgincludedir)/gtk
44 clawsgtkinclude_HEADERS = \
45         about.h \
46         authors.h \
47         colorlabel.h \
48         colorsel.h \
49         combobox.h \
50         description_window.h \
51         filesel.h \
52         foldersort.h \
53         gtkaspell.h \
54         gtkutils.h \
55         gtkvscrollbutton.h \
56         headers.h \
57         icon_legend.h \
58         inputdialog.h \
59         logwindow.h \
60         manage_window.h \
61         menu.h \
62         pluginwindow.h \
63         prefswindow.h \
64         progressdialog.h \
65         quicksearch.h \
66         spell_entry.h \
67         sslcertwindow.h \
68         claws-marshal.h \
69         gtkcmctree.h \
70         gtkcmclist.h \
71         gtkcmoptionmenu.h \
72         gtksctree.h \
73         gtkshruler.h
74
75 AM_CPPFLAGS = \
76         -I$(srcdir)/../common \
77         -I../common \
78         -I$(srcdir)/.. \
79         -I$(builddir)/.. \
80         $(GTK_CFLAGS) \
81         $(MAEMO_CFLAGS) \
82         $(ENCHANT_CFLAGS) \
83         -DPLUGINDIR=\"$(PLUGINDIR)\" \
84         -DDOCDIR=\"$(DOCDIR)\" 
85
86 libclawsgtk_la_LIBADD = \
87         ../common/libclawscommon.la \
88         $(GTK_LIBS) \
89         $(ENCHANT_LIBS) \
90         $(MAEMO_LIBS)
91
92 BUILT_SOURCES=claws-marshal.c claws-marshal.h 
93
94 claws-marshal.h: claws-marshal.list
95         $(GLIB_GENMARSHAL) $< --header --prefix=claws_marshal > $@
96
97 claws-marshal.c: claws-marshal.list
98         $(GLIB_GENMARSHAL) $< --body --prefix=claws_marshal > $@