7597061ed6ee6d9f45604eeed1e9eca1fa022281
[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         base64.c \
24         hooks.c \
25         log.c \
26         md5.c \
27         mgutils.c \
28         passcrypt.c \
29         plugin.c \
30         prefs.c \
31         progressindicator.c \
32         quoted-printable.c \
33         session.c \
34         smtp.c \
35         socket.c \
36         ssl.c \
37         ssl_certificate.c \
38         string_match.c \
39         stringtable.c \
40         claws.c \
41         tags.c \
42         template.c \
43         utils.c \
44         uuencode.c \
45         xml.c \
46         xmlprops.c
47
48 clawscommonincludedir = $(pkgincludedir)/common
49 clawscommoninclude_HEADERS = $(arch_headers) \
50         base64.h \
51         defs.h \
52         hooks.h \
53         log.h \
54         md5.h \
55         mgutils.h \
56         passcrypt.h \
57         plugin.h \
58         prefs.h \
59         progressindicator.h \
60         quoted-printable.h \
61         session.h \
62         smtp.h \
63         socket.h \
64         ssl_certificate.h \
65         ssl.h \
66         string_match.h \
67         stringtable.h \
68         claws.h \
69         tags.h \
70         template.h \
71         timing.h \
72         utils.h \
73         uuencode.h \
74         version.h \
75         xml.h \
76         xmlprops.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 fnmatch_loop.c
95