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