# vim:ft=automake
# included from Top Level Makefile.am
# All paths should be given relative to the root


if BUILD_TESTS
check_PROGRAMS += testsuite/testsuite.test
noinst_PROGRAMS += testsuite/testsuite.test
testsuite_testsuite_test_SOURCES = \
			      wolfcrypt/test/test.c \
			      examples/client/client.c \
			      examples/echoclient/echoclient.c \
			      examples/echoserver/echoserver.c \
			      examples/server/server.c \
			      testsuite/testsuite.c
testsuite_testsuite_test_CFLAGS       = -DNO_MAIN_DRIVER $(AM_CFLAGS) $(WOLFSENTRY_INCLUDE)
testsuite_testsuite_test_LDADD        = src/libwolfssl.la $(LIB_STATIC_ADD) $(WOLFSENTRY_LIB)
testsuite_testsuite_test_DEPENDENCIES = src/libwolfssl.la
endif
EXTRA_DIST += testsuite/testsuite.sln
EXTRA_DIST += testsuite/testsuite.vcproj
EXTRA_DIST += testsuite/testsuite.vcxproj
EXTRA_DIST += input
EXTRA_DIST += quit
DISTCLEANFILES+= testsuite/.libs/testsuite.test
