ike-cfg: Add unit tests for ike_cfg_get_family() helper
[strongswan.git] / src / libcharon / tests / Makefile.am
1 TESTS = libcharon_tests
2
3 check_PROGRAMS = $(TESTS)
4
5 libcharon_tests_SOURCES = \
6   suites/test_ike_cfg.c \
7   suites/test_mem_pool.c \
8   suites/test_message_chapoly.c \
9   libcharon_tests.h libcharon_tests.c
10
11 libcharon_tests_CFLAGS = \
12   -I$(top_srcdir)/src/libcharon \
13   -I$(top_srcdir)/src/libhydra \
14   -I$(top_srcdir)/src/libstrongswan \
15   -I$(top_srcdir)/src/libstrongswan/tests \
16   -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
17   -DPLUGINS=\""${s_plugins}\"" \
18   @COVERAGE_CFLAGS@
19
20 libcharon_tests_LDFLAGS = @COVERAGE_LDFLAGS@
21 libcharon_tests_LDADD = \
22   $(top_builddir)/src/libcharon/libcharon.la \
23   $(top_builddir)/src/libhydra/libhydra.la \
24   $(top_builddir)/src/libstrongswan/libstrongswan.la \
25   $(top_builddir)/src/libstrongswan/tests/libtest.la