2008-10-02 [colin] 3.5.0cvs144
[claws.git] / src / common / Makefile.am
1 PLUGINDIR = $(pkglibdir)/plugins/
2 noinst_LTLIBRARIES = libclawscommon.la
3
4 if OS_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 w32_account.c
9 arch_headers = fnmatch.h w32lib.h
10 else
11 arch_files = 
12 arch_header = 
13 endif
14
15 libclawscommon_la_SOURCES = $(arch_sources) \
16         base64.c \
17         hooks.c \
18         log.c \
19         md5.c \
20         mgutils.c \
21         passcrypt.c \
22         plugin.c \
23         prefs.c \
24         progressindicator.c \
25         quoted-printable.c \
26         session.c \
27         smtp.c \
28         socket.c \
29         ssl.c \
30         ssl_certificate.c \
31         string_match.c \
32         stringtable.c \
33         claws.c \
34         tags.c \
35         template.c \
36         utils.c \
37         uuencode.c \
38         xml.c \
39         xmlprops.c
40
41 clawscommonincludedir = $(pkgincludedir)/common
42 clawscommoninclude_HEADERS = $(arch_headers) \
43         base64.h \
44         defs.h \
45         hooks.h \
46         log.h \
47         md5.h \
48         mgutils.h \
49         passcrypt.h \
50         plugin.h \
51         prefs.h \
52         progressindicator.h \
53         quoted-printable.h \
54         session.h \
55         smtp.h \
56         socket.h \
57         ssl_certificate.h \
58         ssl.h \
59         string_match.h \
60         stringtable.h \
61         claws.h \
62         tags.h \
63         template.h \
64         timing.h \
65         utils.h \
66         uuencode.h \
67         valgrind.h \
68         version.h \
69         xml.h \
70         xmlprops.h
71
72 INCLUDES = \
73         -I$(top_srcdir)/intl
74
75 AM_CPPFLAGS = \
76         $(GLIB_CFLAGS) \
77         $(OPENSSL_CFLAGS) \
78         $(MAEMO_CFLAGS) \
79         -DLOCALEDIR=\""$(localedir)"\" \
80         -DPLUGINDIR=\"$(PLUGINDIR)\" \
81         -DGTK_DISABLE_DEPRECATED
82
83 libclawscommon_la_LIBADD = \
84         $(GLIB_LIBS) \
85         $(OPENSSL_LIBS) \
86         $(CRYPT_LIBS) \
87         $(PTHREAD_LIBS) \
88         $(MAEMO_LIBS)
89
90 EXTRA_DIST = \
91         version.h.in fnmatch_loop.c
92