1 pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
3 pkg_LTLIBRARIES = libsipe.la
5 MAINTAINERCLEANFILES = \
11 libsipe_la_SOURCES = \
26 libsipe_la_LDFLAGS = \
27 -module -avoid-version -no-undefined
30 ../core/libsipe_core.la \
31 ../core/libsipe_core_purple.la \
37 libsipe_la_LDFLAGS += $(KRB5_LDFLAGS)
38 libsipe_la_LIBADD += $(KRB5_LIBS)
41 check_PROGRAMS = tests
42 tests_SOURCES = tests.c
43 tests_CFLAGS = $(libsipe_la_CFLAGS)
44 tests_LDADD = ../core/libsipe_core_purple.la
45 tests_LDFLAGS = $(PURPLE_LIBS)
47 TESTS = $(check_PROGRAMS)
49 # Remove any libsipe.so from the old incorrect installation location
51 rm -f $(DESTDIR)$(libdir)/pidgin/libsipe.so