tests/Makefile.am
author hallski <hallski>
Sun, 10 Sep 2006 12:24:09 +0000
changeset 171 118ca6c4520e
parent 170 bba590bac876
child 397 5e2ad0e0704a
permissions -rw-r--r--
2006-09-10 Mikael Hallendal <micke@imendio.com> * configure.ac: * loudmouth/Makefile.am: * tests/Makefile.am: * tests/parser-tests/*: * tests/test-parser.c: - Some more work on unit tests for the parser.

SUBDIRS = parser-tests

TESTS =                                       \
	test-objects                          \
	test-parser

test_objects_SOURCES =                        \
	test-objects.c                        \
	test-objects.h

test_parser_SOURCES =                         \
	test-parser.c

if HAVE_CHECK
noinst_PROGRAMS = $(TESTS)
endif

AM_CPPFLAGS =                                 \
	-I.                                   \
	-I$(top_srcdir)                       \
	-DLM_COMPILATION                      \
	-DRUNTIME_ENDIAN                      \
	$(LOUDMOUTH_CFLAGS)                   \
	-DPARSER_TEST_DIR="\"$(top_srcdir)/tests/parser-tests\""  \
	@CHECK_CFLAGS@

LIBS =                                        \
	$(LOUDMOUTH_LIBS)                     \
	@CHECK_LIBS@                          \
	$(top_builddir)/loudmouth/libloudmouth-1.la