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