Remove use of fnmatch(), in favour of GPatternSpec.
[claws.git] / src / common / 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 DESKTOPFILEPATH=$(datadir)/applications/claws-mail.desktop
8
9 noinst_LTLIBRARIES = libclawscommon.la
10
11 if OS_WIN32
12 arch_sources = w32_reg.c w32_signal.c w32_stat.c \
13                w32_stdio.c w32_stdlib.c w32_string.c w32_time.c \
14                w32_unistd.c w32_wait.c w32_account.c
15 arch_headers = w32lib.h
16 else
17 arch_files = 
18 arch_header = 
19 endif
20
21 libclawscommon_la_SOURCES = $(arch_sources) \
22         hooks.c \
23         log.c \
24         md5.c \
25         mgutils.c \
26         passcrypt.c \
27         plugin.c \
28         prefs.c \
29         progressindicator.c \
30         quoted-printable.c \
31         session.c \
32         smtp.c \
33         socket.c \
34         ssl.c \
35         ssl_certificate.c \
36         string_match.c \
37         stringtable.c \
38         claws.c \
39         tags.c \
40         template.c \
41         utils.c \
42         uuencode.c \
43         xml.c \
44         xmlprops.c
45
46 clawscommonincludedir = $(pkgincludedir)/common
47 clawscommoninclude_HEADERS = $(arch_headers) \
48         defs.h \
49         hooks.h \
50         log.h \
51         md5.h \
52         mgutils.h \
53         passcrypt.h \
54         plugin.h \
55         prefs.h \
56         progressindicator.h \
57         quoted-printable.h \
58         session.h \
59         smtp.h \
60         socket.h \
61         ssl_certificate.h \
62         ssl.h \
63         string_match.h \
64         stringtable.h \
65         claws.h \
66         tags.h \
67         template.h \
68         timing.h \
69         tlds.h \
70         utils.h \
71         uuencode.h \
72         version.h \
73         xml.h \
74         xmlprops.h
75
76 AM_CPPFLAGS = \
77         -I$(top_srcdir)/intl \
78         $(GLIB_CFLAGS) \
79         $(VALGRIND_CFLAGS) \
80         -DLOCALEDIR=\""$(localedir)"\" \
81         -DPLUGINDIR=\"$(PLUGINDIR)\" \
82         -DDATAROOTDIR=\""$(datarootdir)"\" \
83         -DDESKTOPFILEPATH=\"$(DESKTOPFILEPATH)\" \
84         -DGTK_DISABLE_DEPRECATED
85
86 libclawscommon_la_LIBADD = \
87         $(GLIB_LIBS) \
88         $(CRYPT_LIBS) \
89         $(PTHREAD_LIBS)
90
91 EXTRA_DIST = \
92         version.h.in
93