3 libsipe_core_tests.la \
6 MAINTAINERCLEANFILES = \
15 libsipe_core_la_SOURCES = \
57 sipe-subscriptions.h \
58 sipe-subscriptions.c \
66 libsipe_core_la_SOURCES += \
70 libsipe_core_la_SOURCES += \
75 libsipe_core_tests_la_SOURCES = \
78 libsipe_core_purple_la_SOURCES = \
83 # sipe-utils.c contain windows networking dependency wrapped in purple
84 libsipe_core_purple_la_SOURCES += \
91 libsipe_core_la_CFLAGS = \
99 libsipe_core_tests_la_CFLAGS = $(libsipe_core_la_CFLAGS)
102 libsipe_core_la_SOURCES += sip-sec-krb5.h sip-sec-krb5.c
103 libsipe_core_la_CFLAGS += $(KRB5_CFLAGS)
107 libsipe_core_la_SOURCES += sipe-mime.c
108 libsipe_core_la_CFLAGS += $(GMIME_CFLAGS)
112 libsipe_core_la_SOURCES += \
117 libsipe_core_la_CFLAGS += $(NSS_CFLAGS)
120 if SIPE_INCLUDE_PURPLE
121 libsipe_core_purple_la_CFLAGS = $(libsipe_core_la_CFLAGS) $(PURPLE_CFLAGS)
125 libsipe_core_la_SOURCES += sipe-media.h sipe-media.c \
129 check_PROGRAMS = sipe_xml_tests
130 sipe_xml_tests_SOURCES = sipe-xml-tests.c
131 sipe_xml_tests_CFLAGS = $(libsipe_core_la_CFLAGS)
132 sipe_xml_tests_LDADD = libsipe_core.la $(LIBXML2_LIBS) $(GLIB_LIBS)
134 # disables "caching" of memory blocks in tests
135 TESTS_ENVIRONMENT = G_SLICE="always-malloc"
136 TESTS = $(check_PROGRAMS)