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