1 pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
3 noinst_LTLIBRARIES = libsipe_backend.la
5 pkg_LTLIBRARIES = libsipe.la
7 MAINTAINERCLEANFILES = \
10 libsipe_backend_la_SOURCES = \
30 libsipe_la_SOURCES = \
35 libsipe_backend_la_CFLAGS = \
43 libsipe_backend_la_CFLAGS += \
47 libsipe_la_CFLAGS = $(libsipe_backend_la_CFLAGS)
49 libsipe_la_LDFLAGS = \
50 -module -avoid-version -no-undefined
53 ../core/libsipe_core.la \
54 ../core/libsipe_core_crypto_nss.la \
55 ../core/libsipe_core_libxml2.la \
63 libsipe_la_CFLAGS += -DHAVE_SSPI=1
64 libsipe_la_LIBADD += -lws2_32 -lsecur32
68 libsipe_la_LIBADD += $(KRB5_LDFLAGS)
71 check_PROGRAMS = tests_load
72 tests_load_SOURCES = tests-load.c
73 tests_load_CFLAGS = $(GMODULE_CFLAGS)
74 tests_load_LDADD = $(GMODULE_LIBS)
77 check_PROGRAMS += tests
78 tests_SOURCES = tests.c
79 tests_CFLAGS = $(libsipe_la_CFLAGS)
81 ../core/libsipe_core_tests.la \
82 ../core/libsipe_core.la \
83 ../core/libsipe_core_crypto_nss.la \
90 libsipe_la_LIBADD += \
91 ../core/libsipe_core_mime.la \
95 ../core/libsipe_core_mime.la \
99 libsipe_backend_la_SOURCES += purple-mime.c
103 noinst_LTLIBRARIES += libsipe_backend_vv.la
104 libsipe_backend_vv_la_SOURCES = purple-media.c
105 libsipe_backend_vv_la_CFLAGS = \
106 $(libsipe_backend_la_CFLAGS) \
109 libsipe_la_LIBADD += \
110 libsipe_backend_vv.la \
115 TESTS = $(check_PROGRAMS)
117 # Remove any libsipe.so from the old incorrect installation location
119 rm -f $(DESTDIR)$(libdir)/pidgin/libsipe.so