2013-08-14 02:55:32 +08:00
|
|
|
if BUILD_TESTS
|
|
|
|
|
|
|
|
TESTS = messenger_autotest crypto_test
|
|
|
|
|
|
|
|
check_PROGRAMS = messenger_autotest crypto_test
|
|
|
|
|
|
|
|
messenger_autotest_SOURCES = \
|
|
|
|
$(top_srcdir)/auto_tests/messenger_test.c
|
|
|
|
|
|
|
|
messenger_autotest_CFLAGS = \
|
|
|
|
$(LIBSODIUM_CFLAGS) \
|
|
|
|
$(CHECK_CFLAGS)
|
|
|
|
|
|
|
|
messenger_autotest_LDADD = \
|
|
|
|
$(LIBSODIUM_LDFLAGS) \
|
|
|
|
libtoxcore.la \
|
|
|
|
$(LIBSODIUM_LIBS) \
|
|
|
|
$(CHECK_LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
crypto_test_SOURCES = $(top_srcdir)/auto_tests/crypto_test.c
|
|
|
|
|
|
|
|
crypto_test_CFLAGS = $(LIBSODIUM_CFLAGS) \
|
|
|
|
$(CHECK_CFLAGS)
|
|
|
|
|
|
|
|
crypto_test_LDADD = $(LIBSODIUM_LDFLAGS) \
|
|
|
|
libtoxcore.la \
|
|
|
|
$(LIBSODIUM_LIBS) \
|
|
|
|
$(CHECK_LIBS)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-08-24 08:36:43 +08:00
|
|
|
EXTRA_DIST += $(top_srcdir)/auto_tests/friends_test.c
|
2013-08-14 02:55:32 +08:00
|
|
|
|