summaryrefslogtreecommitdiff
path: root/src/libstrongswan/tests/Makefile.am
blob: e8e8090f3a10174101df20578403bf88daf62185 (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
56
57
58
59
60
61
62
63
check_LTLIBRARIES = libtest.la

libtest_la_SOURCES = \
  test_suite.c test_suite.h \
  test_runner.c test_runner.h \
  utils/test_rng.c utils/test_rng.h

libtest_la_CFLAGS = \
  -I$(top_srcdir)/src/libstrongswan \
  @COVERAGE_CFLAGS@

libtest_la_LDFLAGS = @COVERAGE_LDFLAGS@
libtest_la_LIBADD = \
  $(top_builddir)/src/libstrongswan/libstrongswan.la \
  $(PTHREADLIB)


TESTS = tests

check_PROGRAMS = $(TESTS)

tests_SOURCES = tests.h tests.c \
  suites/test_linked_list.c \
  suites/test_enumerator.c \
  suites/test_linked_list_enumerator.c \
  suites/test_bio_reader.c \
  suites/test_bio_writer.c \
  suites/test_chunk.c \
  suites/test_enum.c \
  suites/test_hashtable.c \
  suites/test_identification.c \
  suites/test_threading.c \
  suites/test_watcher.c \
  suites/test_stream.c \
  suites/test_fetch_http.c \
  suites/test_utils.c \
  suites/test_settings.c \
  suites/test_vectors.c \
  suites/test_array.c \
  suites/test_ecdsa.c \
  suites/test_rsa.c \
  suites/test_host.c \
  suites/test_hasher.c \
  suites/test_crypter.c \
  suites/test_crypto_factory.c \
  suites/test_pen.c \
  suites/test_asn1.c \
  suites/test_asn1_parser.c \
  suites/test_printf.c \
  suites/test_test_rng.c \
  suites/test_ntru.c

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

tests_LDFLAGS = @COVERAGE_LDFLAGS@
tests_LDADD = \
  $(top_builddir)/src/libstrongswan/libstrongswan.la \
  libtest.la