libcharon: Add a test runner
[strongswan.git] / src / libcharon / tests / Makefile.am
1 TESTS = libcharon_tests
2
3 check_PROGRAMS = $(TESTS)
4
5 libcharon_tests_SOURCES = \
6   libcharon_tests.h libcharon_tests.c
7
8 libcharon_tests_CFLAGS = \
9   -I$(top_srcdir)/src/libcharon \
10   -I$(top_srcdir)/src/libhydra \
11   -I$(top_srcdir)/src/libstrongswan \
12   -I$(top_srcdir)/src/libstrongswan/tests \
13   @COVERAGE_CFLAGS@
14
15 libcharon_tests_LDFLAGS = @COVERAGE_LDFLAGS@
16 libcharon_tests_LDADD = \
17   $(top_builddir)/src/libcharon/libcharon.la \
18   $(top_builddir)/src/libhydra/libhydra.la \
19   $(top_builddir)/src/libstrongswan/libstrongswan.la \
20   $(top_builddir)/src/libstrongswan/tests/libtest.la