view libpurple/tests/Makefile.am @ 18201:af15bece7097

G_GNUC_NULL_TERMINATED requires a high glib version. So define it to nothing for older versions. There was vivid suggestions on d@cpi to define it in internal.h by multiple devs. Doing that probably would've required other plugins to detect glib versions and do the define. So I am putting it in account.h instead. Does this look alright?
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 19 Jun 2007 21:58:56 +0000
parents c6e563dfaa7a
children acd7e486db43
line wrap: on
line source

if HAVE_CHECK
TESTS=check_libpurple

check_PROGRAMS=check_libpurple

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

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

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

endif