summaryrefslogtreecommitdiff
path: root/common/Makefile.am
blob: 145627c48d2ae6158e1d22f44a112637fd39206b (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

incdir = $(includedir)/p11-kit-1/p11-kit

inc_HEADERS = \
	pkcs11.h \
	$(NULL)

noinst_LTLIBRARIES = \
	libp11-compat.la \
	libp11-library.la \
	libp11-mock.la \
	$(NULL)

libp11_compat_la_SOURCES = \
	compat.c compat.h \
	$(NULL)

libp11_library_la_SOURCES = \
	attrs.c attrs.h \
	array.c array.h \
	buffer.c buffer.h \
	debug.c debug.h \
	dict.c dict.h \
	library.c library.h \
	pkcs11.h pkcs11x.h \
	$(NULL)

libp11_mock_la_SOURCES = \
	mock.c mock.h \
	$(NULL)

if WITH_ASN1

noinst_LTLIBRARIES += \
	libp11-data.la \
	$(NULL)

libp11_data_la_SOURCES = \
	asn1.c asn1.h \
	base64.c base64.h \
	checksum.c checksum.h \
	oid.c oid.h \
	openssl.asn openssl.asn.h \
	pem.c pem.h \
	pkix.asn pkix.asn.h \
	x509.c x509.h \
	$(NULL)

asn:
	asn1Parser -o pkix.asn.h pkix.asn
	asn1Parser -o openssl.asn.h openssl.asn

endif # WITH_ASN1