0337ac424f4ca6c197541fca0c7dbfe59622617a
[claws.git] / src / gtk / Makefile.am
1 PLUGINDIR = $(pkglibdir)/plugins/
2
3 noinst_LTLIBRARIES = libsylpheedgtk.la
4
5 EXTRA_DIST = \
6         sylpheed-marshal.list \
7         authors.h
8
9 libsylpheedgtk_la_SOURCES = \
10         about.c \
11         colorlabel.c \
12         colorsel.c \
13         description_window.c \
14         filesel.c \
15         foldersort.c \
16         gtkaspell.c \
17         gtksctree.c \
18         gtkshruler.c \
19         gtksctree.c \
20         gtksourceprintjob.c \
21         gtkutils.c \
22         gtkvscrollbutton.c \
23         icon_legend.c \
24         inputdialog.c \
25         logwindow.c \
26         manage_window.c \
27         menu.c \
28         pluginwindow.c \
29         prefswindow.c \
30         progressdialog.c \
31         quicksearch.c \
32         sslcertwindow.c \
33         sylpheed-marshal.c
34
35 sylpheedgtkincludedir = $(pkgincludedir)/gtk
36 sylpheedgtkinclude_HEADERS = \
37         about.h \
38         colorlabel.h \
39         colorsel.h \
40         description_window.h \
41         filesel.h \
42         foldersort.h \
43         gtkaspell.h \
44         gtksctree.h \
45         gtkshruler.h \
46         gtksctree.h \
47         gtksourceprintjob.h \
48         gtkutils.h \
49         gtkvscrollbutton.h \
50         icon_legend.h \
51         inputdialog.h \
52         logwindow.h \
53         manage_window.h \
54         menu.h \
55         pluginwindow.h \
56         prefswindow.h \
57         gtkvscrollbutton.h \
58         progressdialog.h \
59         quicksearch.h \
60         sslcertwindow.h \
61         sylpheed-marshal.h
62
63 AM_CPPFLAGS = \
64         -I$(srcdir)/../common \
65         -I$(srcdir)/.. \
66         $(GTK_CFLAGS) \
67         $(OPENSSL_CFLAGS) \
68         $(ASPELL_CFLAGS) \
69         $(GNOMEPRINT_CFLAGS) \
70         -DPLUGINDIR=\"$(PLUGINDIR)\" 
71
72 libsylpheedgtk_la_LIBADD = \
73         ../common/libsylpheedcommon.la \
74         $(GTK_LIBS) \
75         $(ASPELL_LIBS) \
76         $(GNOMEPRINT_LIBS)
77
78 BUILT_SOURCES=sylpheed-marshal.c sylpheed-marshal.h authors.h
79
80 sylpheed-marshal.h: sylpheed-marshal.list
81         $(GLIB_GENMARSHAL) $< --header --prefix=sylpheed_marshal > $@
82
83 sylpheed-marshal.c: sylpheed-marshal.list
84         $(GLIB_GENMARSHAL) $< --body --prefix=sylpheed_marshal > $@