Added PBKDF2 implementation, copied from OpenBSD.
[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         pkcs5_pbkdf2.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         tlds.h \
71         utils.h \
72         uuencode.h \
73         version.h \
74         xml.h \
75         xmlprops.h \
76         pkcs5_pbkdf2.h
77
78 AM_CPPFLAGS = \
79         -I$(top_srcdir)/intl \
80         $(GLIB_CFLAGS) \
81         $(VALGRIND_CFLAGS) \
82         -DLOCALEDIR=\""$(localedir)"\" \
83         -DPLUGINDIR=\"$(PLUGINDIR)\" \
84         -DDATAROOTDIR=\""$(datarootdir)"\" \
85         -DDESKTOPFILEPATH=\"$(DESKTOPFILEPATH)\" \
86         -DGTK_DISABLE_DEPRECATED
87
88 libclawscommon_la_LIBADD = \
89         $(GLIB_LIBS) \
90         $(CRYPT_LIBS) \
91         $(PTHREAD_LIBS)
92
93 EXTRA_DIST = \
94         version.h.in
95