summaryrefslogtreecommitdiff
path: root/auto_tests/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/Makefile.inc')
-rw-r--r--auto_tests/Makefile.inc50
1 files changed, 19 insertions, 31 deletions
diff --git a/auto_tests/Makefile.inc b/auto_tests/Makefile.inc
index 6c59eebb..9c06bc78 100644
--- a/auto_tests/Makefile.inc
+++ b/auto_tests/Makefile.inc
@@ -4,15 +4,12 @@ TESTS = messenger_autotest crypto_test network_test
4 4
5check_PROGRAMS = messenger_autotest crypto_test network_test 5check_PROGRAMS = messenger_autotest crypto_test network_test
6 6
7messenger_autotest_SOURCES = \ 7AUTOTEST_CFLAGS = \
8 ../auto_tests/messenger_test.c 8 $(LIBSODIUM_CFLAGS) \
9 9 $(NACL_CFLAGS) \
10messenger_autotest_CFLAGS = \ 10 $(CHECK_CFLAGS)
11 $(LIBSODIUM_CFLAGS) \ 11
12 $(NACL_CFLAGS) \ 12AUTOTEST_LDADD = \
13 $(CHECK_CFLAGS)
14
15messenger_autotest_LDADD = \
16 $(LIBSODIUM_LDFLAGS) \ 13 $(LIBSODIUM_LDFLAGS) \
17 $(NACL_LDFLAGS) \ 14 $(NACL_LDFLAGS) \
18 libtoxcore.la \ 15 libtoxcore.la \
@@ -20,35 +17,26 @@ messenger_autotest_LDADD = \
20 $(NACL_LIBS) \ 17 $(NACL_LIBS) \
21 $(CHECK_LIBS) 18 $(CHECK_LIBS)
22 19
20messenger_autotest_SOURCES = ../auto_tests/messenger_test.c
21
22messenger_autotest_CFLAGS = $(AUTOTEST_CFLAGS)
23
24messenger_autotest_LDADD = $(AUTOTEST_LDADD)
25
23 26
24crypto_test_SOURCES = ../auto_tests/crypto_test.c 27crypto_test_SOURCES = ../auto_tests/crypto_test.c
25 28
26crypto_test_CFLAGS = $(LIBSODIUM_CFLAGS) \ 29crypto_test_CFLAGS = $(AUTOTEST_CFLAGS)
27 $(NACL_CFLAGS) \
28 $(CHECK_CFLAGS)
29 30
30crypto_test_LDADD = $(LIBSODIUM_LDFLAGS) \ 31crypto_test_LDADD = $(AUTOTEST_LDADD)
31 $(NACL_LDFLAGS) \
32 libtoxcore.la \
33 $(LIBSODIUM_LIBS) \
34 $(NACL_LIBS) \
35 $(CHECK_LIBS)
36 32
37network_test_SOURCES = \
38 ../auto_tests/network_test.c
39 33
40network_test_CFLAGS = \ 34network_test_SOURCES = ../auto_tests/network_test.c
41 $(LIBSODIUM_CFLAGS) \ 35
42 $(NACL_CFLAGS) \ 36network_test_CFLAGS = $(AUTOTEST_CFLAGS)
43 $(CHECK_CFLAGS) 37
38network_test_LDADD = $(AUTOTEST_LDADD)
44 39
45network_test_LDADD = \
46 $(LIBSODIUM_LDFLAGS) \
47 $(NACL_LDFLAGS) \
48 libtoxcore.la \
49 $(LIBSODIUM_LIBS) \
50 $(NACL_LIBS) \
51 $(CHECK_LIBS)
52 40
53endif 41endif
54 42