3 libsipe_core_tests.la \
6 MAINTAINERCLEANFILES = \
15 libsipe_core_la_SOURCES = \
60 sipe-subscriptions.h \
61 sipe-subscriptions.c \
70 libsipe_core_la_SOURCES += \
74 libsipe_core_la_SOURCES += \
79 libsipe_core_tests_la_SOURCES = \
82 libsipe_core_purple_la_SOURCES = \
87 # sipe-utils.c contain windows networking dependency wrapped in purple
88 libsipe_core_purple_la_SOURCES += \
95 libsipe_core_la_CFLAGS = \
103 libsipe_core_tests_la_CFLAGS = $(libsipe_core_la_CFLAGS)
106 libsipe_core_la_SOURCES += sip-sec-krb5.h sip-sec-krb5.c
107 libsipe_core_la_CFLAGS += $(KRB5_CFLAGS)
111 libsipe_core_la_SOURCES += sipe-mime.c
112 libsipe_core_la_CFLAGS += $(GMIME_CFLAGS)
116 libsipe_core_la_SOURCES += \
121 libsipe_core_la_CFLAGS += $(NSS_CFLAGS)
124 if SIPE_INCLUDE_PURPLE
125 libsipe_core_purple_la_CFLAGS = $(libsipe_core_la_CFLAGS) $(PURPLE_CFLAGS)
129 libsipe_core_la_SOURCES += sipe-media.h sipe-media.c \
133 check_PROGRAMS = sipe_xml_tests
134 sipe_xml_tests_SOURCES = sipe-xml-tests.c
135 sipe_xml_tests_CFLAGS = $(libsipe_core_la_CFLAGS)
136 sipe_xml_tests_LDADD = libsipe_core.la $(LIBXML2_LIBS) $(GLIB_LIBS)
138 # disables "caching" of memory blocks in tests
139 TESTS_ENVIRONMENT = G_SLICE="always-malloc"
140 TESTS = $(check_PROGRAMS)