]>
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 | ||
8c4a3079 | 20 | # Dirs of external packages |
d122948d LP |
21 | dbuspolicydir=@dbuspolicydir@ |
22 | dbussessionservicedir=@dbussessionservicedir@ | |
23 | dbussystemservicedir=@dbussystemservicedir@ | |
24 | dbusinterfacedir=@dbusinterfacedir@ | |
d1ab0ca0 | 25 | udevrulesdir=@udevrulesdir@ |
8c6db833 LP |
26 | pamlibdir=@pamlibdir@ |
27 | pkgconfigdatadir=$(datadir)/pkgconfig | |
490aed58 | 28 | polkitpolicydir=$(datadir)/polkit-1/actions |
036643a2 | 29 | |
8c4a3079 | 30 | # Our own, non-special dirs |
d1ab0ca0 | 31 | pkgsysconfdir=$(sysconfdir)/systemd |
d1ab0ca0 | 32 | sessionunitdir=$(pkgdatadir)/session |
34c8deaa | 33 | tmpfilesdir=$(sysconfdir)/tmpfiles.d |
8c4a3079 LP |
34 | |
35 | # And these are the special ones for / | |
36 | rootdir=@rootdir@ | |
8c4a3079 | 37 | rootbindir=$(rootdir)/bin |
b1b2a107 | 38 | rootsbindir=$(rootdir)/sbin |
8c4a3079 LP |
39 | rootlibexecdir=$(rootdir)/lib/systemd |
40 | systemunitdir=$(rootdir)/lib/systemd/system | |
70fcff31 | 41 | |
47be870b | 42 | AM_CPPFLAGS = \ |
d3f09cf3 | 43 | -include $(top_builddir)/config.h \ |
487393e9 | 44 | -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \ |
036643a2 | 45 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ |
70fcff31 | 46 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ |
0571e011 | 47 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ |
061978fa | 48 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ |
487393e9 | 49 | -DSESSION_CONFIG_FILE=\"$(pkgsysconfdir)/session.conf\" \ |
036643a2 | 50 | -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \ |
70fcff31 | 51 | -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \ |
8c4a3079 | 52 | -DCGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ |
f401faf5 | 53 | -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ |
b1b2a107 | 54 | -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ |
2cb1a60d | 55 | -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ |
501fc174 | 56 | -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ |
8c6db833 | 57 | -DRUNTIME_DIR=\"$(localstatedir)/run\" \ |
ca2cab5d | 58 | -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ |
501fc174 | 59 | -DKEXEC_BINARY_PATH=\"/sbin/kexec\" \ |
e99e38bb | 60 | -I $(top_srcdir)/src |
47be870b | 61 | |
9841e8e3 GSB |
62 | if TARGET_GENTOO |
63 | AM_CPPFLAGS += \ | |
64 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
65 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
66 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
67 | else | |
c226fa41 LDM |
68 | if TARGET_ARCH |
69 | AM_CPPFLAGS += \ | |
70 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
71 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
72 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
73 | else | |
9841e8e3 GSB |
74 | AM_CPPFLAGS += \ |
75 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
76 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
77 | -DDEFAULT_FONT=\"latarcyrheb-sun16\" | |
78 | endif | |
c226fa41 | 79 | endif |
9841e8e3 | 80 | |
8c4a3079 | 81 | rootbin_PROGRAMS = \ |
134dc482 | 82 | systemd \ |
4a2a8b5a | 83 | systemctl \ |
490aed58 | 84 | systemd-notify \ |
ec863ba6 LP |
85 | systemd-ask-password \ |
86 | systemd-tty-ask-password-agent | |
a9b5b032 | 87 | |
8c4a3079 | 88 | bin_PROGRAMS = \ |
fa776d8e | 89 | systemd-cgls |
10e87ee7 LP |
90 | |
91 | if HAVE_GTK | |
92 | bin_PROGRAMS += \ | |
490aed58 | 93 | systemadm \ |
d674a4ab | 94 | systemd-gnome-ask-password-agent |
a9b5b032 | 95 | endif |
8e274523 | 96 | |
8c4a3079 | 97 | rootlibexec_PROGRAMS = \ |
8e274523 | 98 | systemd-logger \ |
0b7964b8 | 99 | systemd-cgroups-agent \ |
4927fcae | 100 | systemd-initctl \ |
ca2cab5d | 101 | systemd-update-utmp \ |
f6144808 | 102 | systemd-random-seed \ |
5192bd19 | 103 | systemd-shutdownd \ |
b1b2a107 | 104 | systemd-shutdown \ |
449ddb2d | 105 | systemd-modules-load \ |
addab137 | 106 | systemd-remount-api-vfs \ |
97c4a07d | 107 | systemd-kmsg-syslogd \ |
490aed58 | 108 | systemd-vconsole-setup \ |
22be093f LP |
109 | systemd-reply-password \ |
110 | systemd-readahead-collect \ | |
5008d581 | 111 | systemd-readahead-replay \ |
e9278741 | 112 | systemd-tmpfiles \ |
3d20ed6d LP |
113 | systemd-user-sessions \ |
114 | systemd-fsck \ | |
115 | systemd-quotacheck | |
47be870b LP |
116 | |
117 | noinst_PROGRAMS = \ | |
118 | test-engine \ | |
15ae422b | 119 | test-job-type \ |
af5bc85d | 120 | test-ns \ |
8c47c732 | 121 | test-loopback \ |
e5907703 | 122 | test-hostname \ |
8c6db833 | 123 | test-daemon \ |
c24eb49e LP |
124 | test-cgroup \ |
125 | test-env-replace | |
8c6db833 LP |
126 | |
127 | if HAVE_PAM | |
128 | pamlib_LTLIBRARIES = \ | |
129 | pam_systemd.la | |
130 | endif | |
47be870b | 131 | |
487393e9 LP |
132 | dist_pkgsysconf_DATA = \ |
133 | src/system.conf | |
134 | ||
d1ab0ca0 | 135 | dist_dbuspolicy_DATA = \ |
dfac97b2 | 136 | src/org.freedesktop.systemd1.conf |
e24067c3 | 137 | |
d122948d LP |
138 | dist_dbussystemservice_DATA = \ |
139 | src/org.freedesktop.systemd1.service | |
140 | ||
d1ab0ca0 | 141 | dist_udevrules_DATA = \ |
dfac97b2 | 142 | src/99-systemd.rules |
5cc5d790 | 143 | |
d122948d | 144 | dbusinterface_DATA = \ |
4288f619 LP |
145 | org.freedesktop.systemd1.Manager.xml \ |
146 | org.freedesktop.systemd1.Job.xml \ | |
147 | org.freedesktop.systemd1.Unit.xml \ | |
148 | org.freedesktop.systemd1.Service.xml \ | |
149 | org.freedesktop.systemd1.Socket.xml \ | |
871d7de4 | 150 | org.freedesktop.systemd1.Timer.xml \ |
4288f619 LP |
151 | org.freedesktop.systemd1.Target.xml \ |
152 | org.freedesktop.systemd1.Device.xml \ | |
153 | org.freedesktop.systemd1.Mount.xml \ | |
154 | org.freedesktop.systemd1.Automount.xml \ | |
155 | org.freedesktop.systemd1.Snapshot.xml \ | |
01f78473 LP |
156 | org.freedesktop.systemd1.Swap.xml \ |
157 | org.freedesktop.systemd1.Path.xml | |
4288f619 | 158 | |
34c8deaa LP |
159 | dist_tmpfiles_DATA = \ |
160 | tmpfiles.d/systemd.conf \ | |
161 | tmpfiles.d/x11.conf | |
162 | ||
d1ab0ca0 | 163 | dist_systemunit_DATA = \ |
70fcff31 | 164 | units/emergency.service \ |
f057408c | 165 | units/emergency.target \ |
de47ca9b | 166 | units/sysinit.target \ |
f92a18f5 | 167 | units/basic.target \ |
5e6afdd3 LP |
168 | units/getty.target \ |
169 | units/halt.target \ | |
85ed27f6 | 170 | units/kexec.target \ |
70449379 LP |
171 | units/local-fs.target \ |
172 | units/network.target \ | |
173 | units/nss-lookup.target \ | |
683f468c | 174 | units/mail-transfer-agent.target \ |
a2ff477f | 175 | units/http-daemon.target \ |
5e6afdd3 LP |
176 | units/poweroff.target \ |
177 | units/reboot.target \ | |
5e6afdd3 | 178 | units/rescue.target \ |
f0b02ca2 | 179 | units/rpcbind.target \ |
70449379 LP |
180 | units/rtc-set.target \ |
181 | units/shutdown.target \ | |
9aac953a | 182 | units/final.target \ |
4e67ddd6 | 183 | units/umount.target \ |
70449379 LP |
184 | units/sigpwr.target \ |
185 | units/sockets.target \ | |
186 | units/swap.target \ | |
83bda358 | 187 | units/dbus.target \ |
70fcff31 | 188 | units/systemd-initctl.socket \ |
670802d4 | 189 | units/systemd-logger.socket \ |
f6144808 | 190 | units/systemd-shutdownd.socket \ |
52f319b2 | 191 | units/syslog.socket \ |
670802d4 LP |
192 | units/dev-hugepages.automount \ |
193 | units/dev-hugepages.mount \ | |
194 | units/dev-mqueue.automount \ | |
195 | units/dev-mqueue.mount \ | |
196 | units/proc-sys-fs-binfmt_misc.automount \ | |
197 | units/proc-sys-fs-binfmt_misc.mount \ | |
198 | units/sys-kernel-debug.automount \ | |
199 | units/sys-kernel-debug.mount \ | |
6d526de2 LP |
200 | units/sys-kernel-security.automount \ |
201 | units/sys-kernel-security.mount \ | |
b54dd8b7 | 202 | units/tmp.mount \ |
6d526de2 | 203 | units/var-lock.mount \ |
da78e1b4 | 204 | units/var-run.mount \ |
5481ab2b | 205 | units/hwclock-load.service \ |
f556ea46 LP |
206 | units/hwclock-save.service \ |
207 | units/sysctl.service \ | |
90685f7d | 208 | units/remount-rootfs.service \ |
da78e1b4 | 209 | units/printer.target \ |
ceda54d9 | 210 | units/bluetooth.target \ |
b15124f1 | 211 | units/smartcard.target \ |
3b63d2d3 | 212 | units/systemd-readahead-done.timer \ |
a9e1f5ec | 213 | units/systemd-tmpfiles-clean.timer \ |
306a7fd8 | 214 | units/quotaon.service \ |
e0e1580a LP |
215 | units/systemd-ask-password-wall.path \ |
216 | units/systemd-ask-password-plymouth.path | |
70fcff31 | 217 | |
6f6083dc | 218 | nodist_systemunit_DATA = \ |
5e6afdd3 | 219 | units/getty@.service \ |
93a45c56 | 220 | units/serial-getty@.service \ |
5e6afdd3 | 221 | units/graphical.target \ |
6f6083dc | 222 | units/remote-fs.target \ |
5e6afdd3 | 223 | units/multi-user.target \ |
dfac97b2 | 224 | units/systemd-initctl.service \ |
a7b6f8e5 | 225 | units/systemd-logger.service \ |
f6144808 | 226 | units/systemd-shutdownd.service \ |
addab137 | 227 | units/systemd-kmsg-syslogd.service \ |
b2423f1f | 228 | units/systemd-modules-load.service \ |
97c4a07d | 229 | units/systemd-vconsole-setup.service \ |
449ddb2d | 230 | units/systemd-remount-api-vfs.service \ |
cd6d0a45 LP |
231 | units/systemd-update-utmp-runlevel.service \ |
232 | units/systemd-update-utmp-shutdown.service \ | |
ca2cab5d LP |
233 | units/systemd-random-seed-save.service \ |
234 | units/systemd-random-seed-load.service \ | |
4bb2357f LP |
235 | units/systemd-readahead-collect.service \ |
236 | units/systemd-readahead-replay.service \ | |
c7b50859 | 237 | units/systemd-readahead-done.service \ |
3b63d2d3 LP |
238 | units/systemd-tmpfiles-setup.service \ |
239 | units/systemd-tmpfiles-clean.service \ | |
447be155 | 240 | units/systemd-user-sessions.service \ |
306a7fd8 | 241 | units/systemd-ask-password-wall.service \ |
e0e1580a | 242 | units/systemd-ask-password-plymouth.service \ |
85ed27f6 | 243 | units/syslog.target \ |
46574a5b LP |
244 | units/halt.service \ |
245 | units/poweroff.service \ | |
246 | units/reboot.service \ | |
a9e1f5ec LP |
247 | units/kexec.service \ |
248 | units/fsck@.service \ | |
335aa753 | 249 | units/fsck-root.service \ |
de47ca9b LP |
250 | units/quotacheck.service \ |
251 | units/rescue.service | |
d1ab0ca0 | 252 | |
0d26c910 | 253 | dist_sessionunit_DATA = \ |
85ed27f6 LP |
254 | units/session/default.target \ |
255 | units/session/exit.target | |
0d26c910 | 256 | |
6f6083dc | 257 | nodist_sessionunit_DATA = \ |
a1b256b0 LP |
258 | units/session/remote-fs.target \ |
259 | units/session/exit.service | |
fb1bd35a | 260 | |
e24067c3 | 261 | EXTRA_DIST = \ |
5e6afdd3 | 262 | units/getty@.service.m4 \ |
93a45c56 | 263 | units/serial-getty@.service.m4 \ |
5e6afdd3 LP |
264 | units/graphical.target.m4 \ |
265 | units/multi-user.target.m4 \ | |
705dbf3a | 266 | units/remote-fs.target.m4 \ |
de47ca9b | 267 | units/rescue.service.m4 \ |
70fcff31 | 268 | units/systemd-initctl.service.in \ |
70fcff31 | 269 | units/systemd-logger.service.in \ |
f6144808 | 270 | units/systemd-shutdownd.service.in \ |
addab137 | 271 | units/systemd-kmsg-syslogd.service.in \ |
b2423f1f | 272 | units/systemd-modules-load.service.in \ |
97c4a07d | 273 | units/systemd-vconsole-setup.service.in \ |
449ddb2d | 274 | units/systemd-remount-api-vfs.service.in \ |
cd6d0a45 LP |
275 | units/systemd-update-utmp-runlevel.service.in \ |
276 | units/systemd-update-utmp-shutdown.service.in \ | |
ca2cab5d LP |
277 | units/systemd-random-seed-save.service.in \ |
278 | units/systemd-random-seed-load.service.in \ | |
4bb2357f LP |
279 | units/systemd-readahead-collect.service.in \ |
280 | units/systemd-readahead-replay.service.in \ | |
c7b50859 | 281 | units/systemd-readahead-done.service.in \ |
3b63d2d3 LP |
282 | units/systemd-tmpfiles-setup.service.in \ |
283 | units/systemd-tmpfiles-clean.service.in \ | |
447be155 | 284 | units/systemd-user-sessions.service.in \ |
306a7fd8 | 285 | units/systemd-ask-password-wall.service.in \ |
e0e1580a | 286 | units/systemd-ask-password-plymouth.service.in \ |
a7b6f8e5 | 287 | units/syslog.target.in \ |
46574a5b LP |
288 | units/halt.service.in \ |
289 | units/poweroff.service.in \ | |
290 | units/reboot.service.in \ | |
85ed27f6 | 291 | units/kexec.service.in \ |
a1b256b0 | 292 | units/session/exit.service.in \ |
a9e1f5ec LP |
293 | units/fsck@.service.in \ |
294 | units/fsck-root.service.in \ | |
335aa753 | 295 | units/quotacheck.service.in \ |
64ca679e | 296 | systemd.pc.in |
e24067c3 | 297 | |
5e6afdd3 LP |
298 | if TARGET_FEDORA |
299 | dist_systemunit_DATA += \ | |
5e6afdd3 LP |
300 | units/fedora/prefdm.service \ |
301 | units/fedora/rc-local.service \ | |
ddd941ed | 302 | units/fedora/halt-local.service \ |
42eacdad | 303 | units/fedora/plymouth-start.service \ |
1310609b | 304 | units/fedora/plymouth-quit.service \ |
0278dfeb | 305 | units/fedora/plymouth-reboot.service \ |
42eacdad | 306 | units/fedora/plymouth-kexec.service \ |
0278dfeb LP |
307 | units/fedora/plymouth-poweroff.service \ |
308 | units/fedora/plymouth-halt.service | |
5e6afdd3 LP |
309 | endif |
310 | ||
858dae18 | 311 | if TARGET_DEBIAN_OR_UBUNTU |
ad206afc | 312 | dist_systemunit_DATA += \ |
a5dc0a45 MB |
313 | units/debian/umountfs.service \ |
314 | units/debian/umountnfs.service \ | |
315 | units/debian/umountroot.service | |
ad206afc MB |
316 | endif |
317 | ||
ea2d9ed4 MAP |
318 | if TARGET_GENTOO |
319 | dist_systemunit_DATA += \ | |
ea2d9ed4 MAP |
320 | units/gentoo/xdm.service |
321 | endif | |
322 | ||
1ebdf2d8 TG |
323 | if TARGET_ARCH |
324 | dist_systemunit_DATA += \ | |
46574a5b | 325 | units/arch/rc-local.service |
1ebdf2d8 TG |
326 | endif |
327 | ||
240a3a85 LP |
328 | dist_doc_DATA = \ |
329 | README \ | |
795750ca LP |
330 | LICENSE \ |
331 | DISTRO_PORTING \ | |
240a3a85 | 332 | src/sd-daemon.h \ |
d0b48809 LP |
333 | src/sd-daemon.c \ |
334 | src/sd-readahead.h \ | |
335 | src/sd-readahead.c | |
240a3a85 | 336 | |
8c6db833 LP |
337 | pkgconfigdata_DATA = \ |
338 | systemd.pc | |
339 | ||
490aed58 LP |
340 | dist_polkitpolicy_DATA = \ |
341 | src/org.freedesktop.systemd1.policy | |
342 | ||
139be57d LP |
343 | noinst_LTLIBRARIES = \ |
344 | libsystemd-basic.la \ | |
345 | libsystemd-core.la | |
346 | ||
139be57d | 347 | libsystemd_basic_la_SOURCES = \ |
d3f09cf3 | 348 | src/util.c \ |
e51bc1a2 | 349 | src/label.c \ |
d3f09cf3 KS |
350 | src/hashmap.c \ |
351 | src/set.c \ | |
352 | src/strv.c \ | |
353 | src/conf-parser.c \ | |
354 | src/socket-util.c \ | |
355 | src/log.c \ | |
356 | src/ratelimit.c | |
47be870b | 357 | |
4927fcae LP |
358 | libsystemd_basic_la_CFLAGS = \ |
359 | $(AM_CFLAGS) \ | |
360 | $(SELINUX_CFLAGS) | |
361 | ||
362 | libsystemd_basic_la_LIBADD = \ | |
363 | $(SELINUX_LIBS) | |
364 | ||
139be57d | 365 | libsystemd_core_la_SOURCES = \ |
e99e38bb | 366 | src/unit.c \ |
d3f09cf3 KS |
367 | src/job.c \ |
368 | src/manager.c \ | |
84e3543e | 369 | src/path-lookup.c \ |
d3f09cf3 KS |
370 | src/load-fragment.c \ |
371 | src/service.c \ | |
372 | src/automount.c \ | |
373 | src/mount.c \ | |
374 | src/swap.c \ | |
375 | src/device.c \ | |
376 | src/target.c \ | |
377 | src/snapshot.c \ | |
378 | src/socket.c \ | |
379 | src/timer.c \ | |
01f78473 | 380 | src/path.c \ |
d3f09cf3 KS |
381 | src/load-dropin.c \ |
382 | src/execute.c \ | |
169c1bda | 383 | src/utmp-wtmp.c \ |
d06dacd0 | 384 | src/exit-status.c \ |
d3f09cf3 KS |
385 | src/dbus.c \ |
386 | src/dbus-manager.c \ | |
387 | src/dbus-unit.c \ | |
388 | src/dbus-job.c \ | |
e99e38bb LP |
389 | src/dbus-service.c \ |
390 | src/dbus-socket.c \ | |
871d7de4 | 391 | src/dbus-timer.c \ |
e99e38bb LP |
392 | src/dbus-target.c \ |
393 | src/dbus-mount.c \ | |
394 | src/dbus-automount.c \ | |
395 | src/dbus-swap.c \ | |
396 | src/dbus-snapshot.c \ | |
397 | src/dbus-device.c \ | |
398 | src/dbus-execute.c \ | |
01f78473 | 399 | src/dbus-path.c \ |
e99e38bb LP |
400 | src/cgroup.c \ |
401 | src/mount-setup.c \ | |
402 | src/hostname-setup.c \ | |
c4dcdb9f | 403 | src/selinux-setup.c \ |
e99e38bb | 404 | src/loopback-setup.c \ |
11c3a4ee | 405 | src/kmod-setup.c \ |
72bca11b | 406 | src/locale-setup.c \ |
e99e38bb LP |
407 | src/specifier.c \ |
408 | src/unit-name.c \ | |
409 | src/fdset.c \ | |
0213c3f8 | 410 | src/namespace.c \ |
8c6db833 | 411 | src/tcpwrap.c \ |
52661efd LP |
412 | src/cgroup-util.c \ |
413 | src/condition.c | |
47be870b | 414 | |
139be57d LP |
415 | libsystemd_core_la_CFLAGS = \ |
416 | $(AM_CFLAGS) \ | |
417 | $(DBUS_CFLAGS) \ | |
4927fcae LP |
418 | $(UDEV_CFLAGS) \ |
419 | $(LIBWRAP_CFLAGS) \ | |
420 | $(PAM_CFLAGS) \ | |
421 | $(AUDIT_CFLAGS) | |
139be57d LP |
422 | |
423 | libsystemd_core_la_LIBADD = \ | |
424 | libsystemd-basic.la \ | |
425 | $(DBUS_LIBS) \ | |
426 | $(UDEV_LIBS) \ | |
139be57d | 427 | $(LIBWRAP_LIBS) \ |
7a58bfa4 | 428 | $(PAM_LIBS) \ |
4927fcae | 429 | $(AUDIT_LIBS) |
139be57d | 430 | |
9a1ac7b9 LP |
431 | # This is needed because automake is buggy in how it generates the |
432 | # rules for C programs, but not Vala programs. We therefore can't | |
433 | # list the .h files as dependencies if we want make dist to work. | |
434 | ||
462b33e9 | 435 | EXTRA_DIST += \ |
139be57d LP |
436 | ${libsystemd_basic_la_SOURCES:.c=.h} \ |
437 | ${libsystemd_core_la_SOURCES:.c=.h} \ | |
e99e38bb LP |
438 | src/macro.h \ |
439 | src/ioprio.h \ | |
440 | src/missing.h \ | |
441 | src/list.h \ | |
442 | src/securebits.h \ | |
443 | src/linux/auto_dev-ioctl.h \ | |
30b89475 | 444 | src/linux/fanotify.h \ |
e99e38bb | 445 | src/initreq.h \ |
514f4ef5 | 446 | src/sd-daemon.h \ |
d0b48809 | 447 | src/sd-readahead.h \ |
9a1ac7b9 | 448 | src/special.h \ |
398ef8ba | 449 | src/dbus-common.h \ |
ab35fb1b | 450 | src/bus-errors.h \ |
cd6d0a45 | 451 | src/cgroup-show.h \ |
f6144808 | 452 | src/build.h \ |
30b89475 | 453 | src/shutdownd.h \ |
26e190cf | 454 | src/umount.h \ |
30b89475 | 455 | src/readahead-common.h |
6f6083dc LP |
456 | |
457 | MANPAGES = \ | |
160cd5c9 | 458 | man/systemd.1 \ |
6f6083dc LP |
459 | man/systemctl.1 \ |
460 | man/systemadm.1 \ | |
fa776d8e | 461 | man/systemd-cgls.1 \ |
c5abba08 | 462 | man/systemd-notify.1 \ |
f9378423 | 463 | man/sd_notify.3 \ |
6624768c | 464 | man/sd_readahead.3 \ |
f9378423 LP |
465 | man/sd_booted.3 \ |
466 | man/sd_listen_fds.3 \ | |
467 | man/sd_is_fifo.3 \ | |
6f6083dc LP |
468 | man/systemd.unit.5 \ |
469 | man/systemd.service.5 \ | |
1f812fea | 470 | man/systemd.socket.5 \ |
cdb788e4 | 471 | man/systemd.mount.5 \ |
65232ea7 | 472 | man/systemd.automount.5 \ |
e0cabd4b | 473 | man/systemd.swap.5 \ |
11fcc3ab | 474 | man/systemd.timer.5 \ |
b36b082c | 475 | man/systemd.path.5 \ |
da49e9ab | 476 | man/systemd.target.5 \ |
eec575d8 | 477 | man/systemd.device.5 \ |
b2c20dd9 | 478 | man/systemd.snapshot.5 \ |
dd1eb43b | 479 | man/systemd.exec.5 \ |
6f6083dc | 480 | man/daemon.7 \ |
359957ee | 481 | man/sd-daemon.7 \ |
e62e6670 | 482 | man/sd-readahead.7 \ |
359957ee | 483 | man/runlevel.8 \ |
160cd5c9 LP |
484 | man/telinit.8 \ |
485 | man/halt.8 \ | |
486 | man/shutdown.8 \ | |
f3e219a2 LP |
487 | man/pam_systemd.8 \ |
488 | man/systemd.conf.5 | |
6f6083dc LP |
489 | |
490 | MANPAGES_ALIAS = \ | |
491 | man/reboot.8 \ | |
492 | man/poweroff.8 \ | |
493 | man/sd_is_socket.3 \ | |
494 | man/sd_is_socket_unix.3 \ | |
495 | man/sd_is_socket_inet.3 \ | |
496 | man/sd_notifyf.3 \ | |
497 | man/init.1 | |
498 | ||
499 | man/reboot.8: man/halt.8 | |
500 | man/poweroff.8: man/halt.8 | |
501 | man/sd_is_socket.3: man/sd_is_fifo.3 | |
502 | man/sd_is_socket_unix.3: man/sd_is_fifo.3 | |
503 | man/sd_is_socket_inet.3: man/sd_is_fifo.3 | |
504 | man/sd_notifyf.3: man/sd_notify.3 | |
505 | man/init.1: man/systemd.1 | |
506 | ||
507 | dist_man_MANS = \ | |
508 | $(MANPAGES) \ | |
509 | $(MANPAGES_ALIAS) | |
9f2c5942 LP |
510 | |
511 | nodist_man_MANS = \ | |
9f235308 | 512 | man/systemd.special.7 |
d1ab0ca0 | 513 | |
6f6083dc LP |
514 | XML_FILES = \ |
515 | ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} | |
516 | ||
517 | XML_IN_FILES = \ | |
518 | ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} | |
519 | ||
9f2c5942 | 520 | dist_noinst_DATA = \ |
6f6083dc | 521 | ${XML_FILES:.xml=.html} |
d1ab0ca0 | 522 | |
9f2c5942 | 523 | nodist_noinst_DATA = \ |
6f6083dc | 524 | ${XML_IN_FILES:.xml.in=.html} |
d1ab0ca0 LP |
525 | |
526 | EXTRA_DIST += \ | |
6f6083dc LP |
527 | $(XML_FILES) \ |
528 | $(XML_IN_FILES) \ | |
529 | ${nodist_man_MANS:=.in} \ | |
530 | ${XML_IN_FILES:.xml.in=.html.in} | |
d1ab0ca0 | 531 | |
47be870b | 532 | systemd_SOURCES = \ |
e99e38bb | 533 | src/main.c |
47be870b | 534 | |
10e87ee7 LP |
535 | systemd_CFLAGS = \ |
536 | $(AM_CFLAGS) \ | |
47be870b | 537 | $(DBUS_CFLAGS) \ |
35d2e7ec | 538 | $(UDEV_CFLAGS) |
47be870b LP |
539 | |
540 | systemd_LDADD = \ | |
139be57d | 541 | libsystemd-core.la |
47be870b LP |
542 | |
543 | test_engine_SOURCES = \ | |
e99e38bb | 544 | src/test-engine.c |
47be870b | 545 | |
10e87ee7 | 546 | test_engine_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
547 | test_engine_LDADD = $(systemd_LDADD) |
548 | ||
549 | test_job_type_SOURCES = \ | |
e1d680ad | 550 | src/test-job-type.c |
47be870b | 551 | |
10e87ee7 | 552 | test_job_type_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
553 | test_job_type_LDADD = $(systemd_LDADD) |
554 | ||
15ae422b | 555 | test_ns_SOURCES = \ |
139be57d | 556 | src/test-ns.c |
15ae422b | 557 | |
10e87ee7 | 558 | test_ns_CFLAGS = $(systemd_CFLAGS) |
15ae422b LP |
559 | test_ns_LDADD = $(systemd_LDADD) |
560 | ||
af5bc85d | 561 | test_loopback_SOURCES = \ |
e99e38bb LP |
562 | src/test-loopback.c \ |
563 | src/loopback-setup.c | |
af5bc85d | 564 | |
139be57d LP |
565 | test_loopback_LDADD = \ |
566 | libsystemd-basic.la | |
567 | ||
e5907703 LP |
568 | test_hostname_SOURCES = \ |
569 | src/test-hostname.c \ | |
570 | src/hostname-setup.c | |
571 | ||
572 | test_hostname_LDADD = \ | |
573 | libsystemd-basic.la | |
574 | ||
8c47c732 | 575 | test_daemon_SOURCES = \ |
8c47c732 LP |
576 | src/test-daemon.c \ |
577 | src/sd-daemon.c | |
af5bc85d | 578 | |
139be57d LP |
579 | test_daemon_LDADD = \ |
580 | libsystemd-basic.la | |
581 | ||
8c6db833 LP |
582 | test_cgroup_SOURCES = \ |
583 | src/test-cgroup.c \ | |
584 | src/cgroup-util.c | |
585 | ||
586 | test_cgroup_CFLAGS = \ | |
35d2e7ec | 587 | $(AM_CFLAGS) |
8c6db833 LP |
588 | |
589 | test_cgroup_LDADD = \ | |
35d2e7ec | 590 | libsystemd-basic.la |
8c6db833 | 591 | |
c24eb49e LP |
592 | test_env_replace_SOURCES = \ |
593 | src/test-env-replace.c | |
594 | ||
595 | test_env_replace_CFLAGS = \ | |
596 | $(AM_CFLAGS) | |
597 | ||
598 | test_env_replace_LDADD = \ | |
599 | libsystemd-basic.la | |
600 | ||
47be870b | 601 | systemd_logger_SOURCES = \ |
e99e38bb | 602 | src/logger.c \ |
0213c3f8 LP |
603 | src/sd-daemon.c \ |
604 | src/tcpwrap.c | |
605 | ||
606 | systemd_logger_LDADD = \ | |
139be57d | 607 | libsystemd-basic.la \ |
0213c3f8 | 608 | $(LIBWRAP_LIBS) |
47be870b | 609 | |
0b7964b8 | 610 | systemd_initctl_SOURCES = \ |
e99e38bb | 611 | src/initctl.c \ |
a822056b LP |
612 | src/sd-daemon.c \ |
613 | src/dbus-common.c | |
0b7964b8 | 614 | |
10e87ee7 LP |
615 | systemd_initctl_CFLAGS = \ |
616 | $(AM_CFLAGS) \ | |
0b7964b8 LP |
617 | $(DBUS_CFLAGS) |
618 | ||
619 | systemd_initctl_LDADD = \ | |
139be57d | 620 | libsystemd-basic.la \ |
0b7964b8 LP |
621 | $(DBUS_LIBS) |
622 | ||
4927fcae LP |
623 | systemd_update_utmp_SOURCES = \ |
624 | src/update-utmp.c \ | |
625 | src/dbus-common.c \ | |
626 | src/utmp-wtmp.c | |
627 | ||
628 | systemd_update_utmp_CFLAGS = \ | |
629 | $(AM_CFLAGS) \ | |
630 | $(DBUS_CFLAGS) \ | |
631 | $(AUDIT_CFLAGS) | |
632 | ||
633 | systemd_update_utmp_LDADD = \ | |
634 | libsystemd-basic.la \ | |
635 | $(DBUS_LIBS) \ | |
636 | $(AUDIT_LIBS) | |
637 | ||
ca2cab5d LP |
638 | systemd_random_seed_SOURCES = \ |
639 | src/random-seed.c | |
640 | ||
641 | systemd_random_seed_CFLAGS = \ | |
642 | $(AM_CFLAGS) | |
643 | ||
644 | systemd_random_seed_LDADD = \ | |
645 | libsystemd-basic.la | |
646 | ||
f6144808 | 647 | systemd_shutdownd_SOURCES = \ |
9be9828c | 648 | src/utmp-wtmp.c \ |
f6144808 LP |
649 | src/sd-daemon.c \ |
650 | src/shutdownd.c | |
651 | ||
652 | systemd_shutdownd_CFLAGS = \ | |
653 | $(AM_CFLAGS) | |
654 | ||
655 | systemd_shutdownd_LDADD = \ | |
656 | libsystemd-basic.la | |
657 | ||
b1b2a107 FF |
658 | systemd_shutdown_SOURCES = \ |
659 | src/mount-setup.c \ | |
660 | src/umount.c \ | |
661 | src/shutdown.c | |
662 | ||
663 | systemd_shutdown_CFLAGS = \ | |
664 | $(AM_CFLAGS) \ | |
665 | $(UDEV_CFLAGS) | |
666 | ||
667 | systemd_shutdown_LDADD = \ | |
668 | libsystemd-basic.la \ | |
669 | $(UDEV_LIBS) | |
670 | ||
b2423f1f LP |
671 | systemd_modules_load_SOURCES = \ |
672 | src/modules-load.c | |
673 | ||
674 | systemd_modules_load_CFLAGS = \ | |
675 | $(AM_CFLAGS) | |
676 | ||
3d20ed6d | 677 | systemd_modules_load_LDADD = \ |
5008d581 LP |
678 | libsystemd-basic.la |
679 | ||
bfaf42d2 LP |
680 | systemd_tmpfiles_SOURCES = \ |
681 | src/tmpfiles.c | |
5008d581 | 682 | |
bfaf42d2 | 683 | systemd_tmpfiles_CFLAGS = \ |
5008d581 LP |
684 | $(AM_CFLAGS) |
685 | ||
3d20ed6d LP |
686 | systemd_tmpfiles_LDADD = \ |
687 | libsystemd-basic.la | |
688 | ||
689 | systemd_fsck_SOURCES = \ | |
690 | src/fsck.c \ | |
3d20ed6d LP |
691 | src/dbus-common.c |
692 | ||
693 | systemd_fsck_CFLAGS = \ | |
694 | $(AM_CFLAGS) \ | |
695 | $(UDEV_CFLAGS) \ | |
696 | $(DBUS_CFLAGS) | |
697 | ||
698 | systemd_fsck_LDADD = \ | |
699 | libsystemd-basic.la \ | |
700 | $(UDEV_LIBS) \ | |
701 | $(DBUS_LIBS) | |
702 | ||
703 | systemd_quotacheck_SOURCES = \ | |
704 | src/quotacheck.c | |
705 | ||
706 | systemd_quotacheck_CFLAGS = \ | |
707 | $(AM_CFLAGS) | |
708 | ||
709 | systemd_quotacheck_LDADD = \ | |
e9278741 LP |
710 | libsystemd-basic.la |
711 | ||
712 | systemd_user_sessions_SOURCES = \ | |
713 | src/user-sessions.c \ | |
714 | src/cgroup-util.c | |
715 | ||
716 | systemd_user_sessions_CFLAGS = \ | |
717 | $(AM_CFLAGS) | |
718 | ||
3d20ed6d | 719 | systemd_user_sessions_LDADD = \ |
b2423f1f LP |
720 | libsystemd-basic.la |
721 | ||
97c4a07d LP |
722 | systemd_vconsole_setup_SOURCES = \ |
723 | src/vconsole-setup.c | |
724 | ||
725 | systemd_vconsole_setup_CFLAGS = \ | |
726 | $(AM_CFLAGS) | |
727 | ||
728 | systemd_vconsole_setup_LDADD = \ | |
729 | libsystemd-basic.la | |
730 | ||
449ddb2d LP |
731 | systemd_remount_api_vfs_SOURCES = \ |
732 | src/remount-api-vfs.c \ | |
733 | src/mount-setup.c | |
734 | ||
735 | systemd_remount_api_vfs_CFLAGS = \ | |
736 | $(AM_CFLAGS) | |
737 | ||
738 | systemd_remount_api_vfs_LDADD = \ | |
739 | libsystemd-basic.la | |
740 | ||
8e274523 | 741 | systemd_cgroups_agent_SOURCES = \ |
3c661fad LP |
742 | src/cgroups-agent.c \ |
743 | src/dbus-common.c | |
8e274523 | 744 | |
10e87ee7 LP |
745 | systemd_cgroups_agent_CFLAGS = \ |
746 | $(AM_CFLAGS) \ | |
8e274523 LP |
747 | $(DBUS_CFLAGS) |
748 | ||
749 | systemd_cgroups_agent_LDADD = \ | |
139be57d | 750 | libsystemd-basic.la \ |
8e274523 LP |
751 | $(DBUS_LIBS) |
752 | ||
addab137 LP |
753 | systemd_kmsg_syslogd_SOURCES = \ |
754 | src/kmsg-syslogd.c \ | |
755 | src/sd-daemon.c \ | |
756 | src/fdset.c | |
757 | ||
758 | systemd_kmsg_syslogd_CFLAGS = \ | |
759 | $(AM_CFLAGS) | |
760 | ||
761 | systemd_kmsg_syslogd_LDADD = \ | |
762 | libsystemd-basic.la | |
763 | ||
7e4249b9 LP |
764 | systemctl_SOURCES = \ |
765 | src/systemctl.c \ | |
9a1ac7b9 | 766 | src/utmp-wtmp.c \ |
ab35fb1b | 767 | src/dbus-common.c \ |
ee5762e3 LP |
768 | src/path-lookup.c \ |
769 | src/sd-daemon.c \ | |
c6c18be3 | 770 | src/cgroup-show.c \ |
d06dacd0 | 771 | src/cgroup-util.c \ |
71fad675 LP |
772 | src/exit-status.c \ |
773 | src/unit-name.c | |
139be57d LP |
774 | |
775 | systemctl_CFLAGS = \ | |
776 | $(AM_CFLAGS) \ | |
35d2e7ec | 777 | $(DBUS_CFLAGS) |
7e4249b9 | 778 | |
139be57d LP |
779 | systemctl_LDADD = \ |
780 | libsystemd-basic.la \ | |
35d2e7ec | 781 | $(DBUS_LIBS) |
7e4249b9 | 782 | |
4a2a8b5a LP |
783 | systemd_notify_SOURCES = \ |
784 | src/notify.c \ | |
d0b48809 LP |
785 | src/sd-daemon.c \ |
786 | src/sd-readahead.c | |
139be57d LP |
787 | |
788 | systemd_notify_LDADD = \ | |
789 | libsystemd-basic.la | |
4a2a8b5a | 790 | |
490aed58 LP |
791 | systemd_ask_password_SOURCES = \ |
792 | src/ask-password.c | |
793 | ||
794 | systemd_ask_password_LDADD = \ | |
795 | libsystemd-basic.la | |
796 | ||
797 | systemd_reply_password_SOURCES = \ | |
798 | src/reply-password.c | |
799 | ||
800 | systemd_reply_password_LDADD = \ | |
801 | libsystemd-basic.la | |
802 | ||
22be093f LP |
803 | systemd_readahead_collect_SOURCES = \ |
804 | src/readahead-collect.c \ | |
805 | src/sd-daemon.c \ | |
806 | src/readahead-common.c | |
807 | ||
808 | systemd_readahead_collect_CFLAGS = \ | |
809 | $(UDEV_CFLAGS) | |
810 | ||
811 | systemd_readahead_collect_LDADD = \ | |
812 | libsystemd-basic.la \ | |
813 | $(UDEV_LIBS) | |
814 | ||
815 | systemd_readahead_replay_SOURCES = \ | |
816 | src/readahead-replay.c \ | |
817 | src/sd-daemon.c \ | |
818 | src/readahead-common.c | |
819 | ||
820 | systemd_readahead_replay_CFLAGS = \ | |
821 | $(UDEV_CFLAGS) | |
822 | ||
823 | systemd_readahead_replay_LDADD = \ | |
824 | libsystemd-basic.la \ | |
825 | $(UDEV_LIBS) | |
826 | ||
fa776d8e | 827 | systemd_cgls_SOURCES = \ |
d04247cf | 828 | src/cgls.c \ |
c6c18be3 LP |
829 | src/cgroup-show.c \ |
830 | src/cgroup-util.c | |
fa776d8e LP |
831 | |
832 | systemd_cgls_CFLAGS = \ | |
35d2e7ec | 833 | $(AM_CFLAGS) |
c6c18be3 LP |
834 | |
835 | systemd_cgls_LDADD = \ | |
35d2e7ec | 836 | libsystemd-basic.la |
fa776d8e | 837 | |
47be870b | 838 | systemadm_SOURCES = \ |
e99e38bb LP |
839 | src/systemadm.vala \ |
840 | src/systemd-interfaces.vala | |
47be870b | 841 | |
10e87ee7 LP |
842 | systemadm_CFLAGS = \ |
843 | $(AM_CFLAGS) \ | |
844 | $(DBUSGLIB_CFLAGS) \ | |
845 | $(GTK_CFLAGS) \ | |
846 | -Wno-unused-variable \ | |
847 | -Wno-unused-function \ | |
848 | -Wno-shadow \ | |
849 | -Wno-format-nonliteral | |
850 | ||
851 | systemadm_VALAFLAGS = \ | |
852 | --pkg=dbus-glib-1 \ | |
853 | --pkg=posix \ | |
854 | --pkg=gtk+-2.0 \ | |
855 | -g | |
856 | ||
139be57d LP |
857 | systemadm_LDADD = \ |
858 | $(DBUSGLIB_LIBS) \ | |
859 | $(GTK_LIBS) | |
c1e1601e | 860 | |
d674a4ab LP |
861 | systemd_gnome_ask_password_agent_SOURCES = \ |
862 | src/gnome-ask-password-agent.vala | |
490aed58 | 863 | |
d674a4ab | 864 | systemd_gnome_ask_password_agent_CFLAGS = \ |
490aed58 LP |
865 | $(AM_CFLAGS) \ |
866 | $(DBUSGLIB_CFLAGS) \ | |
867 | $(GTK_CFLAGS) \ | |
868 | -Wno-unused-variable \ | |
869 | -Wno-unused-function \ | |
870 | -Wno-shadow \ | |
871 | -Wno-format-nonliteral | |
872 | ||
d674a4ab | 873 | systemd_gnome_ask_password_agent_VALAFLAGS = \ |
490aed58 LP |
874 | --pkg=dbus-glib-1 \ |
875 | --pkg=posix \ | |
876 | --pkg=gtk+-2.0 \ | |
877 | --pkg=linux \ | |
878 | --pkg=gio-unix-2.0 \ | |
efb3237e | 879 | --pkg=libnotify \ |
490aed58 LP |
880 | -g |
881 | ||
d674a4ab | 882 | systemd_gnome_ask_password_agent_LDADD = \ |
490aed58 LP |
883 | $(DBUSGLIB_LIBS) \ |
884 | $(GTK_LIBS) | |
885 | ||
ec863ba6 LP |
886 | systemd_tty_ask_password_agent_SOURCES = \ |
887 | src/tty-ask-password-agent.c \ | |
888 | src/utmp-wtmp.c | |
889 | ||
890 | systemd_tty_ask_password_agent_LDADD = \ | |
891 | libsystemd-basic.la | |
892 | ||
8c6db833 LP |
893 | pam_systemd_la_SOURCES = \ |
894 | src/pam-module.c \ | |
895 | src/cgroup-util.c \ | |
896 | src/sd-daemon.c | |
897 | ||
898 | pam_systemd_la_CFLAGS = \ | |
35d2e7ec | 899 | $(AM_CFLAGS) |
8c6db833 LP |
900 | -fvisibility=hidden |
901 | ||
902 | pam_systemd_la_LDFLAGS = \ | |
903 | -module \ | |
904 | -export-dynamic \ | |
905 | -avoid-version \ | |
906 | -shared \ | |
907 | -export-symbols-regex '^pam_sm_.*' | |
908 | ||
909 | pam_systemd_la_LIBADD = \ | |
910 | libsystemd-basic.la \ | |
35d2e7ec | 911 | $(PAM_LIBS) |
8c6db833 | 912 | |
5e6afdd3 | 913 | SED_PROCESS = \ |
a00e4879 | 914 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
1136a371 | 915 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ |
306a7fd8 | 916 | -e 's,@rootbindir\@,$(rootbindir),g' \ |
5e6afdd3 | 917 | -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ |
1136a371 | 918 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ |
c7b50859 | 919 | -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ |
8c6db833 LP |
920 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ |
921 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
922 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ | |
923 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ | |
924 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
925 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
926 | -e 's,@prefix\@,$(prefix),g' \ | |
de47ca9b | 927 | < $< > $@ || rm $@ |
70fcff31 | 928 | |
9f2c5942 | 929 | units/%: units/%.in Makefile |
5e6afdd3 LP |
930 | $(SED_PROCESS) |
931 | ||
2a3d6294 | 932 | man/%: man/%.in Makefile |
5e6afdd3 LP |
933 | $(SED_PROCESS) |
934 | ||
8c6db833 LP |
935 | %.pc: %.pc.in Makefile |
936 | $(SED_PROCESS) | |
937 | ||
fb1bd35a | 938 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 939 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
de47ca9b | 940 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@ |
fb1bd35a LP |
941 | |
942 | M4_PROCESS_SESSION = \ | |
a00e4879 | 943 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
de47ca9b | 944 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@ || rm $@ |
5e6afdd3 | 945 | |
9f2c5942 | 946 | units/%: units/%.m4 Makefile |
fb1bd35a | 947 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 948 | |
9f2c5942 | 949 | units/session/%: units/%.m4 Makefile |
fb1bd35a | 950 | $(M4_PROCESS_SESSION) |
a7b6f8e5 | 951 | |
c1e1601e | 952 | CLEANFILES = \ |
6f6083dc LP |
953 | $(nodist_systemunit_DATA) \ |
954 | $(nodist_sessionunit_DATA) \ | |
955 | $(nodist_man_MANS) \ | |
956 | ${XML_IN_FILES:.xml.in=.html} \ | |
957 | $(pkgconfigdata_DATA) | |
4697132b | 958 | |
42e39f0b LP |
959 | if HAVE_VALAC |
960 | CLEANFILES += \ | |
6f6083dc | 961 | ${systemadm_SOURCES:.vala=.c} |
42e39f0b LP |
962 | endif |
963 | ||
c3bd7322 | 964 | if HAVE_XSLTPROC |
c6365917 LP |
965 | XSLTPROC_FLAGS = \ |
966 | --nonet \ | |
967 | --param funcsynopsis.style "'ansi'" | |
968 | ||
9f2c5942 | 969 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 970 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 971 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
d1ab0ca0 | 972 | |
9f2c5942 | 973 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 974 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 975 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
9f2c5942 LP |
976 | mv ${@:.in=} $@ |
977 | ||
978 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 979 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 980 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< |
d1ab0ca0 | 981 | |
9f2c5942 | 982 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 983 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 984 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ |
9f2c5942 LP |
985 | mv ${@:.in=} $@ |
986 | ||
6f6083dc | 987 | man/%.1: man/%.xml |
f9378423 LP |
988 | $(XSLTPROC_PROCESS_MAN) |
989 | ||
6f6083dc | 990 | man/%.1.in: man/%.xml.in |
f9378423 LP |
991 | $(XSLTPROC_PROCESS_MAN) |
992 | ||
6f6083dc | 993 | man/%.3: man/%.xml |
359957ee LP |
994 | $(XSLTPROC_PROCESS_MAN) |
995 | ||
6f6083dc | 996 | man/%.3.in: man/%.xml.in |
359957ee LP |
997 | $(XSLTPROC_PROCESS_MAN) |
998 | ||
9f2c5942 LP |
999 | man/%.5: man/%.xml |
1000 | $(XSLTPROC_PROCESS_MAN) | |
1001 | ||
1002 | man/%.5.in: man/%.xml.in | |
1003 | $(XSLTPROC_PROCESS_MAN) | |
1004 | ||
1005 | man/%.7: man/%.xml | |
1006 | $(XSLTPROC_PROCESS_MAN) | |
1007 | ||
1008 | man/%.7.in: man/%.xml.in | |
1009 | $(XSLTPROC_PROCESS_MAN_IN) | |
1010 | ||
f9378423 LP |
1011 | man/%.8: man/%.xml |
1012 | $(XSLTPROC_PROCESS_MAN) | |
1013 | ||
1014 | man/%.8.in: man/%.xml.in | |
1015 | $(XSLTPROC_PROCESS_MAN_IN) | |
1016 | ||
9f2c5942 LP |
1017 | man/%.html: man/%.xml |
1018 | $(XSLTPROC_PROCESS_HTML) | |
1019 | ||
1020 | man/%.html.in: man/%.xml.in | |
1021 | $(XSLTPROC_PROCESS_HTML_IN) | |
1022 | ||
d1ab0ca0 LP |
1023 | CLEANFILES += \ |
1024 | $(dist_man_MANS) \ | |
6f6083dc LP |
1025 | ${nodist_man_MANS:=.in} \ |
1026 | ${XML_FILES:.xml=.html} \ | |
1027 | ${XML_IN_FILES:.xml.in=.html.in} | |
c3bd7322 | 1028 | endif |
d1ab0ca0 | 1029 | |
4288f619 | 1030 | org.freedesktop.systemd1.%.xml: systemd |
4627d396 | 1031 | $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@ |
4288f619 | 1032 | |
6f6083dc LP |
1033 | CLEANFILES += \ |
1034 | $(dbusinterface_DATA) | |
4288f619 | 1035 | |
4697132b | 1036 | install-data-hook: |
64c1b5bf | 1037 | $(MKDIR_P) -m 0755 \ |
43aa226d LP |
1038 | $(DESTDIR)$(systemunitdir) \ |
1039 | $(DESTDIR)$(sessionunitdir) \ | |
42eacdad | 1040 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ |
5e6afdd3 | 1041 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
c0a1b6e9 | 1042 | $(DESTDIR)$(systemunitdir)/basic.target.wants \ |
cd6d0a45 | 1043 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ |
65ae3821 | 1044 | $(DESTDIR)$(systemunitdir)/local-fs.target.wants \ |
cd6d0a45 LP |
1045 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ |
1046 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
1047 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
1048 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
1049 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
45cf9716 | 1050 | $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ |
c980a279 | 1051 | $(DESTDIR)$(systemunitdir)/graphical.target.wants \ |
64c1b5bf | 1052 | $(DESTDIR)$(pkgsysconfdir)/system \ |
42eacdad | 1053 | $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \ |
980d8750 | 1054 | $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ |
5e6afdd3 | 1055 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ |
980d8750 | 1056 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
64c1b5bf | 1057 | $(DESTDIR)$(pkgsysconfdir)/session \ |
e82e442b | 1058 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
e9da3678 LP |
1059 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
1060 | rm -f session && \ | |
5e6afdd3 LP |
1061 | $(LN_S) $(pkgsysconfdir)/session session ) |
1062 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ | |
52f319b2 | 1063 | rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \ |
5e6afdd3 | 1064 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ |
a145090c | 1065 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ |
52f319b2 LP |
1066 | $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ |
1067 | $(LN_S) ../syslog.socket syslog.socket ) | |
cd6d0a45 LP |
1068 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ |
1069 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1070 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1071 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ |
1072 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1073 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1074 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ |
1075 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1076 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1077 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ |
1078 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1079 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1080 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ |
1081 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1082 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 | 1083 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ |
d3f09cf3 | 1084 | rm -f systemd-update-utmp-shutdown.service \ |
7376cffd | 1085 | hwclock-save.service \ |
d3f09cf3 | 1086 | systemd-random-seed-save.service && \ |
45cf9716 KS |
1087 | $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \ |
1088 | $(LN_S) ../hwclock-save.service hwclock-save.service && \ | |
1089 | $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) | |
65ae3821 | 1090 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ |
c0a1b6e9 | 1091 | rm -f systemd-remount-api-vfs.service \ |
980d8750 | 1092 | fsck-root.service \ |
c0a1b6e9 LP |
1093 | remount-rootfs.service \ |
1094 | var-run.mount \ | |
93ca9714 | 1095 | var-lock.mount && \ |
c0a1b6e9 | 1096 | $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ |
980d8750 | 1097 | $(LN_S) ../fsck-root.service fsck-root.service && \ |
c0a1b6e9 LP |
1098 | $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ |
1099 | $(LN_S) ../var-run.mount var-run.mount && \ | |
93ca9714 | 1100 | $(LN_S) ../var-lock.mount var-lock.mount ) |
70449379 | 1101 | ( cd $(DESTDIR)$(sessionunitdir) && \ |
da78e1b4 | 1102 | rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \ |
8c4a3079 LP |
1103 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ |
1104 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
1105 | $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \ | |
da78e1b4 LP |
1106 | $(LN_S) $(systemunitdir)/swap.target swap.target && \ |
1107 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ | |
1108 | $(LN_S) $(systemunitdir)/printer.target printer.target) | |
5e6afdd3 | 1109 | ( cd $(DESTDIR)$(systemunitdir) && \ |
c88f64bd | 1110 | rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \ |
5e6afdd3 LP |
1111 | $(LN_S) poweroff.target runlevel0.target && \ |
1112 | $(LN_S) rescue.target runlevel1.target && \ | |
c88f64bd LP |
1113 | $(LN_S) multi-user.target runlevel2.target && \ |
1114 | $(LN_S) multi-user.target runlevel3.target && \ | |
1115 | $(LN_S) multi-user.target runlevel4.target && \ | |
1116 | $(LN_S) graphical.target runlevel5.target && \ | |
5e6afdd3 | 1117 | $(LN_S) reboot.target runlevel6.target ) |
45cf9716 KS |
1118 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1119 | rm -f default.target ctrl-alt-del.target && \ | |
1120 | $(LN_S) graphical.target default.target && \ | |
1121 | $(LN_S) reboot.target ctrl-alt-del.target ) | |
3e24da51 | 1122 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
306a7fd8 | 1123 | rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path && \ |
447be155 | 1124 | $(LN_S) ../getty.target getty.target && \ |
306a7fd8 LP |
1125 | $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ |
1126 | $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path ) | |
5e6afdd3 | 1127 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ |
b2bb3dbe | 1128 | rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \ |
5e6afdd3 LP |
1129 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \ |
1130 | $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \ | |
1131 | $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \ | |
1132 | $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ | |
1133 | $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ | |
b2bb3dbe | 1134 | $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) |
980d8750 LP |
1135 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \ |
1136 | rm -f quotaon.service quotacheck.service && \ | |
1137 | $(LN_S) $(systemunitdir)/quotacheck.service quotacheck.service && \ | |
1138 | $(LN_S) $(systemunitdir)/quotaon.service quotaon.service ) | |
5e6afdd3 | 1139 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ |
3e24da51 | 1140 | rm -f remote-fs.target && \ |
f92a18f5 | 1141 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) |
42eacdad | 1142 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \ |
980d8750 LP |
1143 | rm -f hwclock-load.service && \ |
1144 | $(LN_S) $(systemunitdir)/hwclock-load.service hwclock-load.service ) | |
42eacdad | 1145 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
6d526de2 LP |
1146 | rm -f dev-hugepages.automount \ |
1147 | dev-mqueue.automount \ | |
1148 | proc-sys-fs-binfmt_misc.automount \ | |
1149 | sys-kernel-debug.automount \ | |
f0a73e24 | 1150 | sys-kernel-security.automount \ |
d3f09cf3 KS |
1151 | systemd-vconsole-setup.service \ |
1152 | systemd-modules-load.service \ | |
1153 | systemd-random-seed-load.service \ | |
3b63d2d3 | 1154 | systemd-tmpfiles-setup.service \ |
42eacdad | 1155 | sysctl.service && \ |
670802d4 LP |
1156 | $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ |
1157 | $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ | |
1158 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \ | |
6d526de2 | 1159 | $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \ |
f0a73e24 | 1160 | $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \ |
45cf9716 KS |
1161 | $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ |
1162 | $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ | |
1163 | $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ | |
3b63d2d3 | 1164 | $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ |
42eacdad LP |
1165 | $(LN_S) ../sysctl.service sysctl.service ) |
1166 | ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ | |
1167 | rm -f systemd-tmpfiles-clean.timer && \ | |
3b63d2d3 | 1168 | $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) |
d122948d LP |
1169 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ |
1170 | rm -f org.freedesktop.systemd1.service && \ | |
1171 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
5e6afdd3 | 1172 | if TARGET_FEDORA |
a3723b97 | 1173 | $(MKDIR_P) -m 0755 \ |
f057408c | 1174 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ |
3cc144eb | 1175 | $(DESTDIR)$(systemunitdir)/reboot.target.wants \ |
42eacdad | 1176 | $(DESTDIR)$(systemunitdir)/kexec.target.wants \ |
3cc144eb LP |
1177 | $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ |
1178 | $(DESTDIR)$(systemunitdir)/halt.target.wants \ | |
ddd941ed | 1179 | $(DESTDIR)$(systemunitdir)/final.target.wants |
73d35ff8 | 1180 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
3cc144eb LP |
1181 | rm -f rc-local.service && \ |
1182 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
ddd941ed LP |
1183 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ |
1184 | rm -f halt-local.service && \ | |
1185 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
3cc144eb | 1186 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
42eacdad LP |
1187 | rm -f plymouth-quit.service && \ |
1188 | $(LN_S) ../plymouth-quit.service plymouth-quit.service ) | |
1189 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ | |
1190 | rm -f plymouth-start.service systemd-ask-password-plymouth.path && \ | |
1191 | $(LN_S) ../plymouth-start.service plymouth-start.service && \ | |
e0e1580a | 1192 | $(LN_S) ../systemd-ask-password-plymouth.path systemd-ask-password-plymouth.path ) |
3cc144eb | 1193 | ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ |
0278dfeb | 1194 | rm -f plymouth-reboot.service && \ |
3cc144eb | 1195 | $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) |
42eacdad LP |
1196 | ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \ |
1197 | rm -f plymouth-kexec.service && \ | |
1198 | $(LN_S) ../plymouth-kexec.service plymouth-kexec.service ) | |
3cc144eb | 1199 | ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \ |
0278dfeb | 1200 | rm -f plymouth-poweroff.service && \ |
3cc144eb LP |
1201 | $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service ) |
1202 | ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \ | |
0278dfeb | 1203 | rm -f plymouth-halt.service && \ |
3cc144eb | 1204 | $(LN_S) ../plymouth-halt.service plymouth-halt.service ) |
5e6afdd3 | 1205 | ( cd $(DESTDIR)$(systemunitdir) && \ |
73d35ff8 BN |
1206 | rm -f display-manager.service && \ |
1207 | $(LN_S) prefdm.service display-manager.service ) | |
6b2a56f0 BN |
1208 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
1209 | rm -f display-manager.service && \ | |
1210 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
5e6afdd3 | 1211 | endif |
f306f4c4 | 1212 | if TARGET_GENTOO |
42eacdad | 1213 | ( cd $(DESTDIR)$(systemunitdir) && \ |
f306f4c4 | 1214 | rm -f display-manager.service && \ |
42eacdad LP |
1215 | $(LN_S) xdm.service display-manager.service ) |
1216 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ | |
1217 | rm -f display-manager.service && \ | |
1218 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
f306f4c4 | 1219 | endif |
858dae18 | 1220 | if TARGET_DEBIAN_OR_UBUNTU |
a5dc0a45 MB |
1221 | $(MKDIR_P) -m 0755 \ |
1222 | $(DESTDIR)$(systemunitdir)/umount.target.wants | |
1223 | ( cd $(DESTDIR)$(systemunitdir)/umount.target.wants && \ | |
1224 | rm -f umountfs.service umountnfs.service umountroot.service && \ | |
1225 | $(LN_S) ../umountfs.service umountfs.service && \ | |
1226 | $(LN_S) ../umountnfs.service umountnfs.service && \ | |
1227 | $(LN_S) ../umountroot.service umountroot.service ) | |
e082d6c8 MB |
1228 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1229 | rm -f runlevel5.target && \ | |
1230 | $(LN_S) multi-user.target runlevel5.target ) | |
a5dc0a45 | 1231 | endif |
5e6afdd3 | 1232 | |
d1ab0ca0 | 1233 | DISTCHECK_CONFIGURE_FLAGS = \ |
d2d12cd1 LP |
1234 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |
1235 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
1236 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
1237 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
8c4a3079 | 1238 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
8c6db833 | 1239 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ |
8c4a3079 | 1240 | --with-rootdir=$$dc_install_base/$(rootdir) |
a45f61d7 LP |
1241 | |
1242 | upload: all distcheck | |
53eff0c7 | 1243 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/ |
a45f61d7 LP |
1244 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ |
1245 | scp man/*.html tango:public/systemd-man/ | |
1246 | ||
1247 | git-tag: | |
1248 | git tag "v$(VERSION)" -m "systemd $(VERSION)" | |
c0a1b6e9 LP |
1249 | |
1250 | # Opt out from a few services on Fedora for now, as long as rc.sysinit does this job | |
1251 | fedora: install | |
472ff3d6 LP |
1252 | rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-run.mount |
1253 | rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-lock.mount |