blob: c749c5419acddd26bed256ef4acc0914aadfa254 (
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
|
NULL =
INCLUDES = \
-I$(top_builddir)/src \
-I$(top_srcdir)/src \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_LIB_DIR=\""$(libdir)"\" \
-D_POSIX_PTHREAD_SEMANTICS \
-D_REENTRANT \
$(NULL)
bin_PROGRAMS =
noinst_PROGRAMS =
# ----------------------------------------------------------------------------------------------------
noinst_PROGRAMS += cancel
cancel_SOURCES = cancel.c
cancel_CFLAGS = \
$(GLIB_CFLAGS) \
$(NULL)
cancel_LDADD = \
$(GLIB_LIBS) \
$(top_builddir)/src/polkit/libpolkit-gobject-1.la \
$(NULL)
# ----------------------------------------------------------------------------------------------------
bin_PROGRAMS += pk-example-frobnicate
pk_example_frobnicate_SOURCES = frobnicate.c
pk_example_frobnicate_CFLAGS = \
$(GLIB_CFLAGS) \
$(NULL)
pk_example_frobnicate_LDADD = \
$(GLIB_LIBS) \
$(NULL)
polkit_actiondir = $(datadir)/polkit-1/actions
dist_polkit_action_DATA = org.freedesktop.policykit.examples.pkexec.policy
@INTLTOOL_POLICY_RULE@
#check:
# $(top_builddir)/tools/polkit-policy-file-validate-1 $(top_srcdir)/policy/$(dist_polkit_action_DATA)
DISTCLEANFILES = org.freedesktop.policykit.examples.pkexec.policy
EXTRA_DIST = org.freedesktop.policykit.examples.pkexec.policy.in
# ----------------------------------------------------------------------------------------------------
clean-local :
rm -f *~
-include $(top_srcdir)/git.mk
|