forked from Green-Sky/tomato
Squashed 'external/toxcore/c-toxcore/' content from commit 67badf69
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
This commit is contained in:
34
testing/Makefile.inc
Normal file
34
testing/Makefile.inc
Normal file
@ -0,0 +1,34 @@
|
||||
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
|
||||
|
||||
libmisc_tools_la_CFLAGS = $(LIBSODIUM_CFLAGS)
|
||||
|
||||
libmisc_tools_la_LIBADD = $(LIBSODIUM_LDFLAGS)
|
||||
|
||||
if BUILD_TESTING
|
||||
|
||||
noinst_PROGRAMS += Messenger_test
|
||||
|
||||
Messenger_test_SOURCES = \
|
||||
../testing/Messenger_test.c
|
||||
|
||||
Messenger_test_CFLAGS = $(LIBSODIUM_CFLAGS) \
|
||||
$(NACL_CFLAGS)
|
||||
|
||||
Messenger_test_LDADD = $(LIBSODIUM_LDFLAGS) \
|
||||
$(NACL_LDFLAGS) \
|
||||
libmisc_tools.la \
|
||||
libtoxcore.la \
|
||||
$(LIBSODIUM_LIBS) \
|
||||
$(NACL_OBJECTS) \
|
||||
$(NACL_LIBS) \
|
||||
$(WINSOCK2_LIBS)
|
||||
|
||||
endif
|
Reference in New Issue
Block a user