starter: Don't directly refer to source files in Makefile for unit tests

Older versions of automake have trouble recursively cleaning such
constructs properly.
This commit is contained in:
Tobias Brunner
2014-06-19 14:00:49 +02:00
parent 6719c4c828
commit f4d29bf16d
2 changed files with 8 additions and 5 deletions
+2 -4
View File
@@ -4,9 +4,6 @@ check_PROGRAMS = $(TESTS)
starter_tests_SOURCES = \
suites/test_parser.c \
../parser/conf_parser.c \
../parser/lexer.l \
../parser/parser.y \
starter_tests.h starter_tests.c
starter_tests_CFLAGS = \
@@ -18,4 +15,5 @@ starter_tests_CFLAGS = \
starter_tests_LDFLAGS = @COVERAGE_LDFLAGS@
starter_tests_LDADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la \
$(top_builddir)/src/libstrongswan/tests/libtest.la
$(top_builddir)/src/libstrongswan/tests/libtest.la \
../libstarter.la