Fix for bug #4300 again. Initially committer Andrej Kacian <ticho@claws-mail.org>
[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 OS_WIN32
15 arch_sources = w32_filesel.c
16 else
17 arch_sources = filesel.c
18 endif
19
20 libclawsgtk_la_SOURCES = \
21         about.c \
22         colorlabel.c \
23         combobox.c \
24         description_window.c \
25         $(arch_sources) \
26         foldersort.c \
27         gtkaspell.c \
28         gtkcmctree.c \
29         gtkcmclist.c \
30         gtksctree.c \
31         gtkunit.c \
32         gtkshruler.c \
33         gtkutils.c \
34         gtkvscrollbutton.c \
35         icon_legend.c \
36         inputdialog.c \
37         logwindow.c \
38         manage_window.c \
39         menu.c \
40         pluginwindow.c \
41         prefswindow.c \
42         progressdialog.c \
43         quicksearch.c \
44         spell_entry.c \
45         sslcertwindow.c \
46         claws-marshal.c
47
48 clawsgtkincludedir = $(pkgincludedir)/gtk
49 clawsgtkinclude_HEADERS = \
50         about.h \
51         authors.h \
52         colorlabel.h \
53         combobox.h \
54         description_window.h \
55         filesel.h \
56         foldersort.h \
57         gtkaspell.h \
58         gtkutils.h \
59         gtkunit.h \
60         gtkvscrollbutton.h \
61         headers.h \
62         icon_legend.h \
63         inputdialog.h \
64         logwindow.h \
65         manage_window.h \
66         menu.h \
67         pluginwindow.h \
68         prefswindow.h \
69         progressdialog.h \
70         quicksearch.h \
71         spell_entry.h \
72         sslcertwindow.h \
73         claws-marshal.h \
74         gtkcmctree.h \
75         gtkcmclist.h \
76         gtksctree.h \
77         gtkshruler.h
78
79 AM_CPPFLAGS = \
80         -I$(srcdir)/../common \
81         -I../common \
82         -I$(srcdir)/.. \
83         -I$(builddir)/.. \
84         $(GTK_CFLAGS) \
85         $(ENCHANT_CFLAGS) \
86         -DPLUGINDIR=\"$(PLUGINDIR)\" \
87         -DDOCDIR=\"$(DOCDIR)\" 
88
89 libclawsgtk_la_LIBADD = \
90         ../common/libclawscommon.la \
91         $(GTK_LIBS) \
92         $(ENCHANT_LIBS)
93
94 BUILT_SOURCES=claws-marshal.c claws-marshal.h 
95
96 claws-marshal.h: claws-marshal.list
97         $(GLIB_GENMARSHAL) $< --header --prefix=claws_marshal > $@
98
99 claws-marshal.c: claws-marshal.list
100         $(GLIB_GENMARSHAL) $< --body --prefix=claws_marshal > $@
101
102 .PHONY: test