3 libsipe_core_tests.la \
6 MAINTAINERCLEANFILES = \
15 libsipe_core_la_SOURCES = \
59 sipe-subscriptions.h \
60 sipe-subscriptions.c \
69 libsipe_core_la_SOURCES += \
73 libsipe_core_la_SOURCES += \
78 libsipe_core_tests_la_SOURCES = \
81 libsipe_core_purple_la_SOURCES = \
86 # sipe-utils.c contain windows networking dependency wrapped in purple
87 libsipe_core_purple_la_SOURCES += \
94 libsipe_core_la_CFLAGS = \
102 libsipe_core_tests_la_CFLAGS = $(libsipe_core_la_CFLAGS)
105 libsipe_core_la_SOURCES += sip-sec-krb5.h sip-sec-krb5.c
106 libsipe_core_la_CFLAGS += $(KRB5_CFLAGS)
110 libsipe_core_la_SOURCES += sipe-mime.c
111 libsipe_core_la_CFLAGS += $(GMIME_CFLAGS)
115 libsipe_core_la_SOURCES += \
120 libsipe_core_la_CFLAGS += $(NSS_CFLAGS)
123 if SIPE_INCLUDE_PURPLE
124 libsipe_core_purple_la_CFLAGS = $(libsipe_core_la_CFLAGS) $(PURPLE_CFLAGS)
128 libsipe_core_la_SOURCES += sipe-media.h sipe-media.c \
132 check_PROGRAMS = sipe_xml_tests
133 sipe_xml_tests_SOURCES = sipe-xml-tests.c
134 sipe_xml_tests_CFLAGS = $(libsipe_core_la_CFLAGS)
135 sipe_xml_tests_LDADD = libsipe_core.la $(LIBXML2_LIBS) $(GLIB_LIBS)
137 # disables "caching" of memory blocks in tests
138 TESTS_ENVIRONMENT = G_SLICE="always-malloc"
139 TESTS = $(check_PROGRAMS)