summaryrefslogtreecommitdiff
path: root/common/Makefile.am
blob: a132984f997eac315f4cb75e0141fa04f7cb45c9 (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
58
59
60
61
62
63
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 \
	constants.c constants.h \
	debug.c debug.h \
	dict.c dict.h \
	lexer.c lexer.h \
	library.c library.h \
	pkcs11.h pkcs11x.h \
	url.c url.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 \
	utf8.c utf8.h \
	x509.c x509.h \
	$(NULL)

libp11_data_la_CFLAGS = \
	$(LIBTASN1_CFLAGS)

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

endif # WITH_ASN1