starter: Don't directly refer to source files in Makefile for unit tests
[strongswan.git] / src / starter / tests / Makefile.am
1 TESTS = starter_tests
2
3 check_PROGRAMS = $(TESTS)
4
5 starter_tests_SOURCES = \
6         suites/test_parser.c \
7         starter_tests.h starter_tests.c
8
9 starter_tests_CFLAGS = \
10         -I$(top_srcdir)/src/libstrongswan \
11         -I$(top_srcdir)/src/libstrongswan/tests \
12         -I$(top_srcdir)/src/starter \
13         @COVERAGE_CFLAGS@
14
15 starter_tests_LDFLAGS = @COVERAGE_LDFLAGS@
16 starter_tests_LDADD = \
17         $(top_builddir)/src/libstrongswan/libstrongswan.la \
18         $(top_builddir)/src/libstrongswan/tests/libtest.la \
19         ../libstarter.la