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