2009-05-21 [paul] 3.7.1cvs59
[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         spell_entry.c \
36         sslcertwindow.c \
37         claws-marshal.c
38
39 clawsgtkincludedir = $(pkgincludedir)/gtk
40 clawsgtkinclude_HEADERS = \
41         about.h \
42         authors.h \
43         colorlabel.h \
44         colorsel.h \
45         combobox.h \
46         description_window.h \
47         filesel.h \
48         foldersort.h \
49         gtkaspell.h \
50         gtkcmctree.h \
51         gtkcmclist.h \
52         gtkcmoptionmenu.h \
53         gtksctree.h \
54         gtkshruler.h \
55         gtksourceprintjob.h \
56         gtkutils.h \
57         gtkvscrollbutton.h \
58         headers.h \
59         icon_legend.h \
60         inputdialog.h \
61         logwindow.h \
62         manage_window.h \
63         menu.h \
64         pluginwindow.h \
65         prefswindow.h \
66         progressdialog.h \
67         quicksearch.h \
68         spell_entry.h \
69         sslcertwindow.h \
70         claws-marshal.h
71
72 AM_CPPFLAGS = \
73         -I$(srcdir)/../common \
74         -I../common \
75         -I$(srcdir)/.. \
76         -I$(builddir)/.. \
77         $(GTK_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 > $@