7 libsipe_core_crypto.la \
8 libsipe_core_libxml2.la
10 MAINTAINERCLEANFILES = \
13 libsipe_core_la_SOURCES = \
50 sipe-ews-autodiscover.h \
51 sipe-ews-autodiscover.c \
64 sipe-http-transport.h \
65 sipe-http-transport.c \
70 sipe-lync-autodiscover.h \
71 sipe-lync-autodiscover.c \
87 sipe-subscriptions.h \
88 sipe-subscriptions.c \
106 libsipe_core_la_SOURCES += \
115 if !SIP_SEC_GSSAPI_ONLY
116 libsipe_core_la_SOURCES += \
120 noinst_LTLIBRARIES += \
121 libsipe_core_tests.la
123 libsipe_core_tests_la_SOURCES = \
125 libsipe_core_tests_la_LIBADD = \
126 libsipe_core_la-sipmsg.lo \
127 libsipe_core_la-sipe-sign.lo \
128 libsipe_core_la-sipe-utils.lo \
129 libsipe_core_la-uuid.lo
135 libsipe_core_crypto_la_SOURCES = \
136 sipe-cert-crypto-openssl.c \
137 sipe-crypt-openssl.c \
138 sipe-digest-openssl.c
140 libsipe_core_crypto_la_SOURCES = \
141 sipe-cert-crypto-nss.c \
144 if !SIP_SEC_GSSAPI_ONLY
145 libsipe_core_crypto_la_SOURCES += \
151 libsipe_core_libxml2_la_SOURCES = \
156 libsipe_core_la_CFLAGS = \
164 if !SIP_SEC_GSSAPI_ONLY
165 libsipe_core_tests_la_CFLAGS = $(libsipe_core_la_CFLAGS)
170 libsipe_core_la_SOURCES += \
173 libsipe_core_la_CFLAGS += $(KRB5_CFLAGS)
175 if !SIP_SEC_GSSAPI_ONLY
176 libsipe_core_la_SOURCES += \
177 sip-sec-negotiate.h \
184 noinst_LTLIBRARIES += libsipe_core_mime.la
185 libsipe_core_mime_la_SOURCES = sipe-mime.c
186 libsipe_core_mime_la_CFLAGS = $(libsipe_core_la_CFLAGS) $(GMIME_CFLAGS)
190 libsipe_core_la_CFLAGS += -DHAVE_SSPI=1
193 libsipe_core_crypto_la_CFLAGS = \
194 $(libsipe_core_la_CFLAGS)
196 libsipe_core_crypto_la_CFLAGS += \
199 libsipe_core_crypto_la_CFLAGS += \
204 libsipe_core_libxml2_la_CFLAGS = $(libsipe_core_la_CFLAGS) $(LIBXML2_CFLAGS)
207 libsipe_core_la_SOURCES += sipe-media.h sipe-media.c \
213 libsipe_core_la_SOURCES += \
214 sipe-ft-lync.h sipe-ft-lync.c
216 if SIPE_HAVE_APPSHARE
217 libsipe_core_la_SOURCES += \
220 sipe-appshare-client.h \
221 sipe-appshare-remmina.c \
222 sipe-appshare-xfreerdp.c
224 libsipe_core_la_CFLAGS += $(GIO_CFLAGS)
230 check_PROGRAMS += sipe_xml_tests
231 sipe_xml_tests_SOURCES = sipe-xml-tests.c
232 sipe_xml_tests_CFLAGS = $(libsipe_core_la_CFLAGS)
233 sipe_xml_tests_LDADD = \
234 libsipe_core_libxml2.la \
235 libsipe_core_la-sipe-utils.lo \
239 check_PROGRAMS += sip_sec_digest_tests
240 sip_sec_digest_tests_SOURCES = sip-sec-digest-tests.c
241 sip_sec_digest_tests_CFLAGS = $(libsipe_core_la_CFLAGS)
242 sip_sec_digest_tests_LDADD = \
243 libsipe_core_la-sipe-utils.lo
245 sip_sec_digest_tests_LDADD += \
246 libsipe_core_crypto_la-sipe-crypt-openssl.lo \
247 libsipe_core_crypto_la-sipe-digest-openssl.lo \
250 sip_sec_digest_tests_LDADD += \
251 libsipe_core_crypto_la-sipe-crypt-nss.lo \
252 libsipe_core_crypto_la-sipe-digest-nss.lo \
255 sip_sec_digest_tests_LDADD += \
258 # disables "caching" of memory blocks in tests
259 TESTS_ENVIRONMENT = G_SLICE="always-malloc"
260 TESTS = $(check_PROGRAMS)
265 # TODO: the code needs some TLC from a MinGW expert to compile...
266 noinst_PROGRAMS += sipe_tls_analyzer
267 sipe_tls_analyzer_SOURCES = sipe-tls-analyzer.c
268 sipe_tls_analyzer_CFLAGS = $(libsipe_core_la_CFLAGS)
269 sipe_tls_analyzer_LDADD = \
272 noinst_PROGRAMS += sipe_tls_tester
273 sipe_tls_tester_SOURCES = sipe-tls-tester.c
274 sipe_tls_tester_CFLAGS = $(libsipe_core_la_CFLAGS)
275 sipe_tls_tester_LDADD = \
276 libsipe_core_la-sipe-tls.lo
279 sipe_tls_tester_LDADD += \
280 libsipe_core_crypto_la-sipe-cert-crypto-openssl.lo \
281 libsipe_core_crypto_la-sipe-crypt-openssl.lo \
282 libsipe_core_crypto_la-sipe-digest-openssl.lo \
285 sipe_tls_tester_LDADD += \
286 libsipe_core_crypto_la-sipe-cert-crypto-nss.lo \
287 libsipe_core_crypto_la-sipe-crypt-nss.lo \
288 libsipe_core_crypto_la-sipe-digest-nss.lo \
291 sipe_tls_tester_LDADD += \
295 noinst_PROGRAMS += sipe_ntlm_analyzer
296 sipe_ntlm_analyzer_SOURCES = sip-sec-ntlm-analyzer.c
297 sipe_ntlm_analyzer_CFLAGS = $(libsipe_core_la_CFLAGS)
298 sipe_ntlm_analyzer_LDADD = \