summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: f8966f51a06e52da66bc7f7cac1fa84b9be899ae (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
SUBDIRS = \
	po \
	reference

libgnomekeyringincludedir = $(includedir)/gnome-keyring-1/

bin_PROGRAMS= \
	gnome-keyring-daemon

libexec_PROGRAMS= \
	gnome-keyring-ask

noinst_PROGRAMS= \
	list-keyrings \
	test-keyring

lib_LTLIBRARIES=libgnome-keyring.la

noinst_LTLIBRARIES=libgnome-keyring-common.la

INCLUDES=	\
	-DPREFIX=\""$(prefix)"\" 			\
	-DBINDIR=\""$(bindir)"\" 			\
	-DLIBEXECDIR=\""$(libexecdir)"\"		\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"	\
	-I$(top_srcdir) 				\
	-I$(top_builddir) 				\
	$(GTK_CFLAGS) 					\
	$(GLIB_CFLAGS)

libgnome_keyring_common_la_SOURCES = \
	gnome-keyring-private.h \
	gnome-keyring-proto.c \
	gnome-keyring-proto.h \
	gnome-keyring-utils.c

libgnome_keyring_common_la_LIBADD = \
	$(GLIB_LIBS)

libgnome_keyring_la_SOURCES = \
	gnome-keyring.c \
	gnome-keyring.h

libgnomekeyringinclude_HEADERS =		\
	gnome-keyring.h


libgnome_keyring_la_LIBADD = \
	libgnome-keyring-common.la \
	$(GLIB_LIBS)

libgnome_keyring_la_LDFLAGS = \
	-version-info $(LIB_GNOME_KEYRING_LT_VERSION) \
	-no-undefined

LIBADD_SOURCE = mkdtemp.c mkdtemp.h

gnome_keyring_daemon_SOURCES = \
	aes.c \
	aes.h \
	aes_be.h \
	aes_le.h \
	beecrypt_compat.h \
	md5.c \
	md5.h \
	sha256.c \
	sha256.h \
	gnome-keyring-daemon.c \
	gnome-keyring-daemon-file.c \
	gnome-keyring-daemon.h \
	gnome-keyring-daemon-io.c

gnome_keyring_daemon_LDADD = \
	libgnome-keyring-common.la \
	@LIBOBJS@ \
	$(GLIB_LIBS)

gnome_keyring_ask_SOURCES = \
	gnome-keyring-ask.c

gnome_keyring_ask_LDADD = \
	$(GTK_LIBS)

list_keyrings_SOURCES = \
	list-keyrings.c

list_keyrings_LDADD = \
	libgnome-keyring.la \
	$(GTK_LIBS)

test_keyring_SOURCES = \
	test.c

test_keyring_LDADD = \
	libgnome-keyring.la \
	$(GTK_LIBS)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gnome-keyring-1.pc

EXTRA_DIST = \
	$(LIBADD_SOURCE) \
	file-format.txt  \
	keyring-intro.txt \
	gnome-keyring-1-uninstalled.pc.in