2011-12-14 11:20:46 -06:00
|
|
|
# vim:ft=automake
|
|
|
|
# included from Top Level Makefile.am
|
|
|
|
# All paths should be given relative to the root
|
|
|
|
|
|
|
|
|
2012-11-29 13:31:57 -06:00
|
|
|
if BUILD_EXAMPLES
|
2011-12-14 11:20:46 -06:00
|
|
|
check_PROGRAMS += tests/unit
|
|
|
|
noinst_PROGRAMS += tests/unit
|
|
|
|
tests_unit_SOURCES = \
|
2012-11-01 14:36:47 -05:00
|
|
|
tests/unit.c \
|
|
|
|
tests/api.c \
|
|
|
|
tests/suites.c \
|
2012-08-06 19:14:31 -05:00
|
|
|
tests/hash.c \
|
2012-11-01 14:36:47 -05:00
|
|
|
examples/client/client.c \
|
|
|
|
examples/server/server.c
|
2012-08-06 19:14:31 -05:00
|
|
|
tests_unit_CFLAGS = -DNO_MAIN_DRIVER $(AM_CFLAGS) $(PTHREAD_CFLAGS)
|
2012-01-01 20:41:14 -06:00
|
|
|
tests_unit_LDADD = src/libcyassl.la $(PTHREAD_LIBS)
|
2011-12-14 11:20:46 -06:00
|
|
|
tests_unit_DEPENDENCIES = src/libcyassl.la
|
2012-11-29 13:31:57 -06:00
|
|
|
endif
|
2012-08-04 01:19:24 -05:00
|
|
|
EXTRA_DIST += tests/unit.h
|
2012-08-07 19:01:59 -05:00
|
|
|
EXTRA_DIST += tests/test.conf \
|
|
|
|
tests/test-openssl.conf \
|
|
|
|
tests/test-hc128.conf \
|
2012-08-07 19:18:56 -05:00
|
|
|
tests/test-psk.conf \
|
2012-08-07 20:09:03 -05:00
|
|
|
tests/test-ntru.conf \
|
2012-08-08 17:22:41 -05:00
|
|
|
tests/test-ecc.conf \
|
2013-03-04 19:14:19 -06:00
|
|
|
tests/test-ecc-sha384.conf \
|
2012-08-08 17:37:00 -05:00
|
|
|
tests/test-aesgcm.conf \
|
2012-08-08 17:57:18 -05:00
|
|
|
tests/test-aesgcm-ecc.conf \
|
2012-08-08 19:09:09 -05:00
|
|
|
tests/test-aesgcm-openssl.conf \
|
2013-01-15 17:20:30 -06:00
|
|
|
tests/test-aesccm.conf \
|
2013-02-28 13:39:33 -06:00
|
|
|
tests/test-aesccm-ecc.conf \
|
|
|
|
tests/test-camellia.conf \
|
|
|
|
tests/test-camellia-openssl.conf \
|
2012-10-30 17:09:31 -05:00
|
|
|
tests/test-dtls.conf \
|
2012-11-06 16:30:52 -06:00
|
|
|
tests/test-rabbit.conf \
|
|
|
|
tests/test-null.conf \
|
2012-11-26 20:40:43 -06:00
|
|
|
tests/test-psk-null.conf \
|
|
|
|
tests/test-leanpsk.conf
|
2012-12-06 19:52:36 -06:00
|
|
|
DISTCLEANFILES+= tests/.libs/unit
|