summaryrefslogtreecommitdiff
path: root/trust/tests/Makefile.am
blob: fa7012090e0f06b9e66b99cd530a2f994061dc7b (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

include $(top_srcdir)/build/Makefile.tests

NULL =

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

noinst_LTLIBRARIES = \
	libtestdata.la

libtestdata_la_SOURCES = \
	test-data.c test-data.h

LDADD = \
	$(top_builddir)/trust/libtrust-testable.la \
	$(top_builddir)/common/libp11-data.la \
	$(top_builddir)/common/libp11-library.la \
	$(top_builddir)/common/libp11-compat.la \
	$(builddir)/libtestdata.la \
	$(LIBTASN1_LIBS) \
	$(CUTEST_LIBS) \
	$(NULL)

CHECK_PROGS = \
	test-persist \
	test-parser \
	test-index \
	test-builder \
	test-token \
	test-module \
	$(NULL)

noinst_PROGRAMS = \
	frob-token \
	frob-nss-trust \
	$(CHECK_PROGS)

frob_nss_trust_LDADD = \
	$(top_builddir)/common/libp11-library.la \
	$(top_builddir)/common/libp11-compat.la \
	$(top_builddir)/p11-kit/libp11-kit.la

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

EXTRA_DIST = \
	anchors \
	certificates \
	files \
	$(NULL)