summaryrefslogtreecommitdiffstats
path: root/SoftHSMv2/src/lib/crypto/test/Makefile.am
blob: 4065ef9ce54435b082e742b2add54e8861c36824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
MAINTAINERCLEANFILES = 		$(srcdir)/Makefile.in

AM_CPPFLAGS = 			-I$(srcdir)/.. \
				-I$(srcdir)/../.. \
				-I$(srcdir)/../../common \
				-I$(srcdir)/../../data_mgr \
				-I$(srcdir)/../../object_store \
				-I$(srcdir)/../../pkcs11 \
				-I$(srcdir)/../../session_mgr \
				-I$(srcdir)/../../slot_mgr \
				@CPPUNIT_CFLAGS@ \
				@CRYPTO_INCLUDES@

check_PROGRAMS =		cryptotest

cryptotest_SOURCES =		cryptotest.cpp \
				AESTests.cpp \
				DESTests.cpp \
				DHTests.cpp \
				DSATests.cpp \
				ECDHTests.cpp \
				ECDSATests.cpp \
				EDDSATests.cpp \
				GOSTTests.cpp \
				HashTests.cpp \
				MacTests.cpp \
				RNGTests.cpp \
				RSATests.cpp \
				chisq.c \
				ent.c \
				iso8859.c \
				randtest.c

cryptotest_LDADD =		../../libsofthsm_convarch.la

cryptotest_LDFLAGS = 		@CRYPTO_LIBS@ @CPPUNIT_LIBS@ -no-install

TESTS = 			cryptotest

EXTRA_DIST =			$(srcdir)/CMakeLists.txt \
				$(srcdir)/*.h