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