]>
Commit | Line | Data |
---|---|---|
47be870b LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # Copyright 2010 Lennart Poettering | |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 2 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # systemd is distributed in the hope that it will be useful, but | |
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | # General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
17 | ||
18 | ACLOCAL_AMFLAGS = -I m4 | |
19 | ||
1c7dde3e BN |
20 | SUBDIRS = po |
21 | ||
74b91131 | 22 | LIBSYSTEMD_LOGIN_CURRENT=0 |
d2134abd | 23 | LIBSYSTEMD_LOGIN_REVISION=6 |
74b91131 LP |
24 | LIBSYSTEMD_LOGIN_AGE=0 |
25 | ||
114a50f8 LP |
26 | LIBSYSTEMD_DAEMON_CURRENT=0 |
27 | LIBSYSTEMD_DAEMON_REVISION=0 | |
28 | LIBSYSTEMD_DAEMON_AGE=0 | |
29 | ||
8c4a3079 | 30 | # Dirs of external packages |
d122948d LP |
31 | dbuspolicydir=@dbuspolicydir@ |
32 | dbussessionservicedir=@dbussessionservicedir@ | |
33 | dbussystemservicedir=@dbussystemservicedir@ | |
34 | dbusinterfacedir=@dbusinterfacedir@ | |
d1ab0ca0 | 35 | udevrulesdir=@udevrulesdir@ |
8c6db833 LP |
36 | pamlibdir=@pamlibdir@ |
37 | pkgconfigdatadir=$(datadir)/pkgconfig | |
02f130cb | 38 | pkgconfiglibdir=$(libdir)/pkgconfig |
490aed58 | 39 | polkitpolicydir=$(datadir)/polkit-1/actions |
5a1e9937 | 40 | bashcompletiondir=$(sysconfdir)/bash_completion.d |
036643a2 | 41 | |
8c4a3079 | 42 | # Our own, non-special dirs |
d1ab0ca0 | 43 | pkgsysconfdir=$(sysconfdir)/systemd |
32d0463d | 44 | userunitdir=$(prefix)/lib/systemd/user |
772f8371 | 45 | tmpfilesdir=$(prefix)/lib/tmpfiles.d |
af2d49f7 | 46 | usergeneratordir=$(pkglibexecdir)/user-generators |
74b91131 | 47 | pkgincludedir=$(includedir)/systemd |
8c4a3079 LP |
48 | |
49 | # And these are the special ones for / | |
50 | rootdir=@rootdir@ | |
8c4a3079 LP |
51 | rootbindir=$(rootdir)/bin |
52 | rootlibexecdir=$(rootdir)/lib/systemd | |
cb06add7 LP |
53 | systemgeneratordir=$(rootlibexecdir)/system-generators |
54 | systemshutdowndir=$(rootlibexecdir)/system-shutdown | |
8c4a3079 | 55 | systemunitdir=$(rootdir)/lib/systemd/system |
70fcff31 | 56 | |
47be870b | 57 | AM_CPPFLAGS = \ |
d3f09cf3 | 58 | -include $(top_builddir)/config.h \ |
487393e9 | 59 | -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \ |
036643a2 | 60 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ |
70fcff31 | 61 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ |
0571e011 | 62 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ |
061978fa | 63 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ |
af2d49f7 LP |
64 | -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \ |
65 | -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \ | |
66 | -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \ | |
91901329 | 67 | -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ |
f401faf5 | 68 | -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ |
b1b2a107 | 69 | -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ |
2cb1a60d | 70 | -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ |
501fc174 | 71 | -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ |
5b754353 | 72 | -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \ |
bb29785e | 73 | -DRUNTIME_DIR=\"/run\" \ |
ca2cab5d | 74 | -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ |
e23a0ce8 | 75 | -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \ |
5a1e9937 | 76 | -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \ |
af2d49f7 | 77 | -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \ |
83cc030f | 78 | -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ |
652eb44a | 79 | -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \ |
e99e38bb | 80 | -I $(top_srcdir)/src |
47be870b | 81 | |
9841e8e3 GSB |
82 | if TARGET_GENTOO |
83 | AM_CPPFLAGS += \ | |
84 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
85 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
86 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
87 | else | |
c226fa41 LDM |
88 | if TARGET_ARCH |
89 | AM_CPPFLAGS += \ | |
90 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
91 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
92 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
93 | else | |
f5c88ec1 MV |
94 | if TARGET_FRUGALWARE |
95 | AM_CPPFLAGS += \ | |
96 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
97 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
98 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
99 | else | |
1de4d79b AB |
100 | if TARGET_MANDRIVA |
101 | AM_CPPFLAGS += \ | |
102 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
103 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
104 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
105 | else | |
54e4fdef CF |
106 | if TARGET_MEEGO |
107 | AM_CPPFLAGS += \ | |
108 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
109 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
110 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
111 | else | |
1bd8b818 KK |
112 | if TARGET_ANGSTROM |
113 | AM_CPPFLAGS += \ | |
114 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
115 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
116 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
117 | else | |
9841e8e3 GSB |
118 | AM_CPPFLAGS += \ |
119 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
120 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
121 | -DDEFAULT_FONT=\"latarcyrheb-sun16\" | |
6fdae8a6 DM |
122 | else |
123 | if TARGET_MAGEIA | |
124 | AM_CPPFLAGS += \ | |
125 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
126 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
127 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
128 | endif | |
9841e8e3 | 129 | endif |
c226fa41 | 130 | endif |
f5c88ec1 | 131 | endif |
1de4d79b | 132 | endif |
54e4fdef | 133 | endif |
1bd8b818 | 134 | endif |
9841e8e3 | 135 | |
8c4a3079 | 136 | rootbin_PROGRAMS = \ |
134dc482 | 137 | systemd \ |
4a2a8b5a | 138 | systemctl \ |
abca4822 | 139 | systemd-loginctl \ |
490aed58 | 140 | systemd-notify \ |
ec863ba6 | 141 | systemd-ask-password \ |
74ce487d | 142 | systemd-tty-ask-password-agent \ |
a5f9be45 | 143 | systemd-tmpfiles \ |
87d2c1ff LP |
144 | systemd-machine-id-setup \ |
145 | systemd-journalctl | |
a9b5b032 | 146 | |
8c4a3079 | 147 | bin_PROGRAMS = \ |
a8f11321 | 148 | systemd-cgls \ |
a5f9be45 | 149 | systemd-stdio-bridge \ |
5b754353 | 150 | systemd-nspawn |
88213476 | 151 | |
f695b3b0 | 152 | dist_bin_SCRIPTS = \ |
5b754353 | 153 | src/systemd-analyze |
f695b3b0 | 154 | |
10e87ee7 LP |
155 | if HAVE_GTK |
156 | bin_PROGRAMS += \ | |
490aed58 | 157 | systemadm \ |
d674a4ab | 158 | systemd-gnome-ask-password-agent |
a9b5b032 | 159 | endif |
8e274523 | 160 | |
8c4a3079 | 161 | rootlibexec_PROGRAMS = \ |
346bce1f | 162 | systemd-stdout-syslog-bridge \ |
0b7964b8 | 163 | systemd-cgroups-agent \ |
4927fcae | 164 | systemd-initctl \ |
ca2cab5d | 165 | systemd-update-utmp \ |
f6144808 | 166 | systemd-random-seed \ |
5192bd19 | 167 | systemd-shutdownd \ |
b1b2a107 | 168 | systemd-shutdown \ |
449ddb2d | 169 | systemd-modules-load \ |
addab137 | 170 | systemd-remount-api-vfs \ |
97c4a07d | 171 | systemd-kmsg-syslogd \ |
490aed58 | 172 | systemd-vconsole-setup \ |
22be093f LP |
173 | systemd-reply-password \ |
174 | systemd-readahead-collect \ | |
5008d581 | 175 | systemd-readahead-replay \ |
3d20ed6d LP |
176 | systemd-user-sessions \ |
177 | systemd-fsck \ | |
e23a0ce8 | 178 | systemd-quotacheck \ |
06cdd248 | 179 | systemd-timestamp \ |
8e1bd70d | 180 | systemd-ac-power \ |
07faed4f | 181 | systemd-detect-virt \ |
151b190e | 182 | systemd-sysctl \ |
5eda94dd | 183 | systemd-logind \ |
87d2c1ff LP |
184 | systemd-uaccess \ |
185 | systemd-journald | |
47be870b | 186 | |
27669061 MV |
187 | if ENABLE_BINFMT |
188 | rootlibexec_PROGRAMS += \ | |
189 | systemd-binfmt | |
190 | endif | |
191 | ||
b2e9fb99 MV |
192 | if ENABLE_HOSTNAMED |
193 | rootlibexec_PROGRAMS += \ | |
194 | systemd-hostnamed | |
195 | endif | |
196 | ||
f47cd184 MV |
197 | if ENABLE_TIMEDATED |
198 | rootlibexec_PROGRAMS += \ | |
199 | systemd-timedated | |
200 | endif | |
201 | ||
4cd1eaa5 MV |
202 | if ENABLE_LOCALED |
203 | rootlibexec_PROGRAMS += \ | |
204 | systemd-localed | |
205 | endif | |
206 | ||
2a796654 | 207 | systemgenerator_PROGRAMS = \ |
5b754353 | 208 | systemd-getty-generator |
2a796654 | 209 | |
7f4e0805 LP |
210 | if HAVE_LIBCRYPTSETUP |
211 | rootlibexec_PROGRAMS += \ | |
212 | systemd-cryptsetup | |
213 | ||
2a796654 | 214 | systemgenerator_PROGRAMS += \ |
5a1e9937 | 215 | systemd-cryptsetup-generator |
7f4e0805 | 216 | endif |
5a1e9937 | 217 | |
74b91131 | 218 | lib_LTLIBRARIES = \ |
114a50f8 | 219 | libsystemd-daemon.la \ |
ae446765 | 220 | libsystemd-login.la |
74b91131 LP |
221 | |
222 | pkginclude_HEADERS = \ | |
ae446765 KS |
223 | src/sd-daemon.h \ |
224 | src/sd-login.h | |
74b91131 | 225 | |
47be870b LP |
226 | noinst_PROGRAMS = \ |
227 | test-engine \ | |
15ae422b | 228 | test-job-type \ |
af5bc85d | 229 | test-ns \ |
8c47c732 | 230 | test-loopback \ |
e5907703 | 231 | test-hostname \ |
8c6db833 | 232 | test-daemon \ |
c24eb49e | 233 | test-cgroup \ |
f90cf44c | 234 | test-env-replace \ |
74b91131 | 235 | test-strv \ |
83096483 | 236 | test-login \ |
87d2c1ff LP |
237 | test-install \ |
238 | test-id128 \ | |
239 | test-journal | |
8c6db833 LP |
240 | |
241 | if HAVE_PAM | |
242 | pamlib_LTLIBRARIES = \ | |
243 | pam_systemd.la | |
244 | endif | |
47be870b | 245 | |
487393e9 | 246 | dist_pkgsysconf_DATA = \ |
193197e8 LP |
247 | src/system.conf \ |
248 | src/user.conf \ | |
249 | src/systemd-logind.conf | |
487393e9 | 250 | |
d1ab0ca0 | 251 | dist_dbuspolicy_DATA = \ |
7640a5de | 252 | src/org.freedesktop.systemd1.conf \ |
91f9dcaf | 253 | src/org.freedesktop.login1.conf |
e24067c3 | 254 | |
b2e9fb99 MV |
255 | if ENABLE_HOSTNAMED |
256 | dist_dbuspolicy_DATA += \ | |
257 | src/org.freedesktop.hostname1.conf | |
258 | endif | |
259 | ||
f47cd184 MV |
260 | if ENABLE_TIMEDATED |
261 | dist_dbuspolicy_DATA += \ | |
262 | src/org.freedesktop.timedate1.conf | |
263 | endif | |
264 | ||
4cd1eaa5 MV |
265 | if ENABLE_LOCALED |
266 | dist_dbuspolicy_DATA += \ | |
267 | src/org.freedesktop.locale1.conf | |
268 | endif | |
269 | ||
d122948d | 270 | dist_dbussystemservice_DATA = \ |
7640a5de | 271 | src/org.freedesktop.systemd1.service \ |
91f9dcaf | 272 | src/org.freedesktop.login1.service |
d122948d | 273 | |
b2e9fb99 MV |
274 | if ENABLE_HOSTNAMED |
275 | dist_dbussystemservice_DATA += \ | |
276 | src/org.freedesktop.hostname1.service | |
277 | endif | |
278 | ||
f47cd184 MV |
279 | if ENABLE_TIMEDATED |
280 | dist_dbussystemservice_DATA += \ | |
281 | src/org.freedesktop.timedate1.service | |
282 | endif | |
283 | ||
4cd1eaa5 MV |
284 | if ENABLE_LOCALED |
285 | dist_dbussystemservice_DATA += \ | |
286 | src/org.freedesktop.locale1.service | |
287 | endif | |
288 | ||
d1ab0ca0 | 289 | dist_udevrules_DATA = \ |
47a26690 | 290 | src/70-uaccess.rules \ |
41e4d6e9 | 291 | src/71-seat.rules |
5cc5d790 | 292 | |
0b191e60 | 293 | nodist_udevrules_DATA = \ |
41e4d6e9 LP |
294 | src/73-seat-late.rules \ |
295 | src/99-systemd.rules | |
0b191e60 | 296 | |
d122948d | 297 | dbusinterface_DATA = \ |
4288f619 LP |
298 | org.freedesktop.systemd1.Manager.xml \ |
299 | org.freedesktop.systemd1.Job.xml \ | |
300 | org.freedesktop.systemd1.Unit.xml \ | |
301 | org.freedesktop.systemd1.Service.xml \ | |
302 | org.freedesktop.systemd1.Socket.xml \ | |
871d7de4 | 303 | org.freedesktop.systemd1.Timer.xml \ |
4288f619 LP |
304 | org.freedesktop.systemd1.Target.xml \ |
305 | org.freedesktop.systemd1.Device.xml \ | |
306 | org.freedesktop.systemd1.Mount.xml \ | |
307 | org.freedesktop.systemd1.Automount.xml \ | |
308 | org.freedesktop.systemd1.Snapshot.xml \ | |
01f78473 | 309 | org.freedesktop.systemd1.Swap.xml \ |
4cd1eaa5 | 310 | org.freedesktop.systemd1.Path.xml |
4288f619 | 311 | |
b2e9fb99 MV |
312 | if ENABLE_HOSTNAMED |
313 | dbusinterface_DATA += \ | |
314 | org.freedesktop.hostname1.xml | |
315 | endif | |
316 | ||
f47cd184 MV |
317 | if ENABLE_TIMEDATED |
318 | dbusinterface_DATA += \ | |
319 | org.freedesktop.timedate1.xml | |
320 | endif | |
321 | ||
4cd1eaa5 MV |
322 | if ENABLE_LOCALED |
323 | dbusinterface_DATA += \ | |
324 | org.freedesktop.locale1.xml | |
325 | endif | |
326 | ||
42bb3074 | 327 | dist_bashcompletion_DATA = \ |
f5a613c0 | 328 | src/systemd-bash-completion.sh |
42bb3074 | 329 | |
34c8deaa LP |
330 | dist_tmpfiles_DATA = \ |
331 | tmpfiles.d/systemd.conf \ | |
f08fce88 | 332 | tmpfiles.d/tmp.conf \ |
34c8deaa LP |
333 | tmpfiles.d/x11.conf |
334 | ||
cca4aeee LP |
335 | if HAVE_SYSV_COMPAT |
336 | dist_tmpfiles_DATA += \ | |
5b754353 | 337 | tmpfiles.d/legacy.conf |
cca4aeee LP |
338 | endif |
339 | ||
d1ab0ca0 | 340 | dist_systemunit_DATA = \ |
db25d1d7 LP |
341 | units/graphical.target \ |
342 | units/multi-user.target \ | |
70fcff31 | 343 | units/emergency.service \ |
f057408c | 344 | units/emergency.target \ |
de47ca9b | 345 | units/sysinit.target \ |
f92a18f5 | 346 | units/basic.target \ |
5e6afdd3 LP |
347 | units/getty.target \ |
348 | units/halt.target \ | |
85ed27f6 | 349 | units/kexec.target \ |
70449379 | 350 | units/local-fs.target \ |
21e557ed | 351 | units/local-fs-pre.target \ |
5552b1c1 | 352 | units/remote-fs.target \ |
21e557ed | 353 | units/remote-fs-pre.target \ |
2f8cd170 | 354 | units/cryptsetup.target \ |
70449379 LP |
355 | units/network.target \ |
356 | units/nss-lookup.target \ | |
683f468c | 357 | units/mail-transfer-agent.target \ |
a2ff477f | 358 | units/http-daemon.target \ |
5e6afdd3 LP |
359 | units/poweroff.target \ |
360 | units/reboot.target \ | |
5e6afdd3 | 361 | units/rescue.target \ |
f0b02ca2 | 362 | units/rpcbind.target \ |
4466194c | 363 | units/time-sync.target \ |
70449379 | 364 | units/shutdown.target \ |
9aac953a | 365 | units/final.target \ |
4e67ddd6 | 366 | units/umount.target \ |
70449379 LP |
367 | units/sigpwr.target \ |
368 | units/sockets.target \ | |
369 | units/swap.target \ | |
70fcff31 | 370 | units/systemd-initctl.socket \ |
346bce1f | 371 | units/systemd-stdout-syslog-bridge.socket \ |
f6144808 | 372 | units/systemd-shutdownd.socket \ |
52f319b2 | 373 | units/syslog.socket \ |
670802d4 | 374 | units/dev-hugepages.mount \ |
670802d4 | 375 | units/dev-mqueue.mount \ |
d6bca18e | 376 | units/sys-kernel-config.mount \ |
670802d4 | 377 | units/sys-kernel-debug.mount \ |
6d526de2 | 378 | units/sys-kernel-security.mount \ |
7ef5875d | 379 | units/sys-fs-fuse-connections.mount \ |
da78e1b4 | 380 | units/var-run.mount \ |
c4b5a3d6 | 381 | units/media.mount \ |
90685f7d | 382 | units/remount-rootfs.service \ |
da78e1b4 | 383 | units/printer.target \ |
88dfa293 | 384 | units/sound.target \ |
ceda54d9 | 385 | units/bluetooth.target \ |
b15124f1 | 386 | units/smartcard.target \ |
3b63d2d3 | 387 | units/systemd-readahead-done.timer \ |
a9e1f5ec | 388 | units/systemd-tmpfiles-clean.timer \ |
306a7fd8 | 389 | units/quotaon.service \ |
e0e1580a | 390 | units/systemd-ask-password-wall.path \ |
6699c857 LP |
391 | units/systemd-ask-password-console.path \ |
392 | units/syslog.target | |
70fcff31 | 393 | |
5b754353 KS |
394 | if HAVE_SYSV_COMPAT |
395 | dist_systemunit_DATA += \ | |
396 | units/var-lock.mount | |
397 | endif | |
398 | ||
27669061 MV |
399 | if ENABLE_BINFMT |
400 | dist_systemunit_DATA += \ | |
401 | units/proc-sys-fs-binfmt_misc.automount \ | |
402 | units/proc-sys-fs-binfmt_misc.mount | |
403 | endif | |
404 | ||
6f6083dc | 405 | nodist_systemunit_DATA = \ |
5e6afdd3 | 406 | units/getty@.service \ |
93a45c56 | 407 | units/serial-getty@.service \ |
5b754353 | 408 | units/console-shell.service \ |
dfac97b2 | 409 | units/systemd-initctl.service \ |
346bce1f | 410 | units/systemd-stdout-syslog-bridge.service \ |
f6144808 | 411 | units/systemd-shutdownd.service \ |
91f9dcaf | 412 | units/systemd-logind.service \ |
addab137 | 413 | units/systemd-kmsg-syslogd.service \ |
b2423f1f | 414 | units/systemd-modules-load.service \ |
97c4a07d | 415 | units/systemd-vconsole-setup.service \ |
449ddb2d | 416 | units/systemd-remount-api-vfs.service \ |
cd6d0a45 LP |
417 | units/systemd-update-utmp-runlevel.service \ |
418 | units/systemd-update-utmp-shutdown.service \ | |
ca2cab5d LP |
419 | units/systemd-random-seed-save.service \ |
420 | units/systemd-random-seed-load.service \ | |
4bb2357f LP |
421 | units/systemd-readahead-collect.service \ |
422 | units/systemd-readahead-replay.service \ | |
c7b50859 | 423 | units/systemd-readahead-done.service \ |
3b63d2d3 LP |
424 | units/systemd-tmpfiles-setup.service \ |
425 | units/systemd-tmpfiles-clean.service \ | |
447be155 | 426 | units/systemd-user-sessions.service \ |
306a7fd8 | 427 | units/systemd-ask-password-wall.service \ |
8cf3a8a9 | 428 | units/systemd-ask-password-console.service \ |
8e1bd70d | 429 | units/systemd-sysctl.service \ |
46574a5b LP |
430 | units/halt.service \ |
431 | units/poweroff.service \ | |
432 | units/reboot.service \ | |
a9e1f5ec LP |
433 | units/kexec.service \ |
434 | units/fsck@.service \ | |
335aa753 | 435 | units/fsck-root.service \ |
de47ca9b | 436 | units/quotacheck.service \ |
d42d27ea LP |
437 | units/rescue.service \ |
438 | units/user@.service | |
d1ab0ca0 | 439 | |
27669061 MV |
440 | if ENABLE_BINFMT |
441 | nodist_systemunit_DATA += \ | |
442 | units/systemd-binfmt.service | |
443 | endif | |
444 | ||
b2e9fb99 MV |
445 | if ENABLE_HOSTNAMED |
446 | nodist_systemunit_DATA += \ | |
447 | units/systemd-hostnamed.service | |
448 | endif | |
449 | ||
f47cd184 MV |
450 | if ENABLE_TIMEDATED |
451 | nodist_systemunit_DATA += \ | |
452 | units/systemd-timedated.service | |
453 | endif | |
454 | ||
4cd1eaa5 MV |
455 | if ENABLE_LOCALED |
456 | nodist_systemunit_DATA += \ | |
457 | units/systemd-localed.service | |
458 | endif | |
459 | ||
af2d49f7 LP |
460 | dist_userunit_DATA = \ |
461 | units/user/default.target \ | |
462 | units/user/exit.target | |
0d26c910 | 463 | |
af2d49f7 | 464 | nodist_userunit_DATA = \ |
af2d49f7 | 465 | units/user/exit.service |
fb1bd35a | 466 | |
e24067c3 | 467 | EXTRA_DIST = \ |
5e6afdd3 | 468 | units/getty@.service.m4 \ |
93a45c56 | 469 | units/serial-getty@.service.m4 \ |
5b754353 | 470 | units/console-shell.service.m4 \ |
de47ca9b | 471 | units/rescue.service.m4 \ |
70fcff31 | 472 | units/systemd-initctl.service.in \ |
346bce1f | 473 | units/systemd-stdout-syslog-bridge.service.in \ |
f6144808 | 474 | units/systemd-shutdownd.service.in \ |
91f9dcaf | 475 | units/systemd-logind.service.in \ |
addab137 | 476 | units/systemd-kmsg-syslogd.service.in \ |
b2423f1f | 477 | units/systemd-modules-load.service.in \ |
97c4a07d | 478 | units/systemd-vconsole-setup.service.in \ |
449ddb2d | 479 | units/systemd-remount-api-vfs.service.in \ |
cd6d0a45 LP |
480 | units/systemd-update-utmp-runlevel.service.in \ |
481 | units/systemd-update-utmp-shutdown.service.in \ | |
ca2cab5d LP |
482 | units/systemd-random-seed-save.service.in \ |
483 | units/systemd-random-seed-load.service.in \ | |
4bb2357f LP |
484 | units/systemd-readahead-collect.service.in \ |
485 | units/systemd-readahead-replay.service.in \ | |
c7b50859 | 486 | units/systemd-readahead-done.service.in \ |
3b63d2d3 LP |
487 | units/systemd-tmpfiles-setup.service.in \ |
488 | units/systemd-tmpfiles-clean.service.in \ | |
447be155 | 489 | units/systemd-user-sessions.service.in \ |
306a7fd8 | 490 | units/systemd-ask-password-wall.service.in \ |
8cf3a8a9 | 491 | units/systemd-ask-password-console.service.in \ |
8e1bd70d | 492 | units/systemd-sysctl.service.in \ |
46574a5b LP |
493 | units/halt.service.in \ |
494 | units/poweroff.service.in \ | |
495 | units/reboot.service.in \ | |
85ed27f6 | 496 | units/kexec.service.in \ |
af2d49f7 | 497 | units/user/exit.service.in \ |
a9e1f5ec LP |
498 | units/fsck@.service.in \ |
499 | units/fsck-root.service.in \ | |
335aa753 | 500 | units/quotacheck.service.in \ |
35bf8dfb | 501 | units/user@.service.in \ |
46891d97 | 502 | systemd.pc.in \ |
35bf8dfb KS |
503 | libsystemd-daemon.pc.in \ |
504 | libsystemd-login.pc.in \ | |
505 | src/libsystemd-daemon.sym \ | |
506 | src/libsystemd-login.sym \ | |
25705583 | 507 | introspect.awk \ |
41e4d6e9 | 508 | src/73-seat-late.rules.in \ |
76318284 LP |
509 | src/99-systemd.rules.in \ |
510 | man/custom-html.xsl | |
e24067c3 | 511 | |
27669061 MV |
512 | if ENABLE_BINFMT |
513 | EXTRA_DIST += \ | |
514 | units/systemd-binfmt.service.in | |
515 | endif | |
516 | ||
b2e9fb99 MV |
517 | if ENABLE_HOSTNAMED |
518 | EXTRA_DIST += \ | |
519 | units/systemd-hostnamed.service.in | |
520 | endif | |
521 | ||
f47cd184 MV |
522 | if ENABLE_TIMEDATED |
523 | EXTRA_DIST += \ | |
524 | units/systemd-timedated.service.in | |
525 | endif | |
526 | ||
4cd1eaa5 MV |
527 | if ENABLE_LOCALED |
528 | EXTRA_DIST += \ | |
529 | units/systemd-localed.service.in | |
530 | endif | |
531 | ||
5e6afdd3 LP |
532 | if TARGET_FEDORA |
533 | dist_systemunit_DATA += \ | |
5e6afdd3 LP |
534 | units/fedora/prefdm.service \ |
535 | units/fedora/rc-local.service \ | |
cd3f8b7d JM |
536 | units/fedora/halt-local.service |
537 | endif | |
538 | ||
1de4d79b AB |
539 | if TARGET_MANDRIVA |
540 | dist_systemunit_DATA += \ | |
541 | units/mandriva/prefdm.service \ | |
542 | units/fedora/rc-local.service \ | |
543 | units/fedora/halt-local.service | |
544 | endif | |
545 | ||
196e3fa7 MV |
546 | if TARGET_FRUGALWARE |
547 | dist_systemunit_DATA += \ | |
548 | units/frugalware/display-manager.service | |
549 | endif | |
550 | ||
a268a6a3 FC |
551 | if TARGET_SUSE |
552 | dist_systemunit_DATA += \ | |
553 | units/suse/rc-local.service \ | |
554 | units/suse/halt-local.service | |
555 | endif | |
556 | ||
6fdae8a6 DM |
557 | if TARGET_MAGEIA |
558 | dist_systemunit_DATA += \ | |
559 | units/mageia/prefdm.service \ | |
560 | units/fedora/rc-local.service \ | |
561 | units/fedora/halt-local.service | |
562 | endif | |
563 | ||
cd3f8b7d JM |
564 | if HAVE_PLYMOUTH |
565 | dist_systemunit_DATA += \ | |
566 | units/plymouth-start.service \ | |
567 | units/plymouth-read-write.service \ | |
568 | units/plymouth-quit.service \ | |
aa2e2115 | 569 | units/plymouth-quit-wait.service \ |
cd3f8b7d JM |
570 | units/plymouth-reboot.service \ |
571 | units/plymouth-kexec.service \ | |
572 | units/plymouth-poweroff.service \ | |
aa2e2115 LP |
573 | units/plymouth-halt.service \ |
574 | units/systemd-ask-password-plymouth.path | |
575 | ||
576 | nodist_systemunit_DATA += \ | |
577 | units/systemd-ask-password-plymouth.service | |
578 | ||
579 | EXTRA_DIST += \ | |
580 | units/systemd-ask-password-plymouth.service.in | |
5e6afdd3 LP |
581 | endif |
582 | ||
240a3a85 LP |
583 | dist_doc_DATA = \ |
584 | README \ | |
795750ca LP |
585 | LICENSE \ |
586 | DISTRO_PORTING \ | |
240a3a85 | 587 | src/sd-daemon.h \ |
d0b48809 LP |
588 | src/sd-daemon.c \ |
589 | src/sd-readahead.h \ | |
590 | src/sd-readahead.c | |
240a3a85 | 591 | |
8c6db833 | 592 | pkgconfigdata_DATA = \ |
02f130cb LP |
593 | systemd.pc |
594 | ||
595 | pkgconfiglib_DATA = \ | |
114a50f8 | 596 | libsystemd-daemon.pc \ |
74b91131 | 597 | libsystemd-login.pc |
8c6db833 | 598 | |
9356a6c6 LP |
599 | # Passed through intltool only |
600 | polkitpolicy_in_files = \ | |
1c7dde3e BN |
601 | src/org.freedesktop.login1.policy.in |
602 | ||
b2e9fb99 MV |
603 | if ENABLE_HOSTNAMED |
604 | polkitpolicy_in_files += \ | |
605 | src/org.freedesktop.hostname1.policy.in | |
606 | endif | |
607 | ||
f47cd184 MV |
608 | if ENABLE_TIMEDATED |
609 | polkitpolicy_in_files += \ | |
610 | src/org.freedesktop.timedate1.policy.in | |
611 | endif | |
612 | ||
4cd1eaa5 MV |
613 | if ENABLE_LOCALED |
614 | polkitpolicy_in_files += \ | |
615 | src/org.freedesktop.locale1.policy.in | |
616 | endif | |
617 | ||
9356a6c6 LP |
618 | # First passed through sed, followed by intltool |
619 | polkitpolicy_in_in_files = \ | |
620 | src/org.freedesktop.systemd1.policy.in.in | |
621 | ||
622 | nodist_polkitpolicy_DATA = \ | |
623 | $(polkitpolicy_in_files:.policy.in=.policy) \ | |
54479a8f | 624 | $(polkitpolicy_in_in_files:.policy.in.in=.policy) |
9356a6c6 LP |
625 | |
626 | EXTRA_DIST += \ | |
627 | $(polkitpolicy_in_files) \ | |
628 | $(polkitpolicy_in_in_files) | |
629 | ||
1c7dde3e | 630 | @INTLTOOL_POLICY_RULE@ |
7640a5de | 631 | |
139be57d LP |
632 | noinst_LTLIBRARIES = \ |
633 | libsystemd-basic.la \ | |
114a50f8 | 634 | libsystemd-core.la |
139be57d | 635 | |
139be57d | 636 | libsystemd_basic_la_SOURCES = \ |
d3f09cf3 | 637 | src/util.c \ |
b52aae1d | 638 | src/virt.c \ |
e51bc1a2 | 639 | src/label.c \ |
d3f09cf3 KS |
640 | src/hashmap.c \ |
641 | src/set.c \ | |
642 | src/strv.c \ | |
643 | src/conf-parser.c \ | |
644 | src/socket-util.c \ | |
645 | src/log.c \ | |
83cc030f LP |
646 | src/ratelimit.c \ |
647 | src/exit-status.c | |
47be870b | 648 | |
4927fcae LP |
649 | libsystemd_basic_la_CFLAGS = \ |
650 | $(AM_CFLAGS) \ | |
651 | $(SELINUX_CFLAGS) | |
652 | ||
653 | libsystemd_basic_la_LIBADD = \ | |
85f19d82 MB |
654 | $(SELINUX_LIBS) \ |
655 | $(CAP_LIBS) | |
4927fcae | 656 | |
139be57d | 657 | libsystemd_core_la_SOURCES = \ |
e99e38bb | 658 | src/unit.c \ |
d3f09cf3 KS |
659 | src/job.c \ |
660 | src/manager.c \ | |
84e3543e | 661 | src/path-lookup.c \ |
d3f09cf3 KS |
662 | src/load-fragment.c \ |
663 | src/service.c \ | |
664 | src/automount.c \ | |
665 | src/mount.c \ | |
666 | src/swap.c \ | |
667 | src/device.c \ | |
668 | src/target.c \ | |
669 | src/snapshot.c \ | |
670 | src/socket.c \ | |
671 | src/timer.c \ | |
01f78473 | 672 | src/path.c \ |
d3f09cf3 KS |
673 | src/load-dropin.c \ |
674 | src/execute.c \ | |
169c1bda | 675 | src/utmp-wtmp.c \ |
d3f09cf3 KS |
676 | src/dbus.c \ |
677 | src/dbus-manager.c \ | |
678 | src/dbus-unit.c \ | |
679 | src/dbus-job.c \ | |
e99e38bb LP |
680 | src/dbus-service.c \ |
681 | src/dbus-socket.c \ | |
871d7de4 | 682 | src/dbus-timer.c \ |
e99e38bb LP |
683 | src/dbus-target.c \ |
684 | src/dbus-mount.c \ | |
685 | src/dbus-automount.c \ | |
686 | src/dbus-swap.c \ | |
687 | src/dbus-snapshot.c \ | |
688 | src/dbus-device.c \ | |
689 | src/dbus-execute.c \ | |
01f78473 | 690 | src/dbus-path.c \ |
e99e38bb LP |
691 | src/cgroup.c \ |
692 | src/mount-setup.c \ | |
693 | src/hostname-setup.c \ | |
c4dcdb9f | 694 | src/selinux-setup.c \ |
e99e38bb | 695 | src/loopback-setup.c \ |
11c3a4ee | 696 | src/kmod-setup.c \ |
72bca11b | 697 | src/locale-setup.c \ |
d7ccca2e | 698 | src/machine-id-setup.c \ |
e99e38bb LP |
699 | src/specifier.c \ |
700 | src/unit-name.c \ | |
701 | src/fdset.c \ | |
0213c3f8 | 702 | src/namespace.c \ |
8c6db833 | 703 | src/tcpwrap.c \ |
52661efd | 704 | src/cgroup-util.c \ |
bfebab7f | 705 | src/condition.c \ |
530345e7 | 706 | src/dbus-common.c \ |
c0576cd6 | 707 | src/sd-daemon.c \ |
ab1f0633 | 708 | src/install.c \ |
87d2c1ff LP |
709 | src/cgroup-attr.c \ |
710 | src/sd-id128.c | |
47be870b | 711 | |
f975e971 LP |
712 | nodist_libsystemd_core_la_SOURCES = \ |
713 | src/load-fragment-gperf.c \ | |
714 | src/load-fragment-gperf-nulstr.c | |
715 | ||
6e5c0444 LP |
716 | EXTRA_DIST += \ |
717 | src/load-fragment-gperf.gperf.m4 | |
718 | ||
139be57d LP |
719 | libsystemd_core_la_CFLAGS = \ |
720 | $(AM_CFLAGS) \ | |
721 | $(DBUS_CFLAGS) \ | |
4927fcae LP |
722 | $(UDEV_CFLAGS) \ |
723 | $(LIBWRAP_CFLAGS) \ | |
724 | $(PAM_CFLAGS) \ | |
725 | $(AUDIT_CFLAGS) | |
139be57d LP |
726 | |
727 | libsystemd_core_la_LIBADD = \ | |
728 | libsystemd-basic.la \ | |
729 | $(DBUS_LIBS) \ | |
730 | $(UDEV_LIBS) \ | |
139be57d | 731 | $(LIBWRAP_LIBS) \ |
7a58bfa4 | 732 | $(PAM_LIBS) \ |
85f19d82 MB |
733 | $(AUDIT_LIBS) \ |
734 | $(CAP_LIBS) | |
139be57d | 735 | |
9a1ac7b9 LP |
736 | # This is needed because automake is buggy in how it generates the |
737 | # rules for C programs, but not Vala programs. We therefore can't | |
738 | # list the .h files as dependencies if we want make dist to work. | |
739 | ||
462b33e9 | 740 | EXTRA_DIST += \ |
139be57d LP |
741 | ${libsystemd_basic_la_SOURCES:.c=.h} \ |
742 | ${libsystemd_core_la_SOURCES:.c=.h} \ | |
2f6a1ab1 | 743 | ${libsystemd_daemon_la_SOURCES:.c=.h} \ |
e99e38bb | 744 | src/macro.h \ |
5b754353 | 745 | src/def.h \ |
e99e38bb LP |
746 | src/ioprio.h \ |
747 | src/missing.h \ | |
748 | src/list.h \ | |
749 | src/securebits.h \ | |
750 | src/linux/auto_dev-ioctl.h \ | |
30b89475 | 751 | src/linux/fanotify.h \ |
e99e38bb | 752 | src/initreq.h \ |
d0b48809 | 753 | src/sd-readahead.h \ |
9a1ac7b9 | 754 | src/special.h \ |
398ef8ba | 755 | src/dbus-common.h \ |
ab35fb1b | 756 | src/bus-errors.h \ |
cd6d0a45 | 757 | src/cgroup-show.h \ |
f6144808 | 758 | src/build.h \ |
30b89475 | 759 | src/shutdownd.h \ |
26e190cf | 760 | src/umount.h \ |
7f4e0805 | 761 | src/readahead-common.h \ |
7a41c611 LP |
762 | src/ask-password-api.h \ |
763 | src/pager.h \ | |
764 | src/sysfs-show.h \ | |
765 | src/polkit.h \ | |
766 | src/logind.h \ | |
767 | src/logind-device.h \ | |
768 | src/logind-seat.h \ | |
769 | src/logind-session.h \ | |
770 | src/logind-user.h \ | |
771 | src/logind-acl.h \ | |
6a9bff42 LP |
772 | src/dbus-loop.h \ |
773 | src/spawn-agent.h | |
6f6083dc LP |
774 | |
775 | MANPAGES = \ | |
160cd5c9 | 776 | man/systemd.1 \ |
6f6083dc LP |
777 | man/systemctl.1 \ |
778 | man/systemadm.1 \ | |
fa776d8e | 779 | man/systemd-cgls.1 \ |
8f7a3c14 | 780 | man/systemd-nspawn.1 \ |
522d4a49 | 781 | man/systemd-tmpfiles.8 \ |
c5abba08 | 782 | man/systemd-notify.1 \ |
f9378423 | 783 | man/sd_notify.3 \ |
6624768c | 784 | man/sd_readahead.3 \ |
f9378423 LP |
785 | man/sd_booted.3 \ |
786 | man/sd_listen_fds.3 \ | |
787 | man/sd_is_fifo.3 \ | |
6f6083dc LP |
788 | man/systemd.unit.5 \ |
789 | man/systemd.service.5 \ | |
1f812fea | 790 | man/systemd.socket.5 \ |
cdb788e4 | 791 | man/systemd.mount.5 \ |
65232ea7 | 792 | man/systemd.automount.5 \ |
e0cabd4b | 793 | man/systemd.swap.5 \ |
11fcc3ab | 794 | man/systemd.timer.5 \ |
b36b082c | 795 | man/systemd.path.5 \ |
da49e9ab | 796 | man/systemd.target.5 \ |
eec575d8 | 797 | man/systemd.device.5 \ |
b2c20dd9 | 798 | man/systemd.snapshot.5 \ |
dd1eb43b | 799 | man/systemd.exec.5 \ |
6f6083dc | 800 | man/daemon.7 \ |
359957ee | 801 | man/sd-daemon.7 \ |
e62e6670 | 802 | man/sd-readahead.7 \ |
01448ff9 | 803 | man/sd-login.7 \ |
359957ee | 804 | man/runlevel.8 \ |
160cd5c9 LP |
805 | man/telinit.8 \ |
806 | man/halt.8 \ | |
807 | man/shutdown.8 \ | |
f3e219a2 | 808 | man/pam_systemd.8 \ |
4149f86d | 809 | man/systemd.conf.5 \ |
8fa365e5 | 810 | man/systemd-logind.conf.5 \ |
6a7e63ef | 811 | man/tmpfiles.d.5 \ |
eeca220b | 812 | man/hostname.5 \ |
801f44bb | 813 | man/timezone.5 \ |
d7ccca2e | 814 | man/machine-id.5 \ |
ee486472 | 815 | man/vconsole.conf.5 \ |
e17fb729 | 816 | man/locale.conf.5 \ |
a7c64469 | 817 | man/os-release.5 \ |
7640a5de | 818 | man/machine-info.5 \ |
151b190e | 819 | man/modules-load.d.5 \ |
f3bc7fdc | 820 | man/sysctl.d.5 \ |
a61933ad | 821 | man/systemd-ask-password.1 \ |
01448ff9 LP |
822 | man/systemd-loginctl.1 \ |
823 | man/sd_pid_get_session.3 \ | |
824 | man/sd_uid_get_state.3 \ | |
825 | man/sd_session_is_active.3 \ | |
826 | man/sd_seat_get_active.3 \ | |
827 | man/sd_get_seats.3 \ | |
828 | man/sd_login_monitor_new.3 | |
6f6083dc | 829 | |
27669061 MV |
830 | if ENABLE_BINFMT |
831 | MANPAGES += \ | |
832 | man/binfmt.d.5 | |
833 | endif | |
834 | ||
6f6083dc LP |
835 | MANPAGES_ALIAS = \ |
836 | man/reboot.8 \ | |
837 | man/poweroff.8 \ | |
838 | man/sd_is_socket.3 \ | |
839 | man/sd_is_socket_unix.3 \ | |
840 | man/sd_is_socket_inet.3 \ | |
01448ff9 | 841 | man/sd_is_mq.3 \ |
6f6083dc | 842 | man/sd_notifyf.3 \ |
01448ff9 LP |
843 | man/init.1 \ |
844 | man/sd_session_get_uid.3 \ | |
845 | man/sd_session_get_seat.3 \ | |
846 | man/sd_pid_get_owner_uid.3 \ | |
847 | man/sd_uid_is_on_seat.3 \ | |
848 | man/sd_uid_get_sessions.3 \ | |
849 | man/sd_uid_get_seats.3 \ | |
850 | man/sd_seat_get_sessions.3 \ | |
851 | man/sd_seat_can_multi_session.3 \ | |
852 | man/sd_get_sessions.3 \ | |
853 | man/sd_get_uids.3 \ | |
854 | man/sd_login_monitor_unref.3 \ | |
855 | man/sd_login_monitor_flush.3 \ | |
856 | man/sd_login_monitor_get_fd.3 | |
6f6083dc LP |
857 | |
858 | man/reboot.8: man/halt.8 | |
859 | man/poweroff.8: man/halt.8 | |
860 | man/sd_is_socket.3: man/sd_is_fifo.3 | |
861 | man/sd_is_socket_unix.3: man/sd_is_fifo.3 | |
862 | man/sd_is_socket_inet.3: man/sd_is_fifo.3 | |
c10eb7b0 | 863 | man/sd_is_mq.3: man/sd_is_fifo.3 |
6f6083dc LP |
864 | man/sd_notifyf.3: man/sd_notify.3 |
865 | man/init.1: man/systemd.1 | |
c10eb7b0 LP |
866 | man/sd_session_get_uid.3: man/sd_session_is_active.3 |
867 | man/sd_session_get_seat.3: man/sd_session_is_active.3 | |
868 | man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3 | |
869 | man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3 | |
870 | man/sd_uid_get_sessions.3: man/sd_uid_get_state.3 | |
871 | man/sd_uid_get_seats.3: man/sd_uid_get_state.3 | |
872 | man/sd_seat_get_sessions.3: man/sd_seat_get_active.3 | |
873 | man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3 | |
874 | man/sd_get_sessions.3: man/sd_get_seats.3 | |
875 | man/sd_get_uids.3: man/sd_get_seats.3 | |
876 | man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3 | |
877 | man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3 | |
878 | man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3 | |
6f6083dc LP |
879 | |
880 | dist_man_MANS = \ | |
881 | $(MANPAGES) \ | |
882 | $(MANPAGES_ALIAS) | |
9f2c5942 LP |
883 | |
884 | nodist_man_MANS = \ | |
9f235308 | 885 | man/systemd.special.7 |
d1ab0ca0 | 886 | |
6f6083dc LP |
887 | XML_FILES = \ |
888 | ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} | |
889 | ||
890 | XML_IN_FILES = \ | |
891 | ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} | |
892 | ||
9f2c5942 | 893 | dist_noinst_DATA = \ |
6f6083dc | 894 | ${XML_FILES:.xml=.html} |
d1ab0ca0 | 895 | |
9f2c5942 | 896 | nodist_noinst_DATA = \ |
6f6083dc | 897 | ${XML_IN_FILES:.xml.in=.html} |
d1ab0ca0 LP |
898 | |
899 | EXTRA_DIST += \ | |
6f6083dc LP |
900 | $(XML_FILES) \ |
901 | $(XML_IN_FILES) \ | |
902 | ${nodist_man_MANS:=.in} \ | |
903 | ${XML_IN_FILES:.xml.in=.html.in} | |
d1ab0ca0 | 904 | |
47be870b | 905 | systemd_SOURCES = \ |
e99e38bb | 906 | src/main.c |
47be870b | 907 | |
10e87ee7 LP |
908 | systemd_CFLAGS = \ |
909 | $(AM_CFLAGS) \ | |
47be870b | 910 | $(DBUS_CFLAGS) \ |
35d2e7ec | 911 | $(UDEV_CFLAGS) |
47be870b LP |
912 | |
913 | systemd_LDADD = \ | |
139be57d | 914 | libsystemd-core.la |
47be870b LP |
915 | |
916 | test_engine_SOURCES = \ | |
e99e38bb | 917 | src/test-engine.c |
47be870b | 918 | |
10e87ee7 | 919 | test_engine_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
920 | test_engine_LDADD = $(systemd_LDADD) |
921 | ||
922 | test_job_type_SOURCES = \ | |
e1d680ad | 923 | src/test-job-type.c |
47be870b | 924 | |
10e87ee7 | 925 | test_job_type_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
926 | test_job_type_LDADD = $(systemd_LDADD) |
927 | ||
15ae422b | 928 | test_ns_SOURCES = \ |
139be57d | 929 | src/test-ns.c |
15ae422b | 930 | |
10e87ee7 | 931 | test_ns_CFLAGS = $(systemd_CFLAGS) |
15ae422b LP |
932 | test_ns_LDADD = $(systemd_LDADD) |
933 | ||
af5bc85d | 934 | test_loopback_SOURCES = \ |
e99e38bb LP |
935 | src/test-loopback.c \ |
936 | src/loopback-setup.c | |
af5bc85d | 937 | |
139be57d LP |
938 | test_loopback_LDADD = \ |
939 | libsystemd-basic.la | |
940 | ||
e5907703 LP |
941 | test_hostname_SOURCES = \ |
942 | src/test-hostname.c \ | |
943 | src/hostname-setup.c | |
944 | ||
945 | test_hostname_LDADD = \ | |
946 | libsystemd-basic.la | |
947 | ||
8c47c732 | 948 | test_daemon_SOURCES = \ |
2f6a1ab1 | 949 | src/test-daemon.c |
af5bc85d | 950 | |
139be57d | 951 | test_daemon_LDADD = \ |
2f6a1ab1 MB |
952 | libsystemd-basic.la \ |
953 | libsystemd-daemon.la | |
139be57d | 954 | |
8c6db833 LP |
955 | test_cgroup_SOURCES = \ |
956 | src/test-cgroup.c \ | |
957 | src/cgroup-util.c | |
958 | ||
959 | test_cgroup_CFLAGS = \ | |
35d2e7ec | 960 | $(AM_CFLAGS) |
8c6db833 LP |
961 | |
962 | test_cgroup_LDADD = \ | |
35d2e7ec | 963 | libsystemd-basic.la |
8c6db833 | 964 | |
c24eb49e LP |
965 | test_env_replace_SOURCES = \ |
966 | src/test-env-replace.c | |
967 | ||
968 | test_env_replace_CFLAGS = \ | |
969 | $(AM_CFLAGS) | |
970 | ||
971 | test_env_replace_LDADD = \ | |
972 | libsystemd-basic.la | |
973 | ||
f90cf44c | 974 | test_strv_SOURCES = \ |
2c4b304e | 975 | src/test-strv.c \ |
c292c495 | 976 | src/specifier.c |
f90cf44c LP |
977 | |
978 | test_strv_CFLAGS = \ | |
979 | $(AM_CFLAGS) | |
980 | ||
981 | test_strv_LDADD = \ | |
982 | libsystemd-basic.la | |
983 | ||
74b91131 LP |
984 | test_login_SOURCES = \ |
985 | src/test-login.c | |
986 | ||
987 | test_login_CFLAGS = \ | |
988 | $(AM_CFLAGS) | |
989 | ||
990 | test_login_LDADD = \ | |
991 | libsystemd-basic.la \ | |
992 | libsystemd-login.la | |
993 | ||
83096483 LP |
994 | test_install_SOURCES = \ |
995 | src/test-install.c \ | |
996 | src/install.c \ | |
997 | src/path-lookup.c \ | |
998 | src/unit-name.c | |
999 | ||
1000 | test_install_CFLAGS = \ | |
1001 | $(AM_CFLAGS) \ | |
1002 | $(DBUS_CFLAGS) | |
1003 | ||
1004 | test_install_LDADD = \ | |
1005 | libsystemd-basic.la | |
1006 | ||
87d2c1ff LP |
1007 | test_id128_SOURCES = \ |
1008 | src/test-id128.c \ | |
1009 | src/sd-id128.c | |
1010 | ||
1011 | test_id128_CFLAGS = \ | |
1012 | $(AM_CFLAGS) | |
1013 | ||
1014 | test_id128_LDADD = \ | |
1015 | libsystemd-basic.la | |
1016 | ||
1017 | test_journal_SOURCES = \ | |
1018 | src/journal/test-journal.c \ | |
1019 | src/journal/sd-journal.c \ | |
cec736d2 | 1020 | src/journal/journal-file.c \ |
87d2c1ff | 1021 | src/journal/lookup3.c \ |
7f3e6257 | 1022 | src/journal/journal-send.c \ |
87d2c1ff LP |
1023 | src/sd-id128.c |
1024 | ||
1025 | test_journal_CFLAGS = \ | |
1026 | $(AM_CFLAGS) | |
1027 | ||
1028 | test_journal_LDADD = \ | |
1029 | libsystemd-basic.la | |
1030 | ||
807e17f0 LP |
1031 | if HAVE_XZ |
1032 | test_journal_SOURCES += \ | |
1033 | src/journal/compress.c | |
1034 | test_journal_CFLAGS += \ | |
1035 | $(XZ_CFLAGS) | |
1036 | test_journal_LDADD += \ | |
1037 | $(XZ_LIBS) | |
1038 | endif | |
1039 | ||
87d2c1ff LP |
1040 | systemd_journald_SOURCES = \ |
1041 | src/journal/journald.c \ | |
1042 | src/journal/sd-journal.c \ | |
cec736d2 | 1043 | src/journal/journal-file.c \ |
87d2c1ff | 1044 | src/journal/lookup3.c \ |
6e409ce1 | 1045 | src/journal/journal-rate-limit.c \ |
f4b47811 | 1046 | src/sd-id128.c \ |
69e5d42d LP |
1047 | src/acl-util.c \ |
1048 | src/cgroup-util.c | |
87d2c1ff LP |
1049 | |
1050 | systemd_journald_CFLAGS = \ | |
f4b47811 LP |
1051 | $(AM_CFLAGS) \ |
1052 | $(ACL_CFLAGS) | |
87d2c1ff LP |
1053 | |
1054 | systemd_journald_LDADD = \ | |
1055 | libsystemd-basic.la \ | |
f4b47811 LP |
1056 | libsystemd-daemon.la \ |
1057 | $(ACL_LIBS) | |
87d2c1ff | 1058 | |
807e17f0 LP |
1059 | if HAVE_XZ |
1060 | systemd_journald_SOURCES += \ | |
1061 | src/journal/compress.c | |
1062 | systemd_journald_CFLAGS += \ | |
1063 | $(XZ_CFLAGS) | |
1064 | systemd_journald_LDADD += \ | |
1065 | $(XZ_LIBS) | |
1066 | endif | |
1067 | ||
87d2c1ff LP |
1068 | systemd_journalctl_SOURCES = \ |
1069 | src/journal/journalctl.c \ | |
1070 | src/journal/sd-journal.c \ | |
cec736d2 | 1071 | src/journal/journal-file.c \ |
87d2c1ff | 1072 | src/journal/lookup3.c \ |
0d43c694 LP |
1073 | src/sd-id128.c \ |
1074 | src/pager.c | |
87d2c1ff LP |
1075 | |
1076 | systemd_journalctl_CFLAGS = \ | |
1077 | $(AM_CFLAGS) | |
1078 | ||
1079 | systemd_journalctl_LDADD = \ | |
1080 | libsystemd-basic.la | |
1081 | ||
807e17f0 LP |
1082 | if HAVE_XZ |
1083 | systemd_journalctl_SOURCES += \ | |
1084 | src/journal/compress.c | |
1085 | systemd_journalctl_CFLAGS += \ | |
1086 | $(XZ_CFLAGS) | |
1087 | systemd_journalctl_LDADD += \ | |
1088 | $(XZ_LIBS) | |
1089 | endif | |
1090 | ||
346bce1f LP |
1091 | systemd_stdout_syslog_bridge_SOURCES = \ |
1092 | src/stdout-syslog-bridge.c \ | |
0213c3f8 LP |
1093 | src/tcpwrap.c |
1094 | ||
346bce1f | 1095 | systemd_stdout_syslog_bridge_LDADD = \ |
139be57d | 1096 | libsystemd-basic.la \ |
2f6a1ab1 | 1097 | libsystemd-daemon.la \ |
0213c3f8 | 1098 | $(LIBWRAP_LIBS) |
47be870b | 1099 | |
0b7964b8 | 1100 | systemd_initctl_SOURCES = \ |
e99e38bb | 1101 | src/initctl.c \ |
a822056b | 1102 | src/dbus-common.c |
0b7964b8 | 1103 | |
10e87ee7 LP |
1104 | systemd_initctl_CFLAGS = \ |
1105 | $(AM_CFLAGS) \ | |
0b7964b8 LP |
1106 | $(DBUS_CFLAGS) |
1107 | ||
1108 | systemd_initctl_LDADD = \ | |
139be57d | 1109 | libsystemd-basic.la \ |
2f6a1ab1 | 1110 | libsystemd-daemon.la \ |
0b7964b8 LP |
1111 | $(DBUS_LIBS) |
1112 | ||
4927fcae LP |
1113 | systemd_update_utmp_SOURCES = \ |
1114 | src/update-utmp.c \ | |
1115 | src/dbus-common.c \ | |
1116 | src/utmp-wtmp.c | |
1117 | ||
1118 | systemd_update_utmp_CFLAGS = \ | |
1119 | $(AM_CFLAGS) \ | |
1120 | $(DBUS_CFLAGS) \ | |
1121 | $(AUDIT_CFLAGS) | |
1122 | ||
1123 | systemd_update_utmp_LDADD = \ | |
1124 | libsystemd-basic.la \ | |
1125 | $(DBUS_LIBS) \ | |
1126 | $(AUDIT_LIBS) | |
1127 | ||
ca2cab5d LP |
1128 | systemd_random_seed_SOURCES = \ |
1129 | src/random-seed.c | |
1130 | ||
1131 | systemd_random_seed_CFLAGS = \ | |
1132 | $(AM_CFLAGS) | |
1133 | ||
1134 | systemd_random_seed_LDADD = \ | |
1135 | libsystemd-basic.la | |
1136 | ||
f6144808 | 1137 | systemd_shutdownd_SOURCES = \ |
9be9828c | 1138 | src/utmp-wtmp.c \ |
f6144808 LP |
1139 | src/shutdownd.c |
1140 | ||
1141 | systemd_shutdownd_CFLAGS = \ | |
1142 | $(AM_CFLAGS) | |
1143 | ||
1144 | systemd_shutdownd_LDADD = \ | |
2f6a1ab1 MB |
1145 | libsystemd-basic.la \ |
1146 | libsystemd-daemon.la | |
f6144808 | 1147 | |
7640a5de LP |
1148 | systemd_hostnamed_SOURCES = \ |
1149 | src/hostnamed.c \ | |
f401e48c LP |
1150 | src/dbus-common.c \ |
1151 | src/polkit.c | |
7640a5de LP |
1152 | |
1153 | systemd_hostnamed_CFLAGS = \ | |
1154 | $(AM_CFLAGS) \ | |
1155 | $(DBUS_CFLAGS) | |
1156 | ||
1157 | systemd_hostnamed_LDADD = \ | |
1158 | libsystemd-basic.la \ | |
1159 | libsystemd-daemon.la \ | |
1160 | $(DBUS_LIBS) | |
1161 | ||
f401e48c LP |
1162 | systemd_localed_SOURCES = \ |
1163 | src/localed.c \ | |
1164 | src/dbus-common.c \ | |
1165 | src/polkit.c | |
1166 | ||
1167 | systemd_localed_CFLAGS = \ | |
1168 | $(AM_CFLAGS) \ | |
1169 | $(DBUS_CFLAGS) | |
1170 | ||
1171 | systemd_localed_LDADD = \ | |
1172 | libsystemd-basic.la \ | |
1173 | libsystemd-daemon.la \ | |
1174 | $(DBUS_LIBS) | |
1175 | ||
fb9de93d LP |
1176 | dist_pkgdata_DATA = \ |
1177 | src/kbd-model-map | |
1178 | ||
1179 | dist_noinst_SCRIPT = \ | |
1180 | src/generate-kbd-model-map | |
1181 | ||
f401e48c LP |
1182 | systemd_timedated_SOURCES = \ |
1183 | src/timedated.c \ | |
1184 | src/dbus-common.c \ | |
1185 | src/polkit.c | |
1186 | ||
1187 | systemd_timedated_CFLAGS = \ | |
1188 | $(AM_CFLAGS) \ | |
1189 | $(DBUS_CFLAGS) | |
1190 | ||
1191 | systemd_timedated_LDADD = \ | |
1192 | libsystemd-basic.la \ | |
1193 | libsystemd-daemon.la \ | |
1194 | $(DBUS_LIBS) | |
1195 | ||
20263082 LP |
1196 | systemd_logind_SOURCES = \ |
1197 | src/logind.c \ | |
3f49d45a | 1198 | src/logind-dbus.c \ |
20263082 LP |
1199 | src/logind-device.c \ |
1200 | src/logind-seat.c \ | |
3f49d45a | 1201 | src/logind-seat-dbus.c \ |
20263082 | 1202 | src/logind-session.c \ |
3f49d45a | 1203 | src/logind-session-dbus.c \ |
20263082 | 1204 | src/logind-user.c \ |
3f49d45a | 1205 | src/logind-user-dbus.c \ |
20263082 LP |
1206 | src/dbus-common.c \ |
1207 | src/dbus-loop.c \ | |
7f7bb946 LP |
1208 | src/cgroup-util.c \ |
1209 | src/polkit.c | |
20263082 | 1210 | |
f975e971 LP |
1211 | nodist_systemd_logind_SOURCES = \ |
1212 | src/logind-gperf.c | |
1213 | ||
6e5c0444 LP |
1214 | EXTRA_DIST += \ |
1215 | src/logind-gperf.gperf | |
1216 | ||
20263082 LP |
1217 | systemd_logind_CFLAGS = \ |
1218 | $(AM_CFLAGS) \ | |
1219 | $(DBUS_CFLAGS) \ | |
5eda94dd LP |
1220 | $(UDEV_CFLAGS) \ |
1221 | $(ACL_CFLAGS) | |
20263082 LP |
1222 | |
1223 | systemd_logind_LDADD = \ | |
1224 | libsystemd-basic.la \ | |
1225 | libsystemd-daemon.la \ | |
1226 | $(DBUS_LIBS) \ | |
5eda94dd LP |
1227 | $(UDEV_LIBS) \ |
1228 | $(ACL_LIBS) | |
1229 | ||
1230 | systemd_uaccess_SOURCES = \ | |
2fb1aeda ZJS |
1231 | src/uaccess.c |
1232 | ||
1233 | if HAVE_ACL | |
1234 | systemd_logind_SOURCES += \ | |
f4b47811 LP |
1235 | src/logind-acl.c \ |
1236 | src/acl-util.c | |
2fb1aeda ZJS |
1237 | |
1238 | systemd_uaccess_SOURCES += \ | |
f4b47811 LP |
1239 | src/logind-acl.c \ |
1240 | src/acl-util.c | |
2fb1aeda | 1241 | endif |
5eda94dd LP |
1242 | |
1243 | systemd_uaccess_CFLAGS = \ | |
1244 | $(AM_CFLAGS) \ | |
1245 | $(UDEV_CFLAGS) \ | |
1246 | $(ACL_CFLAGS) | |
1247 | ||
1248 | systemd_uaccess_LDADD = \ | |
1249 | libsystemd-basic.la \ | |
74b91131 | 1250 | libsystemd-daemon.la \ |
c0576cd6 | 1251 | libsystemd-login.la \ |
5eda94dd LP |
1252 | $(UDEV_LIBS) \ |
1253 | $(ACL_LIBS) | |
20263082 | 1254 | |
b1b2a107 FF |
1255 | systemd_shutdown_SOURCES = \ |
1256 | src/mount-setup.c \ | |
1257 | src/umount.c \ | |
1258 | src/shutdown.c | |
1259 | ||
1260 | systemd_shutdown_CFLAGS = \ | |
1261 | $(AM_CFLAGS) \ | |
1262 | $(UDEV_CFLAGS) | |
1263 | ||
1264 | systemd_shutdown_LDADD = \ | |
1265 | libsystemd-basic.la \ | |
1266 | $(UDEV_LIBS) | |
1267 | ||
b2423f1f LP |
1268 | systemd_modules_load_SOURCES = \ |
1269 | src/modules-load.c | |
1270 | ||
1271 | systemd_modules_load_CFLAGS = \ | |
1272 | $(AM_CFLAGS) | |
1273 | ||
3d20ed6d | 1274 | systemd_modules_load_LDADD = \ |
5008d581 LP |
1275 | libsystemd-basic.la |
1276 | ||
bfaf42d2 LP |
1277 | systemd_tmpfiles_SOURCES = \ |
1278 | src/tmpfiles.c | |
5008d581 | 1279 | |
bfaf42d2 | 1280 | systemd_tmpfiles_CFLAGS = \ |
5008d581 LP |
1281 | $(AM_CFLAGS) |
1282 | ||
3d20ed6d LP |
1283 | systemd_tmpfiles_LDADD = \ |
1284 | libsystemd-basic.la | |
1285 | ||
d7ccca2e LP |
1286 | systemd_machine_id_setup_SOURCES = \ |
1287 | src/machine-id-setup.c \ | |
87d2c1ff LP |
1288 | src/machine-id-main.c \ |
1289 | src/sd-id128.c | |
d7ccca2e LP |
1290 | |
1291 | systemd_machine_id_setup_CFLAGS = \ | |
1292 | $(AM_CFLAGS) | |
1293 | ||
1294 | systemd_machine_id_setup_LDADD = \ | |
1295 | libsystemd-basic.la | |
1296 | ||
8e1bd70d LP |
1297 | systemd_sysctl_SOURCES = \ |
1298 | src/sysctl.c | |
1299 | ||
1300 | systemd_sysctl_CFLAGS = \ | |
1301 | $(AM_CFLAGS) | |
1302 | ||
1303 | systemd_sysctl_LDADD = \ | |
1304 | libsystemd-basic.la | |
1305 | ||
151b190e LP |
1306 | systemd_binfmt_SOURCES = \ |
1307 | src/binfmt.c | |
1308 | ||
1309 | systemd_binfmt_CFLAGS = \ | |
1310 | $(AM_CFLAGS) | |
1311 | ||
1312 | systemd_binfmt_LDADD = \ | |
1313 | libsystemd-basic.la | |
1314 | ||
3d20ed6d LP |
1315 | systemd_fsck_SOURCES = \ |
1316 | src/fsck.c \ | |
3d20ed6d LP |
1317 | src/dbus-common.c |
1318 | ||
1319 | systemd_fsck_CFLAGS = \ | |
1320 | $(AM_CFLAGS) \ | |
1321 | $(UDEV_CFLAGS) \ | |
1322 | $(DBUS_CFLAGS) | |
1323 | ||
1324 | systemd_fsck_LDADD = \ | |
1325 | libsystemd-basic.la \ | |
1326 | $(UDEV_LIBS) \ | |
1327 | $(DBUS_LIBS) | |
1328 | ||
1329 | systemd_quotacheck_SOURCES = \ | |
1330 | src/quotacheck.c | |
1331 | ||
1332 | systemd_quotacheck_CFLAGS = \ | |
1333 | $(AM_CFLAGS) | |
1334 | ||
1335 | systemd_quotacheck_LDADD = \ | |
e9278741 LP |
1336 | libsystemd-basic.la |
1337 | ||
e9ddabc2 LP |
1338 | systemd_timestamp_SOURCES = \ |
1339 | src/timestamp.c | |
1340 | ||
1341 | systemd_timestamp_CFLAGS = \ | |
1342 | $(AM_CFLAGS) | |
1343 | ||
1344 | systemd_timestamp_LDADD = \ | |
1345 | libsystemd-basic.la | |
1346 | ||
06cdd248 LP |
1347 | systemd_ac_power_SOURCES = \ |
1348 | src/ac-power.c | |
1349 | ||
1350 | systemd_ac_power_CFLAGS = \ | |
1351 | $(AM_CFLAGS) \ | |
1352 | $(UDEV_CFLAGS) | |
1353 | ||
1354 | systemd_ac_power_LDADD = \ | |
1355 | libsystemd-basic.la \ | |
1356 | $(UDEV_LIBS) | |
1357 | ||
07faed4f LP |
1358 | systemd_detect_virt_SOURCES = \ |
1359 | src/detect-virt.c | |
1360 | ||
1361 | systemd_detect_virt_CFLAGS = \ | |
1362 | $(AM_CFLAGS) | |
1363 | ||
1364 | systemd_detect_virt_LDADD = \ | |
1365 | libsystemd-basic.la | |
1366 | ||
e23a0ce8 | 1367 | systemd_cryptsetup_SOURCES = \ |
7f4e0805 LP |
1368 | src/cryptsetup.c \ |
1369 | src/ask-password-api.c | |
e23a0ce8 LP |
1370 | |
1371 | systemd_cryptsetup_CFLAGS = \ | |
7f4e0805 | 1372 | $(LIBCRYPTSETUP_CFLAGS) \ |
b1a2da0a | 1373 | $(UDEV_CFLAGS) \ |
e23a0ce8 LP |
1374 | $(AM_CFLAGS) |
1375 | ||
1376 | systemd_cryptsetup_LDADD = \ | |
7f4e0805 | 1377 | $(LIBCRYPTSETUP_LIBS) \ |
b1a2da0a | 1378 | $(UDEV_LIBS) \ |
e23a0ce8 LP |
1379 | libsystemd-basic.la |
1380 | ||
1381 | systemd_cryptsetup_generator_SOURCES = \ | |
1382 | src/cryptsetup-generator.c \ | |
1383 | src/unit-name.c | |
1384 | ||
1385 | systemd_cryptsetup_generator_CFLAGS = \ | |
1386 | $(AM_CFLAGS) | |
1387 | ||
1388 | systemd_cryptsetup_generator_LDADD = \ | |
1389 | libsystemd-basic.la | |
1390 | ||
2a796654 LP |
1391 | systemd_getty_generator_SOURCES = \ |
1392 | src/getty-generator.c \ | |
1393 | src/unit-name.c | |
1394 | ||
1395 | systemd_getty_generator_CFLAGS = \ | |
1396 | $(AM_CFLAGS) | |
1397 | ||
1398 | systemd_getty_generator_LDADD = \ | |
1399 | libsystemd-basic.la | |
1400 | ||
e9278741 LP |
1401 | systemd_user_sessions_SOURCES = \ |
1402 | src/user-sessions.c \ | |
1403 | src/cgroup-util.c | |
1404 | ||
1405 | systemd_user_sessions_CFLAGS = \ | |
1406 | $(AM_CFLAGS) | |
1407 | ||
3d20ed6d | 1408 | systemd_user_sessions_LDADD = \ |
b2423f1f LP |
1409 | libsystemd-basic.la |
1410 | ||
97c4a07d LP |
1411 | systemd_vconsole_setup_SOURCES = \ |
1412 | src/vconsole-setup.c | |
1413 | ||
1414 | systemd_vconsole_setup_CFLAGS = \ | |
1415 | $(AM_CFLAGS) | |
1416 | ||
1417 | systemd_vconsole_setup_LDADD = \ | |
1418 | libsystemd-basic.la | |
1419 | ||
449ddb2d LP |
1420 | systemd_remount_api_vfs_SOURCES = \ |
1421 | src/remount-api-vfs.c \ | |
9a57c629 LP |
1422 | src/mount-setup.c \ |
1423 | src/exit-status.c | |
449ddb2d LP |
1424 | |
1425 | systemd_remount_api_vfs_CFLAGS = \ | |
1426 | $(AM_CFLAGS) | |
1427 | ||
1428 | systemd_remount_api_vfs_LDADD = \ | |
1429 | libsystemd-basic.la | |
1430 | ||
8e274523 | 1431 | systemd_cgroups_agent_SOURCES = \ |
3c661fad LP |
1432 | src/cgroups-agent.c \ |
1433 | src/dbus-common.c | |
8e274523 | 1434 | |
10e87ee7 LP |
1435 | systemd_cgroups_agent_CFLAGS = \ |
1436 | $(AM_CFLAGS) \ | |
8e274523 LP |
1437 | $(DBUS_CFLAGS) |
1438 | ||
1439 | systemd_cgroups_agent_LDADD = \ | |
139be57d | 1440 | libsystemd-basic.la \ |
8e274523 LP |
1441 | $(DBUS_LIBS) |
1442 | ||
addab137 LP |
1443 | systemd_kmsg_syslogd_SOURCES = \ |
1444 | src/kmsg-syslogd.c \ | |
addab137 LP |
1445 | src/fdset.c |
1446 | ||
1447 | systemd_kmsg_syslogd_CFLAGS = \ | |
1448 | $(AM_CFLAGS) | |
1449 | ||
1450 | systemd_kmsg_syslogd_LDADD = \ | |
2f6a1ab1 MB |
1451 | libsystemd-basic.la \ |
1452 | libsystemd-daemon.la | |
addab137 | 1453 | |
7e4249b9 LP |
1454 | systemctl_SOURCES = \ |
1455 | src/systemctl.c \ | |
9a1ac7b9 | 1456 | src/utmp-wtmp.c \ |
ab35fb1b | 1457 | src/dbus-common.c \ |
ee5762e3 | 1458 | src/path-lookup.c \ |
c6c18be3 | 1459 | src/cgroup-show.c \ |
d06dacd0 | 1460 | src/cgroup-util.c \ |
71fad675 | 1461 | src/exit-status.c \ |
1968a360 | 1462 | src/unit-name.c \ |
729e3769 LP |
1463 | src/pager.c \ |
1464 | src/install.c \ | |
1465 | src/spawn-agent.c | |
139be57d LP |
1466 | |
1467 | systemctl_CFLAGS = \ | |
1468 | $(AM_CFLAGS) \ | |
35d2e7ec | 1469 | $(DBUS_CFLAGS) |
7e4249b9 | 1470 | |
139be57d LP |
1471 | systemctl_LDADD = \ |
1472 | libsystemd-basic.la \ | |
2f6a1ab1 | 1473 | libsystemd-daemon.la \ |
35d2e7ec | 1474 | $(DBUS_LIBS) |
7e4249b9 | 1475 | |
abca4822 LP |
1476 | systemd_loginctl_SOURCES = \ |
1477 | src/loginctl.c \ | |
1478 | src/dbus-common.c \ | |
1479 | src/cgroup-show.c \ | |
1480 | src/cgroup-util.c \ | |
a4c279f8 LP |
1481 | src/pager.c \ |
1482 | src/sysfs-show.c | |
abca4822 LP |
1483 | |
1484 | systemd_loginctl_CFLAGS = \ | |
1485 | $(AM_CFLAGS) \ | |
a4c279f8 LP |
1486 | $(DBUS_CFLAGS) \ |
1487 | $(UDEV_CFLAGS) | |
abca4822 LP |
1488 | |
1489 | systemd_loginctl_LDADD = \ | |
1490 | libsystemd-basic.la \ | |
a4c279f8 LP |
1491 | $(DBUS_LIBS) \ |
1492 | $(UDEV_LIBS) | |
abca4822 | 1493 | |
4a2a8b5a LP |
1494 | systemd_notify_SOURCES = \ |
1495 | src/notify.c \ | |
d0b48809 | 1496 | src/sd-readahead.c |
139be57d LP |
1497 | |
1498 | systemd_notify_LDADD = \ | |
2f6a1ab1 MB |
1499 | libsystemd-basic.la \ |
1500 | libsystemd-daemon.la | |
4a2a8b5a | 1501 | |
490aed58 | 1502 | systemd_ask_password_SOURCES = \ |
7f4e0805 LP |
1503 | src/ask-password.c \ |
1504 | src/ask-password-api.c | |
490aed58 LP |
1505 | |
1506 | systemd_ask_password_LDADD = \ | |
1507 | libsystemd-basic.la | |
1508 | ||
1509 | systemd_reply_password_SOURCES = \ | |
1510 | src/reply-password.c | |
1511 | ||
1512 | systemd_reply_password_LDADD = \ | |
1513 | libsystemd-basic.la | |
1514 | ||
22be093f LP |
1515 | systemd_readahead_collect_SOURCES = \ |
1516 | src/readahead-collect.c \ | |
22be093f LP |
1517 | src/readahead-common.c |
1518 | ||
1519 | systemd_readahead_collect_CFLAGS = \ | |
1520 | $(UDEV_CFLAGS) | |
1521 | ||
1522 | systemd_readahead_collect_LDADD = \ | |
1523 | libsystemd-basic.la \ | |
2f6a1ab1 | 1524 | libsystemd-daemon.la \ |
22be093f LP |
1525 | $(UDEV_LIBS) |
1526 | ||
1527 | systemd_readahead_replay_SOURCES = \ | |
1528 | src/readahead-replay.c \ | |
22be093f LP |
1529 | src/readahead-common.c |
1530 | ||
1531 | systemd_readahead_replay_CFLAGS = \ | |
1532 | $(UDEV_CFLAGS) | |
1533 | ||
1534 | systemd_readahead_replay_LDADD = \ | |
1535 | libsystemd-basic.la \ | |
2f6a1ab1 | 1536 | libsystemd-daemon.la \ |
22be093f LP |
1537 | $(UDEV_LIBS) |
1538 | ||
fa776d8e | 1539 | systemd_cgls_SOURCES = \ |
d04247cf | 1540 | src/cgls.c \ |
c6c18be3 | 1541 | src/cgroup-show.c \ |
1968a360 LP |
1542 | src/cgroup-util.c \ |
1543 | src/pager.c | |
fa776d8e LP |
1544 | |
1545 | systemd_cgls_CFLAGS = \ | |
35d2e7ec | 1546 | $(AM_CFLAGS) |
c6c18be3 LP |
1547 | |
1548 | systemd_cgls_LDADD = \ | |
35d2e7ec | 1549 | libsystemd-basic.la |
fa776d8e | 1550 | |
88213476 | 1551 | systemd_nspawn_SOURCES = \ |
04d391da | 1552 | src/nspawn.c \ |
a41fe3a2 LP |
1553 | src/cgroup-util.c \ |
1554 | src/loopback-setup.c | |
88213476 LP |
1555 | |
1556 | systemd_nspawn_CFLAGS = \ | |
1557 | $(AM_CFLAGS) | |
1558 | ||
1559 | systemd_nspawn_LDADD = \ | |
04d391da LP |
1560 | libsystemd-basic.la \ |
1561 | libsystemd-daemon.la | |
88213476 | 1562 | |
a8f11321 LP |
1563 | systemd_stdio_bridge_SOURCES = \ |
1564 | src/bridge.c | |
1565 | ||
1566 | systemd_stdio_bridge_LDADD = \ | |
1567 | libsystemd-basic.la | |
1568 | ||
47be870b | 1569 | systemadm_SOURCES = \ |
e99e38bb | 1570 | src/systemadm.vala \ |
0dd27daf ZJS |
1571 | src/systemd-interfaces.vala \ |
1572 | src/wraplabel.vala | |
47be870b | 1573 | |
10e87ee7 LP |
1574 | systemadm_CFLAGS = \ |
1575 | $(AM_CFLAGS) \ | |
10e87ee7 LP |
1576 | $(GTK_CFLAGS) \ |
1577 | -Wno-unused-variable \ | |
1578 | -Wno-unused-function \ | |
1579 | -Wno-shadow \ | |
1580 | -Wno-format-nonliteral | |
1581 | ||
1582 | systemadm_VALAFLAGS = \ | |
10e87ee7 LP |
1583 | --pkg=posix \ |
1584 | --pkg=gtk+-2.0 \ | |
11216eb0 | 1585 | --pkg=gee-1.0 \ |
10e87ee7 LP |
1586 | -g |
1587 | ||
139be57d | 1588 | systemadm_LDADD = \ |
139be57d | 1589 | $(GTK_LIBS) |
c1e1601e | 1590 | |
d674a4ab LP |
1591 | systemd_gnome_ask_password_agent_SOURCES = \ |
1592 | src/gnome-ask-password-agent.vala | |
490aed58 | 1593 | |
d674a4ab | 1594 | systemd_gnome_ask_password_agent_CFLAGS = \ |
490aed58 | 1595 | $(AM_CFLAGS) \ |
2fa47da5 | 1596 | $(LIBNOTIFY_CFLAGS) \ |
490aed58 LP |
1597 | $(GTK_CFLAGS) \ |
1598 | -Wno-unused-variable \ | |
1599 | -Wno-unused-function \ | |
1600 | -Wno-shadow \ | |
1601 | -Wno-format-nonliteral | |
1602 | ||
d674a4ab | 1603 | systemd_gnome_ask_password_agent_VALAFLAGS = \ |
490aed58 LP |
1604 | --pkg=posix \ |
1605 | --pkg=gtk+-2.0 \ | |
1606 | --pkg=linux \ | |
1607 | --pkg=gio-unix-2.0 \ | |
d0ef2204 KS |
1608 | --pkg=libnotify |
1609 | if LIBNOTIFY07 | |
1610 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
1611 | -D LIBNOTIFY07 | |
1612 | endif | |
1613 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
490aed58 LP |
1614 | -g |
1615 | ||
d674a4ab | 1616 | systemd_gnome_ask_password_agent_LDADD = \ |
2fa47da5 | 1617 | $(LIBNOTIFY_LIBS) \ |
490aed58 LP |
1618 | $(GTK_LIBS) |
1619 | ||
ec863ba6 LP |
1620 | systemd_tty_ask_password_agent_SOURCES = \ |
1621 | src/tty-ask-password-agent.c \ | |
7f4e0805 | 1622 | src/ask-password-api.c \ |
ec863ba6 LP |
1623 | src/utmp-wtmp.c |
1624 | ||
1625 | systemd_tty_ask_password_agent_LDADD = \ | |
1626 | libsystemd-basic.la | |
1627 | ||
8c6db833 LP |
1628 | pam_systemd_la_SOURCES = \ |
1629 | src/pam-module.c \ | |
98a28fef | 1630 | src/dbus-common.c |
8c6db833 LP |
1631 | |
1632 | pam_systemd_la_CFLAGS = \ | |
98a28fef LP |
1633 | $(AM_CFLAGS) \ |
1634 | $(PAM_CFLAGS) \ | |
1635 | $(DBUS_CFLAGS) \ | |
8c6db833 LP |
1636 | -fvisibility=hidden |
1637 | ||
1638 | pam_systemd_la_LDFLAGS = \ | |
1639 | -module \ | |
1640 | -export-dynamic \ | |
1641 | -avoid-version \ | |
1642 | -shared \ | |
1643 | -export-symbols-regex '^pam_sm_.*' | |
1644 | ||
1645 | pam_systemd_la_LIBADD = \ | |
1646 | libsystemd-basic.la \ | |
2f6a1ab1 | 1647 | libsystemd-daemon.la \ |
98a28fef LP |
1648 | $(PAM_LIBS) \ |
1649 | $(DBUS_LIBS) | |
8c6db833 | 1650 | |
114a50f8 LP |
1651 | libsystemd_daemon_la_SOURCES = \ |
1652 | src/sd-daemon.c | |
1653 | ||
1654 | libsystemd_daemon_la_CFLAGS = \ | |
74b91131 | 1655 | $(AM_CFLAGS) \ |
114a50f8 LP |
1656 | -fvisibility=hidden \ |
1657 | -DSD_EXPORT_SYMBOLS | |
74b91131 | 1658 | |
114a50f8 | 1659 | libsystemd_daemon_la_LDFLAGS = \ |
74b91131 | 1660 | -shared \ |
1eae4c45 LP |
1661 | -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \ |
1662 | -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym | |
74b91131 | 1663 | |
ae446765 KS |
1664 | # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed |
1665 | libsystemd-daemon-install-hook: | |
1666 | if test "$(libdir)" != "$(rootlibdir)"; then \ | |
1667 | mkdir -p $(DESTDIR)$(rootlibdir) && \ | |
1668 | so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \ | |
1669 | so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ | |
1670 | ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \ | |
1671 | mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \ | |
1672 | fi | |
1673 | ||
1674 | libsystemd-daemon-uninstall-hook: | |
1675 | rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so* | |
1676 | ||
74b91131 LP |
1677 | libsystemd_login_la_SOURCES = \ |
1678 | src/sd-login.c \ | |
1679 | src/cgroup-util.c | |
1680 | ||
114a50f8 LP |
1681 | libsystemd_login_la_CFLAGS = \ |
1682 | $(AM_CFLAGS) \ | |
1683 | -fvisibility=hidden | |
1684 | ||
1685 | libsystemd_login_la_LDFLAGS = \ | |
1686 | -shared \ | |
1eae4c45 LP |
1687 | -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \ |
1688 | -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym | |
114a50f8 | 1689 | |
74b91131 LP |
1690 | libsystemd_login_la_LIBADD = \ |
1691 | libsystemd-basic.la | |
1692 | ||
9b711536 LP |
1693 | # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed |
1694 | libsystemd-login-install-hook: | |
1695 | if test "$(libdir)" != "$(rootlibdir)"; then \ | |
1696 | mkdir -p $(DESTDIR)$(rootlibdir) && \ | |
1697 | so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \ | |
1698 | so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ | |
1699 | ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \ | |
1700 | mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \ | |
1701 | fi | |
1702 | ||
1703 | libsystemd-login-uninstall-hook: | |
1704 | rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so* | |
1705 | ||
5e6afdd3 | 1706 | SED_PROCESS = \ |
a00e4879 | 1707 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
1136a371 | 1708 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ |
5b754353 KS |
1709 | -e 's,@rootbindir\@,$(rootbindir),g' \ |
1710 | -e 's,@bindir\@,$(bindir),g' \ | |
1136a371 | 1711 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ |
c7b50859 | 1712 | -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ |
8c6db833 LP |
1713 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ |
1714 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
61fbbab8 | 1715 | -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ |
8c6db833 | 1716 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ |
d19c883d | 1717 | -e 's,@userunitdir\@,$(userunitdir),g' \ |
8c6db833 LP |
1718 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ |
1719 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
1720 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
1721 | -e 's,@prefix\@,$(prefix),g' \ | |
74b91131 LP |
1722 | -e 's,@exec_prefix\@,$(exec_prefix),g' \ |
1723 | -e 's,@libdir\@,$(libdir),g' \ | |
1724 | -e 's,@includedir\@,$(includedir),g' \ | |
de47ca9b | 1725 | < $< > $@ || rm $@ |
70fcff31 | 1726 | |
9f2c5942 | 1727 | units/%: units/%.in Makefile |
5e6afdd3 LP |
1728 | $(SED_PROCESS) |
1729 | ||
2a3d6294 | 1730 | man/%: man/%.in Makefile |
5e6afdd3 LP |
1731 | $(SED_PROCESS) |
1732 | ||
8c6db833 LP |
1733 | %.pc: %.pc.in Makefile |
1734 | $(SED_PROCESS) | |
1735 | ||
9356a6c6 | 1736 | src/%.policy.in: src/%.policy.in.in Makefile |
25705583 LP |
1737 | $(SED_PROCESS) |
1738 | ||
0b191e60 LP |
1739 | src/%.rules: src/%.rules.in Makefile |
1740 | $(SED_PROCESS) | |
1741 | ||
f975e971 LP |
1742 | src/%.c: src/%.gperf |
1743 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1744 | $(GPERF) < $< > $@ | |
1745 | ||
1746 | src/%: src/%.m4 | |
1747 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1748 | $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@ | |
1749 | ||
1750 | src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf | |
1751 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1752 | $(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@ || rm $@ | |
1753 | ||
fb1bd35a | 1754 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 1755 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
f975e971 | 1756 | $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@ |
fb1bd35a | 1757 | |
af2d49f7 | 1758 | M4_PROCESS_USER = \ |
a00e4879 | 1759 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
f975e971 | 1760 | $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@ |
5e6afdd3 | 1761 | |
9f2c5942 | 1762 | units/%: units/%.m4 Makefile |
fb1bd35a | 1763 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 1764 | |
af2d49f7 LP |
1765 | units/user/%: units/%.m4 Makefile |
1766 | $(M4_PROCESS_USER) | |
a7b6f8e5 | 1767 | |
c1e1601e | 1768 | CLEANFILES = \ |
6f6083dc | 1769 | $(nodist_systemunit_DATA) \ |
af2d49f7 | 1770 | $(nodist_userunit_DATA) \ |
6f6083dc LP |
1771 | $(nodist_man_MANS) \ |
1772 | ${XML_IN_FILES:.xml.in=.html} \ | |
3eb4d9a2 | 1773 | $(pkgconfigdata_DATA) \ |
6a9bff42 | 1774 | $(pkgconfiglib_DATA) \ |
9356a6c6 | 1775 | $(nodist_polkitpolicy_DATA) \ |
41e4d6e9 | 1776 | src/73-seat-late.rules \ |
6e5c0444 LP |
1777 | src/99-systemd.rules \ |
1778 | src/load-fragment-gperf.gperf \ | |
1779 | src/load-fragment-gperf.c \ | |
1780 | src/load-fragment-gperf-nulstr.c \ | |
1781 | src/logind-gperf.c | |
4697132b | 1782 | |
42e39f0b LP |
1783 | if HAVE_VALAC |
1784 | CLEANFILES += \ | |
6f6083dc | 1785 | ${systemadm_SOURCES:.vala=.c} |
42e39f0b LP |
1786 | endif |
1787 | ||
c3bd7322 | 1788 | if HAVE_XSLTPROC |
c6365917 LP |
1789 | XSLTPROC_FLAGS = \ |
1790 | --nonet \ | |
76318284 | 1791 | --stringparam funcsynopsis.style ansi |
c6365917 | 1792 | |
9f2c5942 | 1793 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 1794 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1795 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
d1ab0ca0 | 1796 | |
9f2c5942 | 1797 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 1798 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1799 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
9f2c5942 LP |
1800 | mv ${@:.in=} $@ |
1801 | ||
1802 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 1803 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
76318284 | 1804 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) man/custom-html.xsl $< |
d1ab0ca0 | 1805 | |
9f2c5942 | 1806 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 1807 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
76318284 | 1808 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) man/custom-html.xsl $< && \ |
9f2c5942 LP |
1809 | mv ${@:.in=} $@ |
1810 | ||
6f6083dc | 1811 | man/%.1: man/%.xml |
f9378423 LP |
1812 | $(XSLTPROC_PROCESS_MAN) |
1813 | ||
6f6083dc | 1814 | man/%.1.in: man/%.xml.in |
f9378423 LP |
1815 | $(XSLTPROC_PROCESS_MAN) |
1816 | ||
6f6083dc | 1817 | man/%.3: man/%.xml |
359957ee LP |
1818 | $(XSLTPROC_PROCESS_MAN) |
1819 | ||
6f6083dc | 1820 | man/%.3.in: man/%.xml.in |
359957ee LP |
1821 | $(XSLTPROC_PROCESS_MAN) |
1822 | ||
9f2c5942 LP |
1823 | man/%.5: man/%.xml |
1824 | $(XSLTPROC_PROCESS_MAN) | |
1825 | ||
1826 | man/%.5.in: man/%.xml.in | |
1827 | $(XSLTPROC_PROCESS_MAN) | |
1828 | ||
1829 | man/%.7: man/%.xml | |
1830 | $(XSLTPROC_PROCESS_MAN) | |
1831 | ||
1832 | man/%.7.in: man/%.xml.in | |
1833 | $(XSLTPROC_PROCESS_MAN_IN) | |
1834 | ||
f9378423 LP |
1835 | man/%.8: man/%.xml |
1836 | $(XSLTPROC_PROCESS_MAN) | |
1837 | ||
1838 | man/%.8.in: man/%.xml.in | |
1839 | $(XSLTPROC_PROCESS_MAN_IN) | |
1840 | ||
9f2c5942 LP |
1841 | man/%.html: man/%.xml |
1842 | $(XSLTPROC_PROCESS_HTML) | |
1843 | ||
1844 | man/%.html.in: man/%.xml.in | |
1845 | $(XSLTPROC_PROCESS_HTML_IN) | |
1846 | ||
d1ab0ca0 LP |
1847 | CLEANFILES += \ |
1848 | $(dist_man_MANS) \ | |
6f6083dc LP |
1849 | ${nodist_man_MANS:=.in} \ |
1850 | ${XML_FILES:.xml=.html} \ | |
1851 | ${XML_IN_FILES:.xml.in=.html.in} | |
c3bd7322 | 1852 | endif |
d1ab0ca0 | 1853 | |
9a60da28 TR |
1854 | DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h |
1855 | ||
4288f619 | 1856 | org.freedesktop.systemd1.%.xml: systemd |
114a50f8 | 1857 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \ |
382a0310 | 1858 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
9a60da28 | 1859 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp |
4288f619 | 1860 | |
91f9dcaf | 1861 | org.freedesktop.hostname1.xml: systemd-hostnamed |
114a50f8 | 1862 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \ |
91f9dcaf LP |
1863 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
1864 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1865 | ||
1866 | org.freedesktop.locale1.xml: systemd-localed | |
114a50f8 | 1867 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \ |
91f9dcaf LP |
1868 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
1869 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1870 | ||
1871 | org.freedesktop.timedate1.xml: systemd-timedated | |
114a50f8 | 1872 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \ |
91f9dcaf LP |
1873 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
1874 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1875 | ||
6f6083dc LP |
1876 | CLEANFILES += \ |
1877 | $(dbusinterface_DATA) | |
4288f619 | 1878 | |
4697132b | 1879 | install-data-hook: |
7ebdfc93 | 1880 | $(MKDIR_P) -m 0755 \ |
5b754353 | 1881 | $(DESTDIR)$(tmpfilesdir) \ |
772f8371 | 1882 | $(DESTDIR)$(sysconfdir)/tmpfiles.d \ |
db1413d7 | 1883 | $(DESTDIR)$(prefix)/lib/modules-load.d \ |
772f8371 | 1884 | $(DESTDIR)$(sysconfdir)/modules-load.d \ |
db1413d7 | 1885 | $(DESTDIR)$(prefix)/lib/sysctl.d \ |
772f8371 | 1886 | $(DESTDIR)$(sysconfdir)/sysctl.d \ |
5b754353 KS |
1887 | $(DESTDIR)$(systemshutdowndir) \ |
1888 | $(DESTDIR)$(systemgeneratordir) \ | |
1889 | $(DESTDIR)$(usergeneratordir) | |
27669061 MV |
1890 | if ENABLE_BINFMT |
1891 | $(MKDIR_P) -m 0755 \ | |
1892 | $(DESTDIR)$(prefix)/lib/binfmt.d \ | |
1893 | $(DESTDIR)$(sysconfdir)/binfmt.d | |
1894 | endif | |
64c1b5bf | 1895 | $(MKDIR_P) -m 0755 \ |
43aa226d | 1896 | $(DESTDIR)$(systemunitdir) \ |
af2d49f7 | 1897 | $(DESTDIR)$(userunitdir) \ |
42eacdad | 1898 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ |
5e6afdd3 | 1899 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
c0a1b6e9 | 1900 | $(DESTDIR)$(systemunitdir)/basic.target.wants \ |
cd6d0a45 | 1901 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ |
65ae3821 | 1902 | $(DESTDIR)$(systemunitdir)/local-fs.target.wants \ |
cd6d0a45 LP |
1903 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ |
1904 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
1905 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
1906 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
1907 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
45cf9716 | 1908 | $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ |
c980a279 | 1909 | $(DESTDIR)$(systemunitdir)/graphical.target.wants \ |
64c1b5bf | 1910 | $(DESTDIR)$(pkgsysconfdir)/system \ |
42eacdad | 1911 | $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \ |
980d8750 | 1912 | $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ |
5e6afdd3 | 1913 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ |
980d8750 | 1914 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
af2d49f7 | 1915 | $(DESTDIR)$(pkgsysconfdir)/user \ |
e4c1d706 | 1916 | $(DESTDIR)$(dbussessionservicedir) \ |
e82e442b | 1917 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
e9da3678 | 1918 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
af2d49f7 LP |
1919 | rm -f user && \ |
1920 | $(LN_S) $(pkgsysconfdir)/user user ) | |
5e6afdd3 | 1921 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ |
346bce1f LP |
1922 | rm -f systemd-initctl.socket systemd-stdout-syslog-bridge.socket systemd-shutdownd.socket syslog.socket && \ |
1923 | $(LN_S) ../systemd-stdout-syslog-bridge.socket systemd-stdout-syslog-bridge.socket && \ | |
a145090c | 1924 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ |
52f319b2 LP |
1925 | $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ |
1926 | $(LN_S) ../syslog.socket syslog.socket ) | |
cd6d0a45 LP |
1927 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ |
1928 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1929 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1930 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ |
1931 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1932 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1933 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ |
1934 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1935 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1936 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ |
1937 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1938 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1939 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ |
1940 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1941 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 | 1942 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ |
d3f09cf3 KS |
1943 | rm -f systemd-update-utmp-shutdown.service \ |
1944 | systemd-random-seed-save.service && \ | |
45cf9716 | 1945 | $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \ |
45cf9716 | 1946 | $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) |
65ae3821 | 1947 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ |
c0a1b6e9 | 1948 | rm -f systemd-remount-api-vfs.service \ |
980d8750 | 1949 | fsck-root.service \ |
c0a1b6e9 LP |
1950 | remount-rootfs.service \ |
1951 | var-run.mount \ | |
c4b5a3d6 | 1952 | media.mount && \ |
c0a1b6e9 | 1953 | $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ |
980d8750 | 1954 | $(LN_S) ../fsck-root.service fsck-root.service && \ |
c0a1b6e9 LP |
1955 | $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ |
1956 | $(LN_S) ../var-run.mount var-run.mount && \ | |
c4b5a3d6 | 1957 | $(LN_S) ../media.mount media.mount ) |
af2d49f7 | 1958 | ( cd $(DESTDIR)$(userunitdir) && \ |
835c60f5 | 1959 | rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \ |
8c4a3079 LP |
1960 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ |
1961 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
da78e1b4 | 1962 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ |
88dfa293 LP |
1963 | $(LN_S) $(systemunitdir)/printer.target printer.target && \ |
1964 | $(LN_S) $(systemunitdir)/sound.target sound.target ) | |
5e6afdd3 | 1965 | ( cd $(DESTDIR)$(systemunitdir) && \ |
c88f64bd | 1966 | rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \ |
5e6afdd3 LP |
1967 | $(LN_S) poweroff.target runlevel0.target && \ |
1968 | $(LN_S) rescue.target runlevel1.target && \ | |
c88f64bd LP |
1969 | $(LN_S) multi-user.target runlevel2.target && \ |
1970 | $(LN_S) multi-user.target runlevel3.target && \ | |
1971 | $(LN_S) multi-user.target runlevel4.target && \ | |
1972 | $(LN_S) graphical.target runlevel5.target && \ | |
5e6afdd3 | 1973 | $(LN_S) reboot.target runlevel6.target ) |
45cf9716 | 1974 | ( cd $(DESTDIR)$(systemunitdir) && \ |
4cd1eaa5 | 1975 | rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.login1.service autovt@.service && \ |
45cf9716 | 1976 | $(LN_S) graphical.target default.target && \ |
7640a5de | 1977 | $(LN_S) reboot.target ctrl-alt-del.target && \ |
d0a522eb | 1978 | $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \ |
cd9e5d0a | 1979 | $(LN_S) getty@.service autovt@.service ) |
3e24da51 | 1980 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
d0a522eb | 1981 | rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \ |
447be155 | 1982 | $(LN_S) ../getty.target getty.target && \ |
306a7fd8 | 1983 | $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ |
d0a522eb LP |
1984 | $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \ |
1985 | $(LN_S) ../systemd-logind.service systemd-logind.service ) | |
5e6afdd3 | 1986 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ |
d0a522eb LP |
1987 | rm -f getty@tty1.service && \ |
1988 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service ) | |
5e6afdd3 | 1989 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ |
3e24da51 | 1990 | rm -f remote-fs.target && \ |
f92a18f5 | 1991 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) |
42eacdad | 1992 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
ac0a983a | 1993 | rm -f dev-hugepages.mount \ |
1f2c94a4 | 1994 | dev-mqueue.mount \ |
0286cc15 | 1995 | sys-kernel-config.mount \ |
e124e7a4 | 1996 | sys-kernel-debug.mount \ |
77f81d8b | 1997 | sys-kernel-security.mount \ |
7ef5875d | 1998 | sys-fs-fuse-connections.mount \ |
d3f09cf3 KS |
1999 | systemd-vconsole-setup.service \ |
2000 | systemd-modules-load.service \ | |
2001 | systemd-random-seed-load.service \ | |
3b63d2d3 | 2002 | systemd-tmpfiles-setup.service \ |
8e1bd70d | 2003 | systemd-sysctl.service \ |
63c862b0 | 2004 | systemd-ask-password-console.path \ |
b670e92b | 2005 | systemd-kmsg-syslogd.service \ |
63c862b0 | 2006 | cryptsetup.target && \ |
ac0a983a | 2007 | $(LN_S) ../dev-hugepages.mount dev-hugepages.mount && \ |
1f2c94a4 | 2008 | $(LN_S) ../dev-mqueue.mount dev-mqueue.mount && \ |
0286cc15 | 2009 | $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \ |
e124e7a4 | 2010 | $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \ |
77f81d8b | 2011 | $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \ |
7ef5875d | 2012 | $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \ |
45cf9716 KS |
2013 | $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ |
2014 | $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ | |
2015 | $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ | |
3b63d2d3 | 2016 | $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ |
8e1bd70d | 2017 | $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \ |
63c862b0 | 2018 | $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \ |
b670e92b | 2019 | $(LN_S) ../systemd-kmsg-syslogd.service && \ |
63c862b0 | 2020 | $(LN_S) ../cryptsetup.target cryptsetup.target ) |
27669061 MV |
2021 | if ENABLE_BINFMT |
2022 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ | |
2023 | rm -f systemd-binfmt.service \ | |
2024 | proc-sys-fs-binfmt_misc.automount && \ | |
2025 | $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \ | |
2026 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount ) | |
b2e9fb99 MV |
2027 | endif |
2028 | if ENABLE_HOSTNAMED | |
2029 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
2030 | rm -f dbus-org.freedesktop.hostname1.service && \ | |
2031 | $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service ) | |
f47cd184 MV |
2032 | endif |
2033 | if ENABLE_TIMEDATED | |
2034 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
2035 | rm -f dbus-org.freedesktop.timedate1.service && \ | |
2036 | $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service ) | |
4cd1eaa5 MV |
2037 | endif |
2038 | if ENABLE_LOCALED | |
2039 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
2040 | rm -f dbus-org.freedesktop.locale1.service && \ | |
2041 | $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service ) | |
27669061 | 2042 | endif |
42eacdad LP |
2043 | ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ |
2044 | rm -f systemd-tmpfiles-clean.timer && \ | |
3b63d2d3 | 2045 | $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) |
d122948d LP |
2046 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ |
2047 | rm -f org.freedesktop.systemd1.service && \ | |
2048 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
cd3f8b7d | 2049 | if HAVE_PLYMOUTH |
a3723b97 | 2050 | $(MKDIR_P) -m 0755 \ |
f057408c | 2051 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ |
3cc144eb | 2052 | $(DESTDIR)$(systemunitdir)/reboot.target.wants \ |
42eacdad | 2053 | $(DESTDIR)$(systemunitdir)/kexec.target.wants \ |
3cc144eb | 2054 | $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ |
cd3f8b7d | 2055 | $(DESTDIR)$(systemunitdir)/halt.target.wants |
42eacdad | 2056 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
8cf3a8a9 | 2057 | rm -f plymouth-start.service plymouth-read-write.service && \ |
42eacdad | 2058 | $(LN_S) ../plymouth-start.service plymouth-start.service && \ |
8cf3a8a9 | 2059 | $(LN_S) ../plymouth-read-write.service plymouth-read-write.service ) |
198b625b | 2060 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
aa2e2115 LP |
2061 | rm -f plymouth-quit.service plymouth-quit-wait.service && \ |
2062 | $(LN_S) ../plymouth-quit.service plymouth-quit.service && \ | |
2063 | $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service ) | |
3cc144eb | 2064 | ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ |
0278dfeb | 2065 | rm -f plymouth-reboot.service && \ |
3cc144eb | 2066 | $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) |
42eacdad LP |
2067 | ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \ |
2068 | rm -f plymouth-kexec.service && \ | |
2069 | $(LN_S) ../plymouth-kexec.service plymouth-kexec.service ) | |
3cc144eb | 2070 | ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \ |
0278dfeb | 2071 | rm -f plymouth-poweroff.service && \ |
3cc144eb LP |
2072 | $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service ) |
2073 | ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \ | |
0278dfeb | 2074 | rm -f plymouth-halt.service && \ |
3cc144eb | 2075 | $(LN_S) ../plymouth-halt.service plymouth-halt.service ) |
cd3f8b7d | 2076 | endif |
54e4fdef CF |
2077 | if TARGET_MEEGO |
2078 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
2079 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
2080 | rm -f network.target && \ | |
2081 | $(LN_S) $(systemunitdir)/network.target network.target ) | |
2082 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \ | |
2083 | rm -f * ) | |
2084 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \ | |
2085 | rm -f * ) | |
2086 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ | |
2087 | rm -f * ) | |
2088 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ | |
2089 | rm -f * ) | |
2090 | endif | |
cd3f8b7d JM |
2091 | |
2092 | if TARGET_FEDORA | |
2093 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
2094 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
2095 | rm -f rc-local.service && \ | |
2096 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
2097 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
2098 | rm -f halt-local.service && \ | |
2099 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
5e6afdd3 | 2100 | ( cd $(DESTDIR)$(systemunitdir) && \ |
b1c66c44 LP |
2101 | rm -f display-manager.service single.service && \ |
2102 | $(LN_S) prefdm.service display-manager.service && \ | |
5b754353 | 2103 | $(LN_S) rescue.service single.service ) |
6b2a56f0 | 2104 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
42eacdad LP |
2105 | rm -f display-manager.service && \ |
2106 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
f306f4c4 | 2107 | endif |
1de4d79b AB |
2108 | |
2109 | if TARGET_MANDRIVA | |
2110 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
2111 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
2112 | rm -f rc-local.service && \ | |
2113 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
2114 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
2115 | rm -f halt-local.service && \ | |
2116 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
2117 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
8c944383 | 2118 | rm -f display-manager.service dm.service single.service && \ |
b1c66c44 | 2119 | $(LN_S) prefdm.service display-manager.service && \ |
8c944383 | 2120 | $(LN_S) prefdm.service dm.service && \ |
5b754353 | 2121 | $(LN_S) rescue.service single.service ) |
1de4d79b AB |
2122 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
2123 | rm -f display-manager.service && \ | |
2124 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
2125 | endif | |
2126 | ||
858dae18 | 2127 | if TARGET_DEBIAN_OR_UBUNTU |
e082d6c8 MB |
2128 | ( cd $(DESTDIR)$(systemunitdir) && \ |
2129 | rm -f runlevel5.target && \ | |
2130 | $(LN_S) multi-user.target runlevel5.target ) | |
a5dc0a45 | 2131 | endif |
5e6afdd3 | 2132 | |
a268a6a3 FC |
2133 | if TARGET_SUSE |
2134 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
2135 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
2136 | rm -f rc-local.service && \ | |
2137 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
2138 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
2139 | rm -f local.service && \ | |
2140 | $(LN_S) rc-local.service local.service ) | |
2141 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
2142 | rm -f halt-local.service && \ | |
2143 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
2144 | endif | |
2145 | ||
6fdae8a6 DM |
2146 | if TARGET_MAGEIA |
2147 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
2148 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
2149 | rm -f rc-local.service && \ | |
2150 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
2151 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
2152 | rm -f halt-local.service && \ | |
2153 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
2154 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
2155 | rm -f display-manager.service && \ | |
2156 | $(LN_S) prefdm.service display-manager.service && \ | |
2157 | $(LN_S) prefdm.service dm.service ) | |
2158 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ | |
2159 | rm -f display-manager.service && \ | |
2160 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
2161 | endif | |
2162 | ||
f80781ea LP |
2163 | if HAVE_SYSV_COMPAT |
2164 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ | |
2165 | rm -f var-lock.mount && \ | |
2166 | $(LN_S) ../var-lock.mount var-lock.mount ) | |
2167 | endif | |
2168 | ||
9b711536 | 2169 | install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook |
ae446765 | 2170 | |
9b711536 | 2171 | uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook |
ae446765 | 2172 | |
d1ab0ca0 | 2173 | DISTCHECK_CONFIGURE_FLAGS = \ |
d2d12cd1 LP |
2174 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |
2175 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
2176 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
2177 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
8c4a3079 | 2178 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
8c6db833 | 2179 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ |
8c4a3079 | 2180 | --with-rootdir=$$dc_install_base/$(rootdir) |
a45f61d7 LP |
2181 | |
2182 | upload: all distcheck | |
53eff0c7 | 2183 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/ |
a45f61d7 LP |
2184 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ |
2185 | scp man/*.html tango:public/systemd-man/ | |
2186 | ||
2187 | git-tag: | |
2188 | git tag "v$(VERSION)" -m "systemd $(VERSION)" | |
fb9de93d LP |
2189 | |
2190 | update-kbd-model-map: | |
2191 | src/generate-kbd-model-map > src/kbd-model-map |