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


if BUILD_TESTS
noinst_PROGRAMS += tests/unit.test
tests_unit_test_SOURCES = \
                  tests/unit.c \
                  tests/api.c \
                  tests/suites.c \
                  tests/hash.c \
                  tests/srp.c \
                  examples/client/client.c \
                  examples/server/server.c
tests_unit_test_CFLAGS       = -DNO_MAIN_DRIVER $(AM_CFLAGS) $(WOLFSENTRY_INCLUDE)
tests_unit_test_LDADD        = src/libwolfssl.la $(LIB_STATIC_ADD) $(WOLFSENTRY_LIB)
tests_unit_test_DEPENDENCIES = src/libwolfssl.la
endif
EXTRA_DIST += tests/unit.h
EXTRA_DIST += tests/test.conf \
              tests/test-sha2.conf \
              tests/test-tls13.conf \
              tests/test-tls13-down.conf \
              tests/test-tls13-ecc.conf \
              tests/test-tls13-psk.conf \
              tests/test-qsh.conf \
              tests/test-qsh-sha2.conf \
              tests/test-psk.conf \
              tests/test-psk-no-id.conf \
              tests/test-psk-no-id-sha2.conf \
              tests/test-dtls.conf \
              tests/test-dtls-fails.conf \
              tests/test-dtls-fails-cipher.conf \
              tests/test-dtls-group.conf \
              tests/test-dtls-mtu.conf \
              tests/test-dtls-reneg-client.conf \
              tests/test-dtls-reneg-server.conf \
              tests/test-dtls-resume.conf \
              tests/test-dtls-sha2.conf \
              tests/test-sctp.conf \
              tests/test-sctp-sha2.conf \
              tests/test-sig.conf \
              tests/test-ed25519.conf \
              tests/test-ed448.conf \
              tests/test-enckeys.conf \
              tests/test-maxfrag.conf \
              tests/test-maxfrag-dtls.conf \
              tests/test-fails.conf \
              tests/test-chains.conf \
              tests/test-altchains.conf \
              tests/test-trustpeer.conf \
              tests/test-dhprime.conf \
              tests/test-p521.conf \
              tests/test-ecc-cust-curves.conf \
              tests/NCONF_test.cnf \
              tests/test-tls-downgrade.conf \
              tests/TXT_DB.txt
DISTCLEANFILES+= tests/.libs/unit.test
