082e026b3c836ab50e55e8a8894abdd06240ff7c
[claws.git] / src / common / Makefile.am
1 PLUGINDIR = $(pkglibdir)/plugins/
2 DESKTOPFILEPATH=$(datadir)/applications/claws-mail.desktop
3
4 noinst_LTLIBRARIES = libclawscommon.la
5
6 if OS_WIN32
7 arch_sources = fnmatch.c \
8                w32_dirent.c w32_reg.c w32_signal.c w32_stat.c \
9                w32_stdio.c w32_stdlib.c w32_string.c w32_time.c \
10                w32_unistd.c w32_wait.c w32_account.c
11 arch_headers = fnmatch.h w32lib.h
12 else
13 arch_files = 
14 arch_header = 
15 endif
16
17 libclawscommon_la_SOURCES = $(arch_sources) \
18         base64.c \
19         hooks.c \
20         log.c \
21         md5.c \
22         mgutils.c \
23         passcrypt.c \
24         plugin.c \
25         prefs.c \
26         progressindicator.c \
27         quoted-printable.c \
28         session.c \
29         smtp.c \
30         socket.c \
31         ssl.c \
32         ssl_certificate.c \
33         string_match.c \
34         stringtable.c \
35         claws.c \
36         tags.c \
37         template.c \
38         utils.c \
39         uuencode.c \
40         xml.c \
41         xmlprops.c
42
43 clawscommonincludedir = $(pkgincludedir)/common
44 clawscommoninclude_HEADERS = $(arch_headers) \
45         base64.h \
46         defs.h \
47         hooks.h \
48         log.h \
49         md5.h \
50         mgutils.h \
51         passcrypt.h \
52         plugin.h \
53         prefs.h \
54         progressindicator.h \
55         quoted-printable.h \
56         session.h \
57         smtp.h \
58         socket.h \
59         ssl_certificate.h \
60         ssl.h \
61         string_match.h \
62         stringtable.h \
63         claws.h \
64         tags.h \
65         template.h \
66         timing.h \
67         utils.h \
68         uuencode.h \
69         version.h \
70         xml.h \
71         xmlprops.h
72
73 INCLUDES = \
74         -I$(top_srcdir)/intl
75
76 AM_CPPFLAGS = \
77         $(GLIB_CFLAGS) \
78         $(MAEMO_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         $(MAEMO_LIBS)
91
92 EXTRA_DIST = \
93         valgrind.h \
94         version.h.in fnmatch_loop.c
95