597aabbc3b095bd918f2054ca0a0e7e3511c1578
[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 libclawsgtk_la_SOURCES = \
10         about.c \
11         colorlabel.c \
12         colorsel.c \
13         combobox.c \
14         description_window.c \
15         filesel.c \
16         foldersort.c \
17         gtkaspell.c \
18         gtksctree.c \
19         gtkshruler.c \
20         gtksctree.c \
21         gtksourceprintjob.c \
22         gtkutils.c \
23         gtkvscrollbutton.c \
24         icon_legend.c \
25         inputdialog.c \
26         logwindow.c \
27         manage_window.c \
28         menu.c \
29         pluginwindow.c \
30         prefswindow.c \
31         progressdialog.c \
32         quicksearch.c \
33         sslcertwindow.c \
34         claws-marshal.c
35
36 clawsgtkincludedir = $(pkgincludedir)/gtk
37 clawsgtkinclude_HEADERS = \
38         about.h \
39         authors.h \
40         colorlabel.h \
41         colorsel.h \
42         combobox.h \
43         description_window.h \
44         filesel.h \
45         foldersort.h \
46         gtkaspell.h \
47         gtksctree.h \
48         gtkshruler.h \
49         gtksctree.h \
50         gtksourceprintjob.h \
51         gtkutils.h \
52         gtkvscrollbutton.h \
53         headers.h \
54         icon_legend.h \
55         inputdialog.h \
56         logwindow.h \
57         manage_window.h \
58         menu.h \
59         pluginwindow.h \
60         prefswindow.h \
61         gtkvscrollbutton.h \
62         progressdialog.h \
63         quicksearch.h \
64         sslcertwindow.h \
65         claws-marshal.h
66
67 AM_CPPFLAGS = \
68         -I$(srcdir)/../common \
69         -I../common \
70         -I$(srcdir)/.. \
71         $(GTK_CFLAGS) \
72         $(OPENSSL_CFLAGS) \
73         $(ASPELL_CFLAGS) \
74         $(GNOMEPRINT_CFLAGS) \
75         $(MAEMO_CFLAGS) \
76         -DPLUGINDIR=\"$(PLUGINDIR)\" \
77         -DDOCDIR=\"$(DOCDIR)\" 
78
79 libclawsgtk_la_LIBADD = \
80         ../common/libclawscommon.la \
81         $(GTK_LIBS) \
82         $(ASPELL_LIBS) \
83         $(GNOMEPRINT_LIBS) \
84         $(MAEMO_LIBS)
85
86 BUILT_SOURCES=claws-marshal.c claws-marshal.h 
87
88 claws-marshal.h: claws-marshal.list
89         $(GLIB_GENMARSHAL) $< --header --prefix=claws_marshal > $@
90
91 claws-marshal.c: claws-marshal.list
92         $(GLIB_GENMARSHAL) $< --body --prefix=claws_marshal > $@