summaryrefslogtreecommitdiff
path: root/pkcs11/gnome2-store/Makefile.am
blob: e1f0c2bf6411a5b4d2b31ddae82747820ce3e29b (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

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


# ------------------------------------------------------------------------------
# The gnome2-store component code

noinst_LTLIBRARIES = \
	libgkm-gnome2-store.la

libgkm_gnome2_store_la_SOURCES = \
	gkm-gnome2-store.h \
	gkm-gnome2-file.c gkm-gnome2-file.h \
	gkm-gnome2-module.c gkm-gnome2-module.h \
	gkm-gnome2-private-key.c gkm-gnome2-private-key.h \
	gkm-gnome2-public-key.c gkm-gnome2-public-key.h \
	gkm-gnome2-storage.c gkm-gnome2-storage.h

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

moduledir = $(pkcs11standalonedir)

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

gkm_gnome2_store_standalone_la_LDFLAGS = \
	-module -avoid-version \
	-no-undefined -export-symbols-regex 'C_GetFunctionList'

gkm_gnome2_store_standalone_la_SOURCES = \
	gkm-gnome2-standalone.c

gkm_gnome2_store_standalone_la_LIBADD = \
	libgkm-gnome2-store.la \
	$(top_builddir)/pkcs11/gkm/libgkm.la \
	$(GOBJECT_LIBS) \
	$(GTHREAD_LIBS) \
	$(GLIB_LIBS) \
	$(LIBGCRYPT_LIBS)


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

SUBDIRS = . tests