diff options
author | Jin^eLD <jin@mediatomb.cc> | 2013-10-16 17:42:00 +0200 |
---|---|---|
committer | Jin^eLD <jin@mediatomb.cc> | 2013-10-16 18:03:33 +0200 |
commit | 07d334bbe317857f649799b2d7ef4bc4778b26c7 (patch) | |
tree | 0f5456231a4f415f3f4782972b2f4887a9be7935 /testing | |
parent | d01b4a8e00953e2f891462bbf92896d4373d5a54 (diff) |
Do not build tox_sync on win32
Diffstat (limited to 'testing')
-rw-r--r-- | testing/Makefile.inc | 17 |
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 | ||
31 | DHT_test_SOURCES = ../testing/DHT_test.c | 30 | DHT_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 | ||
105 | tox_sync_SOURCES = \ | 104 | if !WIN32 |
106 | ../testing/tox_sync.c | ||
107 | 105 | ||
108 | tox_sync_CFLAGS = \ | 106 | noinst_PROGRAMS += tox_sync |
109 | $(LIBSODIUM_CFLAGS) \ | 107 | |
108 | tox_sync_SOURCES = ../testing/tox_sync.c | ||
109 | |||
110 | tox_sync_CFLAGS = $(LIBSODIUM_CFLAGS) \ | ||
110 | $(NACL_CFLAGS) | 111 | $(NACL_CFLAGS) |
111 | 112 | ||
112 | tox_sync_LDADD = \ | 113 | tox_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) |
119 | endif | ||
119 | 120 | ||
120 | EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c | 121 | EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c |
121 | 122 | ||