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