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