e3ef26d180aba272645c47ecb77201b7934f206b
[claws.git] / src / common / Makefile.am
1 PLUGINDIR = $(pkglibdir)/plugins/
2 noinst_LTLIBRARIES = libsylpheedcommon.la
3
4 if PLATFORM_WIN32
5 arch_sources = fnmatch.c \
6                w32_dirent.c w32_reg.c w32_signal.c w32_stat.c \
7                w32_stdio.c w32_stdlib.c w32_string.c w32_time.c \
8                w32_unistd.c w32_wait.c
9 arch_headers = fnmatch.h w32lib.h
10 else
11 arch_files = 
12 arch_header = 
13 endif
14
15 libsylpheedcommon_la_SOURCES = $(arch_sources) \
16         base64.c \
17         hooks.c \
18         log.c \
19         md5.c \
20         mgutils.c \
21         nntp.c \
22         passcrypt.c \
23         plugin.c \
24         prefs.c \
25         progressindicator.c \
26         quoted-printable.c \
27         session.c \
28         smtp.c \
29         socket.c \
30         ssl.c \
31         ssl_certificate.c \
32         string_match.c \
33         stringtable.c \
34         sylpheed.c \
35         template.c \
36         utils.c \
37         uuencode.c \
38         xml.c \
39         xmlprops.c
40
41 sylpheedcommonincludedir = $(pkgincludedir)/common
42 sylpheedcommoninclude_HEADERS = $(arch_headers) \
43         base64.h \
44         defs.h \
45         hooks.h \
46         log.h \
47         md5.h \
48         mgutils.h \
49         nntp.h \
50         passcrypt.h \
51         plugin.h \
52         prefs.h \
53         progressindicator.h \
54         quoted-printable.h \
55         session.h \
56         smtp.h \
57         socket.h \
58         ssl_certificate.h \
59         ssl.h \
60         string_match.h \
61         stringtable.h \
62         sylpheed.h \
63         template.h \
64         timing.h \
65         utils.h \
66         uuencode.h \
67         version.h \
68         xml.h \
69         xmlprops.h
70
71 INCLUDES = \
72         -I$(top_srcdir)/intl
73
74 AM_CPPFLAGS = \
75         $(GLIB_CFLAGS) \
76         $(OPENSSL_CFLAGS) \
77         -DLOCALEDIR=\""$(localedir)"\" \
78         -DPLUGINDIR=\"$(PLUGINDIR)\" 
79
80 libsylpheedcommon_la_LIBADD = \
81         $(GLIB_LIBS) \
82         $(OPENSSL_LIBS) \
83         $(CRYPT_LIBS) \
84         $(PTHREAD_LIBS)
85
86 EXTRA_DIST = \
87         version.h.in fnmatch_loop.c
88