summaryrefslogtreecommitdiff
path: root/src/libcharon/tests/Makefile.am
blob: 5ebd0456ccfda301fe5edc2a71df21b7917023f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
TESTS = libcharon_tests exchange_tests

check_PROGRAMS = $(TESTS)

libcharon_tests_SOURCES = \
  suites/test_ike_cfg.c \
  suites/test_mem_pool.c \
  suites/test_message_chapoly.c \
  libcharon_tests.h libcharon_tests.c

libcharon_tests_CFLAGS = \
  -I$(top_srcdir)/src/libcharon \
  -I$(top_srcdir)/src/libstrongswan \
  -I$(top_srcdir)/src/libstrongswan/tests \
  -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
  -DPLUGINS=\""${s_plugins}\"" \
  @COVERAGE_CFLAGS@

libcharon_tests_LDFLAGS = @COVERAGE_LDFLAGS@
libcharon_tests_LDADD = \
  $(top_builddir)/src/libcharon/libcharon.la \
  $(top_builddir)/src/libstrongswan/libstrongswan.la \
  $(top_builddir)/src/libstrongswan/tests/libtest.la


exchange_tests_SOURCES = \
  suites/test_child_create.c \
  suites/test_child_delete.c \
  suites/test_child_rekey.c \
  suites/test_ike_delete.c \
  suites/test_ike_mid_sync.c \
  suites/test_ike_rekey.c \
  utils/exchange_test_asserts.h utils/exchange_test_asserts.c \
  utils/exchange_test_helper.h utils/exchange_test_helper.c \
  utils/job_asserts.h \
  utils/mock_dh.h utils/mock_dh.c \
  utils/mock_ipsec.h utils/mock_ipsec.c \
  utils/mock_nonce_gen.h utils/mock_nonce_gen.c \
  utils/mock_sender.h utils/mock_sender.c \
  utils/sa_asserts.h \
  exchange_tests.h exchange_tests.c

exchange_tests_CFLAGS = \
  -I$(top_srcdir)/src/libcharon \
  -I$(top_srcdir)/src/libstrongswan \
  -I$(top_srcdir)/src/libstrongswan/tests \
  -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
  -DPLUGINS=\""${s_plugins}\"" \
  @COVERAGE_CFLAGS@

exchange_tests_LDFLAGS = @COVERAGE_LDFLAGS@
exchange_tests_LDADD = \
  $(top_builddir)/src/libcharon/libcharon.la \
  $(top_builddir)/src/libstrongswan/libstrongswan.la \
  $(top_builddir)/src/libstrongswan/tests/libtest.la