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