summaryrefslogtreecommitdiff
path: root/daemon/control/Makefile.am
blob: 4df8cfd24555c8404be15aec78e94e169f932f89 (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

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

LIBS = \
	$(GLIB_LIBS) \
	$(GTHREAD_LIBS) \
	$(P11_TESTS_LIBS)

# ------------------------------------------------------------------
# DAEMON CODE

noinst_LTLIBRARIES = \
	libgkd-control.la \
	libgkd-control-client.la

libgkd_control_la_SOURCES = \
	gkd-control-server.c gkd-control-client.c \
	gkd-control.h gkd-control-codes.h

libgkd_control_client_la_SOURCES = \
	gkd-control-client.c gkd-control.h

# -------------------------------------------------------------------
# TESTS

noinst_PROGRAMS= \
	frob-control-change \
	frob-control-init \
	frob-control-unlock \
	frob-control-quit

frob_control_change_SOURCES = \
	frob-control-change.c

frob_control_change_LDADD = \
	$(top_builddir)/daemon/control/libgkd-control-client.la \
	$(top_builddir)/egg/libegg-buffer.la \
	$(top_builddir)/egg/libegg-creds.la \
	$(top_builddir)/egg/libegg-secure.la

frob_control_init_SOURCES = \
	frob-control-init.c

frob_control_init_LDADD = \
	$(top_builddir)/daemon/control/libgkd-control-client.la \
	$(top_builddir)/egg/libegg-buffer.la \
	$(top_builddir)/egg/libegg-creds.la \
	$(top_builddir)/egg/libegg-secure.la

frob_control_quit_SOURCES = \
	frob-control-quit.c

frob_control_quit_LDADD = \
	$(top_builddir)/daemon/control/libgkd-control-client.la \
	$(top_builddir)/egg/libegg-buffer.la \
	$(top_builddir)/egg/libegg-creds.la \
	$(top_builddir)/egg/libegg-secure.la

frob_control_unlock_SOURCES = \
	frob-control-unlock.c

frob_control_unlock_LDADD = \
	$(top_builddir)/daemon/control/libgkd-control-client.la \
	$(top_builddir)/egg/libegg-buffer.la \
	$(top_builddir)/egg/libegg-creds.la \
	$(top_builddir)/egg/libegg-secure.la