summaryrefslogtreecommitdiff
path: root/pkcs11/rpc-layer/Makefile.am
blob: 3591d7c3e81b4214b3fe263f5f07f70ebe9897a6 (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

noinst_LTLIBRARIES += \
	libgkm-rpc-layer.la

noinst_PROGRAMS += \
	gkm-rpc-daemon-standalone

# ------------------------------------------------------------------------------
# The dispatch code

libgkm_rpc_layer_la_SOURCES = \
	pkcs11/rpc-layer/gkm-rpc-dispatch.c \
	pkcs11/rpc-layer/gkm-rpc-layer.h \
	pkcs11/rpc-layer/gkm-rpc-message.c \
	pkcs11/rpc-layer/gkm-rpc-private.h \
	pkcs11/rpc-layer/gkm-rpc-util.c
libgkm_rpc_layer_la_LIBADD = \
	libegg-buffer.la \
	libegg-creds.la \
	$(GOBJECT_LIBS) \
	$(GTHREAD_LIBS) \
	$(GLIB_LIBS)
libgkm_rpc_layer_la_CFLAGS = \
	$(GOBJECT_CFLAGS) \
	$(GTHREAD_CFLAGS) \
	$(GLIB_CFLAGS)

# ------------------------------------------------------------------------------
# The module code, built as the public gnome-keyring module

# This is the location that some older software looks for modules
pkcs11moduledir = $(P11_MODULE_PATH)
pkcs11module_LTLIBRARIES = \
	gnome-keyring-pkcs11.la

gnome_keyring_pkcs11_la_SOURCES = \
	pkcs11/rpc-layer/gkm-rpc-private.h \
	pkcs11/rpc-layer/gkm-rpc-module.c \
	pkcs11/rpc-layer/gkm-rpc-message.c \
	pkcs11/rpc-layer/gkm-rpc-util.c
gnome_keyring_pkcs11_la_LIBADD = \
	libegg-buffer.la \
	libegg-creds.la
gnome_keyring_pkcs11_la_LDFLAGS = \
	-module -avoid-version \
	-no-undefined -export-symbols-regex 'C_GetFunctionList'

# This is the configuration file that p11-kit uses to load the module
pkcs11configdir = $(P11_SYSTEM_CONFIG_MODULES)
pkcs11config_DATA = \
	pkcs11/rpc-layer/gnome-keyring.module

# -----------------------------------------------------------------------------
# The test daemon

gkm_rpc_daemon_standalone_SOURCES = \
	pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
gkm_rpc_daemon_standalone_LDADD = \
	$(DL_LIBS) \
	libgkm-rpc-layer.la \
	$(GLIB_LIBS)
gkm_rpc_daemon_standalone_CFLAGS = \
	$(GLIB_CFLAGS)