blob: 70a9ec4b99b4b1f353ee0b473dd6490bfbdaca1c (
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
EXTRA_DIST = \
data/org.freedesktop.hostname1.service.in \
data/org.freedesktop.locale1.service.in \
data/org.freedesktop.timedate1.service.in \
data/init.d/openrc-settingsd.in \
AUTHORS \
COPYING \
src/copypaste/COPYING.LGPL-2.1 \
README \
NEWS \
TODO \
$(NULL)
dist_pkgdata_DATA = \
data/kbd-model-map \
$(NULL)
dbusinterfacesdir = @dbusinterfacesdir@
dist_dbusinterfaces_DATA = \
data/org.freedesktop.hostname1.xml \
data/org.freedesktop.locale1.xml \
data/org.freedesktop.timedate1.xml \
$(NULL)
dbusservicesdir = @dbussystemservicesdir@
dbusservices_DATA = \
data/org.freedesktop.hostname1.service \
data/org.freedesktop.locale1.service \
data/org.freedesktop.timedate1.service \
$(NULL)
dbusbusconfigdir = $(sysconfdir)/dbus-1/system.d
dist_dbusbusconfig_DATA = \
data/openrc-settingsd.conf \
$(NULL)
polkitactiondir = @polkitactiondir@
dist_polkitaction_DATA = \
data/org.freedesktop.hostname1.policy \
data/org.freedesktop.locale1.policy \
data/org.freedesktop.timedate1.policy \
$(NULL)
initddir = $(sysconfdir)/init.d
initd_SCRIPTS = data/init.d/openrc-settingsd
confddir = $(sysconfdir)/conf.d
dist_confd_DATA = data/conf.d/openrc-settingsd
pidfile = @pidfile@
do_subst = $(SED) -e 's,[@]libexecdir[@],$(libexecdir),g' \
-e 's,[@]pidfile[@],$(pidfile),g' \
$(NULL)
data/init.d/openrc-settingsd : data/init.d/openrc-settingsd.in
$(do_subst) < $(srcdir)/data/init.d/openrc-settingsd.in > $(srcdir)/data/init.d/openrc-settingsd
%.service : %.service.in
$(do_subst) < $(srcdir)/$< > $(srcdir)/$@
dist_man_MANS = data/openrc-settingsd.8
AM_CPPFLAGS = \
-include $(top_builddir)/config.h \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DLIBEXECDIR=\""$(libexecdir)"\" \
-DPKGDATADIR=\""$(pkgdatadir)"\" \
-DPIDFILE=\""$(pidfile)"\" \
-DENV_UPDATE=\""$(prefix)/sbin/env-update"\" \
$(OPENRC_SETTINGSD_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(NULL)
LDADD = $(OPENRC_SETTINGSD_LIBS)
libexec_PROGRAMS = openrc-settingsd
hostnamed_built_sources = \
src/hostname1-generated.c \
src/hostname1-generated.h \
$(NULL)
localed_built_sources = \
src/locale1-generated.c \
src/locale1-generated.h \
$(NULL)
timedated_built_sources = \
src/timedate1-generated.c \
src/timedate1-generated.h \
$(NULL)
copypaste_sources = \
src/copypaste/hwclock.c \
src/copypaste/hwclock.h \
src/copypaste/macro.h \
src/copypaste/util.c \
src/copypaste/util.h \
$(NULL)
openrc_settingsd_SOURCES = \
$(copypaste_sources) \
src/hostnamed.c \
src/hostnamed.h \
src/localed.c \
src/localed.h \
src/timedated.c \
src/timedated.h \
src/utils.c \
src/utils.h \
src/main.h \
src/main.c \
$(NULL)
nodist_openrc_settingsd_SOURCES = \
$(hostnamed_built_sources) \
$(localed_built_sources) \
$(timedated_built_sources) \
$(NULL)
$(hostnamed_built_sources) : data/org.freedesktop.hostname1.xml
$(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdHostnamed \
--generate-c-code hostname1-generated \
$(abs_srcdir)/data/org.freedesktop.hostname1.xml; \
popd > /dev/null )
$(localed_built_sources) : data/org.freedesktop.locale1.xml
$(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdLocaled \
--generate-c-code locale1-generated \
$(abs_srcdir)/data/org.freedesktop.locale1.xml; \
popd > /dev/null )
$(timedated_built_sources) : data/org.freedesktop.timedate1.xml
$(AM_V_GEN)( pushd "$(srcdir)/src" > /dev/null; \
$(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop. \
--c-namespace OpenrcSettingsdTimedated \
--generate-c-code timedate1-generated \
$(abs_srcdir)/data/org.freedesktop.timedate1.xml; \
popd > /dev/null )
BUILT_SOURCES = \
$(hostnamed_built_sources) \
$(localed_built_sources) \
$(timedated_built_sources) \
$(NULL)
CLEANFILES = \
$(hostnamed_built_sources) \
$(localed_built_sources) \
$(timedated_built_sources) \
data/init.d/openrc-settingsd \
$(dbusservices_DATA) \
$(NULL)
|