summaryrefslogtreecommitdiffstats
path: root/SoftHSMv2/src/lib/test/Makefile.am
blob: 3723399c76d03f4091d9e1ce91968f563f9f5e55 (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
MAINTAINERCLEANFILES = 		$(srcdir)/Makefile.in

AM_CPPFLAGS = 			-I$(srcdir)/.. \
				-I$(srcdir)/../common \
				-I$(srcdir)/../pkcs11 \
				@CPPUNIT_CFLAGS@

check_PROGRAMS =		p11test

AUTOMAKE_OPTIONS =		subdir-objects

p11test_SOURCES =		p11test.cpp \
				SymmetricAlgorithmTests.cpp \
				DigestTests.cpp \
				InitTests.cpp \
				InfoTests.cpp \
				RandomTests.cpp \
				SessionTests.cpp \
				TokenTests.cpp \
				UserTests.cpp \
				ObjectTests.cpp \
				DeriveTests.cpp \
				SignVerifyTests.cpp \
				AsymEncryptDecryptTests.cpp \
				AsymWrapUnwrapTests.cpp \
				TestsBase.cpp \
				TestsNoPINInitBase.cpp \
				../common/log.cpp \
				../common/osmutex.cpp

p11test_LDADD =			../libsofthsm2.la 

p11test_LDFLAGS = 		@CRYPTO_LIBS@ @CPPUNIT_LIBS@ -no-install -pthread -static

TESTS = 			p11test

EXTRA_DIST =			$(srcdir)/*.h \
				$(srcdir)/tokens/dummy.in