Use GLib's implementation of Base64 instead of our own.
[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 = fnmatch.c \
13                w32_dirent.c w32_reg.c w32_signal.c w32_stat.c \
14                w32_stdio.c w32_stdlib.c w32_string.c w32_time.c \
15                w32_unistd.c w32_wait.c w32_account.c
16 arch_headers = fnmatch.h w32lib.h
17 else
18 arch_files = 
19 arch_header = 
20 endif
21
22 libclawscommon_la_SOURCES = $(arch_sources) \
23         hooks.c \
24         log.c \
25         md5.c \
26         mgutils.c \
27         passcrypt.c \
28         plugin.c \
29         prefs.c \
30         progressindicator.c \
31         quoted-printable.c \
32         session.c \
33         smtp.c \
34         socket.c \
35         ssl.c \
36         ssl_certificate.c \
37         string_match.c \
38         stringtable.c \
39         claws.c \
40         tags.c \
41         template.c \
42         utils.c \
43         uuencode.c \
44         xml.c \
45         xmlprops.c
46
47 clawscommonincludedir = $(pkgincludedir)/common
48 clawscommoninclude_HEADERS = $(arch_headers) \
49         defs.h \
50         hooks.h \
51         log.h \
52         md5.h \
53         mgutils.h \
54         passcrypt.h \
55         plugin.h \
56         prefs.h \
57         progressindicator.h \
58         quoted-printable.h \
59         session.h \
60         smtp.h \
61         socket.h \
62         ssl_certificate.h \
63         ssl.h \
64         string_match.h \
65         stringtable.h \
66         claws.h \
67         tags.h \
68         template.h \
69         timing.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 fnmatch_loop.c
93