summaryrefslogtreecommitdiff
path: root/pkcs11/gkm/Makefile.am
blob: fe1900e9dd1cbfe53eb8117e5d36c80122383296 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
INCLUDES = \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	$(GOBJECT_CFLAGS) \
	$(LIBGCRYPT_CFLAGS) \
	$(GLIB_CFLAGS)

# ------------------------------------------------------------------------------
# The GKM library

noinst_LTLIBRARIES = \
	libgkm.la

BUILT_SOURCES = \
	gkm-marshal.c gkm-marshal.h

libgkm_la_SOURCES = \
	gkm-aes-key.c gkm-aes-key.h \
	gkm-aes-mechanism.c gkm-aes-mechanism.h \
	gkm-assertion.c gkm-assertion.h \
	gkm-attributes.c gkm-attributes.h \
	gkm-certificate.c gkm-certificate.h \
	gkm-certificate-key.c gkm-certificate-key.h \
	gkm-credential.c gkm-credential.h \
	gkm-crypto.c gkm-crypto.h \
	gkm-data-asn1.c gkm-data-asn1.h \
	gkm-data-der.c gkm-data-der.h \
	gkm-data-types.h \
	gkm-debug.c gkm-debug.h \
	gkm-dh-key.c gkm-dh-key.h \
	gkm-dh-mechanism.c gkm-dh-mechanism.h \
	gkm-dh-private-key.c gkm-dh-private-key.h \
	gkm-dh-public-key.c gkm-dh-public-key.h \
	gkm-dsa-mechanism.c gkm-dsa-mechanism.h \
	gkm-factory.c gkm-factory.h \
	gkm-file-tracker.c gkm-file-tracker.h \
	gkm-generic-key.c gkm-generic-key.h \
	gkm-hkdf-mechanism.c gkm-hkdf-mechanism.h \
	gkm-log.c gkm-log.h \
	gkm-manager.c gkm-manager.h \
	gkm-memory-store.c gkm-memory-store.h \
	gkm-mock.c gkm-mock.h \
	gkm-module.c gkm-module.h gkm-module-ep.h \
	gkm-null-key.c gkm-null-key.h \
	gkm-null-mechanism.c gkm-null-mechanism.h \
	gkm-object.c gkm-object.h \
	gkm-oids.h \
	gkm-private-xsa-key.c gkm-private-xsa-key.h \
	gkm-public-xsa-key.c gkm-public-xsa-key.h \
	gkm-rsa-mechanism.c gkm-rsa-mechanism.h \
	gkm-secret.c gkm-secret.h \
	gkm-secret-key.c gkm-secret-key.h \
	gkm-serializable.c gkm-serializable.h \
	gkm-session.c gkm-session.h \
	gkm-sexp.c gkm-sexp.h \
	gkm-sexp-key.c gkm-sexp-key.h \
	gkm-store.c gkm-store.h \
	gkm-test.c gkm-test.h \
	gkm-timer.c gkm-timer.h \
	gkm-transaction.c gkm-transaction.h \
	gkm-trust.c gkm-trust.h \
	gkm-types.h \
	gkm-util.c gkm-util.h \
	$(BUILT_SOURCES)

libgkm_la_CFLAGS = \
	-DG_LOG_DOMAIN=\"Gkm\" \
	$(GOBJECT_CFLAGS) \
	$(LIBGCRYPT_CFLAGS) \
	$(LIBTASN1_CFLAGS) \
	$(GLIB_CFLAGS)

libgkm_la_LIBADD = \
	$(top_builddir)/egg/libegg.la \
	$(GOBJECT_LIBS) \
	$(LIBGCRYPT_LIBS) \
	$(GLIB_LIBS)

gkm-marshal.h: gkm-marshal.list $(GLIB_GENMARSHAL)
	$(GLIB_GENMARSHAL) $< --header --prefix=gkm_marshal > $@

gkm-marshal.c: gkm-marshal.list $(GLIB_GENMARSHAL)
	echo "#include \"gkm-marshal.h\"" > $@ && \
	$(GLIB_GENMARSHAL) $< --body --prefix=gkm_marshal >> $@

EXTRA_DIST = \
	gkm-marshal.list

# -------------------------------------------------------------------------------

SUBDIRS = . tests