summaryrefslogtreecommitdiff
path: root/trust/Makefile.am
blob: 0f84205d45daa12a194ed1896d1d1628153e0ecd (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
NULL =

SUBDIRS = . tests

COMMON = $(top_srcdir)/common

INCLUDES = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/common \
	$(LIBTASN1_CFLAGS) \
	$(NULL)

MODULE_SRCS = \
	builder.c builder.h \
	index.c index.h \
	parser.c parser.h \
	module.c module.h \
	session.c session.h \
	token.c token.h \
	$(NULL)

configdir = $(p11_package_config_modules)
config_DATA = p11-kit-trust.module

moduledir = $(p11_module_path)
module_LTLIBRARIES = \
	p11-kit-trust.la

p11_kit_trust_la_CFLAGS = \
	$(LIBTASN1_CFLAGS)

p11_kit_trust_la_LIBADD = \
	$(top_builddir)/common/libp11-data.la \
	$(top_builddir)/common/libp11-library.la \
	$(top_builddir)/common/libp11-compat.la \
	$(LIBTASN1_LIBS) \
	$(NULL)

p11_kit_trust_la_LDFLAGS = \
	-no-undefined -module -avoid-version \
	-version-info $(P11KIT_LT_RELEASE) \
	-export-symbols-regex 'C_GetFunctionList' \
	$(NULL)

p11_kit_trust_la_SOURCES = $(MODULE_SRCS)

noinst_LTLIBRARIES = \
	libtrust-testable.la

libtrust_testable_la_LDFLAGS = \
	-no-undefined

libtrust_testable_la_SOURCES = $(MODULE_SRCS)

EXTRA_DIST = \
	p11-kit-trust.module