summaryrefslogtreecommitdiff
path: root/common/tests/Makefile.am
blob: ceb0d476fd3b38cb38f591c9beb6bdb93ec6e5d9 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

include $(top_srcdir)/build/Makefile.tests

NULL =

COMMON = $(top_srcdir)/common

INCLUDES = \
	-I$(top_srcdir) \
	-I$(srcdir)/.. \
	-I$(COMMON) \
	$(CUTEST_CFLAGS)

LDADD = \
	$(NULL)

CHECK_PROGS = \
	test-dict \
	test-array \
	test-attrs \
	test-buffer \
	$(NULL)

noinst_PROGRAMS = \
	$(CHECK_PROGS)

TESTS = $(CHECK_PROGS:=$(EXEEXT))

if WITH_ASN1

LDADD += \
	$(top_builddir)/common/libp11-data.la \
	$(LIBTASN1_LIBS) \
	$(NULL)

CHECK_PROGS += \
	test-asn1 \
	test-checksum \
	test-pem \
	test-oid \
	test-x509 \
	$(NULL)

noinst_PROGRAMS += \
	frob-cert \
	frob-ku \
	frob-eku \
	frob-cert \
	frob-oid \
	$(NULL)

endif # WITH_ASN1

LDADD += \
	$(top_builddir)/common/libp11-library.la \
	$(top_builddir)/common/libp11-compat.la \
	$(CUTEST_LIBS)