2018-07-17 06:46:02 +08:00
|
|
|
if BUILD_TESTS
|
|
|
|
TEST_LIB = misc_tools
|
|
|
|
endif
|
|
|
|
if BUILD_TESTING
|
|
|
|
TEST_LIB = misc_tools
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES += libmisc_tools.la
|
|
|
|
libmisc_tools_la_SOURCES = ../testing/misc_tools.c ../testing/misc_tools.h
|
|
|
|
|
2018-08-21 00:11:37 +08:00
|
|
|
libmisc_tools_la_CFLAGS = $(LIBSODIUM_CFLAGS)
|
|
|
|
|
|
|
|
libmisc_tools_la_LIBADD = $(LIBSODIUM_LDFLAGS)
|
|
|
|
|
2013-10-07 07:58:57 +08:00
|
|
|
if BUILD_TESTING
|
|
|
|
|
2022-02-23 05:24:06 +08:00
|
|
|
noinst_PROGRAMS += Messenger_test
|
2013-08-14 02:55:32 +08:00
|
|
|
|
|
|
|
Messenger_test_SOURCES = \
|
2013-08-30 18:35:48 +08:00
|
|
|
../testing/Messenger_test.c
|
2013-08-14 02:55:32 +08:00
|
|
|
|
2013-09-05 18:02:26 +08:00
|
|
|
Messenger_test_CFLAGS = $(LIBSODIUM_CFLAGS) \
|
|
|
|
$(NACL_CFLAGS)
|
2013-08-14 02:55:32 +08:00
|
|
|
|
|
|
|
Messenger_test_LDADD = $(LIBSODIUM_LDFLAGS) \
|
2013-09-05 18:02:26 +08:00
|
|
|
$(NACL_LDFLAGS) \
|
2018-07-17 06:46:02 +08:00
|
|
|
libmisc_tools.la \
|
2013-08-14 02:55:32 +08:00
|
|
|
libtoxcore.la \
|
|
|
|
$(LIBSODIUM_LIBS) \
|
2014-03-23 09:01:45 +08:00
|
|
|
$(NACL_OBJECTS) \
|
2013-09-05 18:02:26 +08:00
|
|
|
$(NACL_LIBS) \
|
2013-08-14 02:55:32 +08:00
|
|
|
$(WINSOCK2_LIBS)
|
|
|
|
|
2013-10-07 07:58:57 +08:00
|
|
|
endif
|