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