blob: 5077b035e214ab0bc304386a0f568cce3ac2231d (
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
|
libexec_PROGRAMS = cups-pk-helper-mechanism
noinst_PROGRAMS = \
test-cups \
test-cups-pk
AM_CPPFLAGS = \
$(DISABLE_DEPRECATED_CFLAGS)
AM_CFLAGS = $(WARN_CFLAGS)
cups_pk_helper_mechanism_SOURCES = \
cups.c \
cups.h \
cups-pk-helper-mechanism.c \
cups-pk-helper-mechanism.h \
main.c \
$(cph_iface_mechanism)
cups_pk_helper_mechanism_CFLAGS = \
$(AM_CFLAGS) \
$(CUPS_PK_CFLAGS)
cups_pk_helper_mechanism_LDADD = \
$(CUPS_PK_LIBS) \
$(CUPS_LIBS)
cph_iface_mechanism = \
cph-iface-mechanism.c \
cph-iface-mechanism.h
$(cph_iface_mechanism): $(srcdir)/cups-pk-helper-mechanism.xml
$(AM_V_GEN)$(GDBUS_CODEGEN) \
--interface-prefix=org.opensuse.CupsPkHelper. \
--c-namespace CphIface \
--generate-c-code cph-iface-mechanism \
--c-generate-object-manager \
$<
BUILT_SOURCES = $(cph_iface_mechanism)
test_cups_SOURCES = \
cups.c \
cups.h \
test-cups.c
test_cups_CFLAGS = \
$(AM_CFLAGS) \
$(TEST_CFLAGS)
test_cups_LDADD = \
$(TEST_LIBS) \
$(CUPS_LIBS)
test_cups_pk_SOURCES = \
test-cups-pk.c \
$(cph_iface_mechanism)
test_cups_pk_CFLAGS = \
$(AM_CFLAGS) \
$(TEST_CFLAGS)
test_cups_pk_LDADD = \
$(TEST_LIBS) \
$(CUPS_LIBS)
dbus_confdir = $(sysconfdir)/dbus-1/system.d
dbus_conf_DATA = org.opensuse.CupsPkHelper.Mechanism.conf
dbus_servicesdir = $(datadir)/dbus-1/system-services
dbus_services_in_files = org.opensuse.CupsPkHelper.Mechanism.service.in
dbus_services_DATA = $(dbus_services_in_files:.service.in=.service)
$(dbus_services_DATA): $(dbus_services_in_files)
$(AM_V_GEN)sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
polkitdir = $(datadir)/polkit-1/actions
polkit_in_files = org.opensuse.cupspkhelper.mechanism.policy.in
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
@INTLTOOL_POLICY_RULE@
EXTRA_DIST = \
$(dbus_services_in_files) \
org.opensuse.CupsPkHelper.Mechanism.conf \
$(polkit_in_files) \
cups-pk-helper-mechanism.xml
CLEANFILES = \
$(BUILT_SOURCES) \
$(polkit_DATA) \
$(dbus_services_DATA)
-include $(top_srcdir)/git.mk
|