summaryrefslogtreecommitdiff
path: root/pkcs11/xdg-store/Makefile.am
blob: bbe0e5631946e1e98e564dadcea71cc52eb1d79e (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
include $(top_srcdir)/Makefile.decl

ASN_FILES = \
	xdg.asn

ASN_SRCS = $(ASN_FILES:.asn=.asn.h)

BUILT_SOURCES = \
	$(ASN_SRCS)

INCLUDES = \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	-I$(top_srcdir)/pkcs11 \
	$(GOBJECT_CFLAGS) \
	$(LIBGCRYPT_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(GMODULE_CFLAGS)

# ------------------------------------------------------------------------------
# The xdg-store component code

noinst_LTLIBRARIES = \
	libgkm-xdg-store.la

libgkm_xdg_store_la_SOURCES = \
	gkm-xdg-store.h \
	gkm-xdg-asn1-defs.c gkm-xdg-asn1-defs.h \
	gkm-xdg-assertion.c gkm-xdg-assertion.h \
	gkm-xdg-module.c gkm-xdg-module.h \
	gkm-xdg-trust.c gkm-xdg-trust.h \
	$(BUILT_SOURCES)

EXTRA_DIST = \
	$(ASN_FILES)

# ------------------------------------------------------------------------------
# The standalone module

moduledir = $(pkcs11standalonedir)

module_LTLIBRARIES = \
	gkm-xdg-store-standalone.la

gkm_xdg_store_standalone_la_LDFLAGS = \
	-module -avoid-version \
	-no-undefined -export-symbols-regex 'C_GetFunctionList|g_module_check_init'

gkm_xdg_store_standalone_la_SOURCES = \
	gkm-xdg-standalone.c

gkm_xdg_store_standalone_la_LIBADD = \
	libgkm-xdg-store.la \
	$(top_builddir)/pkcs11/gkm/libgkm.la \
	$(GOBJECT_LIBS) \
	$(GTHREAD_LIBS) \
	$(GLIB_LIBS) \
	$(GMODULE_LIBS) \
	$(LIBGCRYPT_LIBS)


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

SUBDIRS = . tests