core cleanup: move SHA1 digest calculations to backend
[siplcs.git] / src / core / Makefile.am
blob3a842c4f3f5a36a10c0c1fc7689a364244df7afd
1 noinst_LTLIBRARIES = libsipe_core.la libsipe_core_purple.la
3 MAINTAINERCLEANFILES = \
4         Makefile.in
6 libsipe_core_la_SOURCES = \
7         sipmsg.h \
8         sipmsg.c \
9         sip-csta.h \
10         sip-csta.c \
11         sip-sec.h \
12         sip-sec.c \
13         sip-sec-mech.h \
14         sipe-cal.h \
15         sipe-cal.c \
16         sipe-chat.h \
17         sipe-chat.c \
18         sipe-dialog.h \
19         sipe-dialog.c \
20         sipe-session.h \
21         sipe-session.c \
22         sipe-sign.h \
23         sipe-sign.c \
24         sipe-utils.h \
25         sipe-utils.c \
26         sipe-xml.h \
27         sipe-xml.c \
28         uuid.h \
29         uuid.c
31 libsipe_core_purple_la_SOURCES = \
32         sipe.h \
33         sipe.c \
34         sipe-conf.h \
35         sipe-conf.c \
36         http-conn.h \
37         http-conn.c \
38         sipe-ews.h \
39         sipe-ews.c \
40         sip-sec-ntlm.h \
41         sip-sec-ntlm.c \
42         sipe-ft.h \
43         sipe-ft.c
45 AM_CFLAGS = $(st)
47 libsipe_core_la_CFLAGS = \
48         $(DEBUG_CFLAGS) \
49         $(QUALITY_CFLAGS) \
50         $(LIBXML2_CFLAGS) \
51         $(GLIB_CFLAGS) \
52         $(LOCALE_CPPFLAGS) \
53         -I$(srcdir)/../api
55 if SIP_SEC_KRB5
56 libsipe_core_la_SOURCES += sip-sec-krb5.h sip-sec-krb5.c
57 libsipe_core_la_CFLAGS  += $(KRB5_CFLAGS)
58 endif
60 if SIPE_MIME_GMIME
61 libsipe_core_la_SOURCES += sipe-mime.c
62 libsipe_core_la_CFLAGS  += $(GMIME_CFLAGS)
63 endif
65 if SIPE_INCLUDE_PURPLE
66 libsipe_core_purple_la_CFLAGS = \
67         $(libsipe_core_la_CFLAGS) \
68         $(PURPLE_CFLAGS) \
69         -I$(srcdir)/../purple
70 endif
72 check_PROGRAMS = sipe_xml_tests
73 sipe_xml_tests_SOURCES = sipe-xml-tests.c
74 sipe_xml_tests_CFLAGS = $(libsipe_core_la_CFLAGS)
75 sipe_xml_tests_LDADD = libsipe_core.la
76 sipe_xml_tests_LDFLAGS = $(LIBXML2_LIBS) $(GLIB_LIBS)
78 # disables "caching" of memory blocks in tests
79 TESTS_ENVIRONMENT = G_SLICE="always-malloc"
80 TESTS = $(check_PROGRAMS)