view libpurple/tests/Makefile.am @ 31281:0e9b252f1769

propagate from branch 'im.pidgin.pidgin' (head b51a9f598d90ec0520c1d605d2335b29ed1ef64d) to branch 'im.pidgin.pidgin.mxit' (head a6e78a0638ffbf99efaa856cb181db5e0cea3797)
author andrew.victor@mxit.com
date Tue, 23 Nov 2010 07:50:25 +0000
parents 6362579b3d2e
children e743507b3767
line wrap: on
line source

if HAVE_CHECK
TESTS=check_libpurple

clean-local:
	-rm -rf libpurple..

check_PROGRAMS=check_libpurple

check_libpurple_SOURCES=\
        check_libpurple.c \
	    tests.h \
		test_cipher.c \
		test_jabber_caps.c \
		test_jabber_jutil.c \
		test_jabber_scram.c \
		test_qq.c \
		test_yahoo_util.c \
		test_util.c \
		$(top_builddir)/libpurple/util.h

check_libpurple_CFLAGS=\
        @CHECK_CFLAGS@ \
		$(GLIB_CFLAGS) \
		$(DEBUG_CFLAGS) \
		$(LIBXML_CFLAGS) \
		-I.. \
		-I$(top_srcdir)/libpurple \
		-DBUILDDIR=\"$(top_builddir)\"

check_libpurple_LDADD=\
		$(top_builddir)/libpurple/protocols/jabber/libjabber.la \
		$(top_builddir)/libpurple/protocols/qq/libqq_tmp.la \
		$(top_builddir)/libpurple/protocols/yahoo/libymsg.la \
		$(top_builddir)/libpurple/libpurple.la \
        @CHECK_LIBS@ \
		$(GLIB_LIBS)

endif