toxcore/auto_tests/Makefile.inc
jin-eld 7d29bd23b9 Forward compatibility with automake 1.14
This update makes sure that the build still works with automake prior to
1.12 and at the same time does not give any warnings or errors with
automake 1.14
2013-09-01 20:39:02 +03:00

35 lines
891 B
Makefile

if BUILD_TESTS
TESTS = messenger_autotest crypto_test
check_PROGRAMS = messenger_autotest crypto_test
messenger_autotest_SOURCES = \
../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 = ../auto_tests/crypto_test.c
crypto_test_CFLAGS = $(LIBSODIUM_CFLAGS) \
$(CHECK_CFLAGS)
crypto_test_LDADD = $(LIBSODIUM_LDFLAGS) \
libtoxcore.la \
$(LIBSODIUM_LIBS) \
$(CHECK_LIBS)
endif
EXTRA_DIST += $(top_srcdir)/auto_tests/friends_test.c