summaryrefslogtreecommitdiff
path: root/testing/Makefile.inc
diff options
context:
space:
mode:
authorJin^eLD <jin@mediatomb.cc>2013-10-16 17:42:00 +0200
committerJin^eLD <jin@mediatomb.cc>2013-10-16 18:03:33 +0200
commit07d334bbe317857f649799b2d7ef4bc4778b26c7 (patch)
tree0f5456231a4f415f3f4782972b2f4887a9be7935 /testing/Makefile.inc
parentd01b4a8e00953e2f891462bbf92896d4373d5a54 (diff)
Do not build tox_sync on win32
Diffstat (limited to 'testing/Makefile.inc')
-rw-r--r--testing/Makefile.inc17
1 files changed, 9 insertions, 8 deletions
diff --git a/testing/Makefile.inc b/testing/Makefile.inc
index de3995be..31c84678 100644
--- a/testing/Makefile.inc
+++ b/testing/Makefile.inc
@@ -25,8 +25,7 @@ noinst_PROGRAMS += DHT_test \
25 Lossless_UDP_testclient \ 25 Lossless_UDP_testclient \
26 Lossless_UDP_testserver \ 26 Lossless_UDP_testserver \
27 Messenger_test \ 27 Messenger_test \
28 crypto_speed_test \ 28 crypto_speed_test
29 tox_sync
30 29
31DHT_test_SOURCES = ../testing/DHT_test.c 30DHT_test_SOURCES = ../testing/DHT_test.c
32 31
@@ -102,20 +101,22 @@ crypto_speed_test_LDADD = \
102 $(NACL_LIBS) \ 101 $(NACL_LIBS) \
103 $(WINSOCK2_LIBS) 102 $(WINSOCK2_LIBS)
104 103
105tox_sync_SOURCES = \ 104if !WIN32
106 ../testing/tox_sync.c
107 105
108tox_sync_CFLAGS = \ 106noinst_PROGRAMS += tox_sync
109 $(LIBSODIUM_CFLAGS) \ 107
108tox_sync_SOURCES = ../testing/tox_sync.c
109
110tox_sync_CFLAGS = $(LIBSODIUM_CFLAGS) \
110 $(NACL_CFLAGS) 111 $(NACL_CFLAGS)
111 112
112tox_sync_LDADD = \ 113tox_sync_LDADD = $(LIBSODIUM_LDFLAGS) \
113 $(LIBSODIUM_LDFLAGS) \
114 $(NACL_LDFLAGS) \ 114 $(NACL_LDFLAGS) \
115 libtoxcore.la \ 115 libtoxcore.la \
116 $(LIBSODIUM_LIBS) \ 116 $(LIBSODIUM_LIBS) \
117 $(NACL_LIBS) \ 117 $(NACL_LIBS) \
118 $(WINSOCK2_LIBS) 118 $(WINSOCK2_LIBS)
119endif
119 120
120EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c 121EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c
121 122