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