systemd-fsck \
systemd-quotacheck \
systemd-timestamp \
- systemd-ac-power
+ systemd-ac-power \
+ systemd-sysctl
if HAVE_LIBCRYPTSETUP
rootlibexec_PROGRAMS += \
units/var-run.mount \
units/hwclock-load.service \
units/hwclock-save.service \
- units/sysctl.service \
units/remount-rootfs.service \
units/printer.target \
units/bluetooth.target \
units/systemd-ask-password-wall.service \
units/systemd-ask-password-plymouth.service \
units/systemd-ask-password-console.service \
+ units/systemd-sysctl.service \
units/syslog.target \
units/halt.service \
units/poweroff.service \
units/systemd-ask-password-wall.service.in \
units/systemd-ask-password-plymouth.service.in \
units/systemd-ask-password-console.service.in \
+ units/systemd-sysctl.service.in \
units/syslog.target.in \
units/halt.service.in \
units/poweroff.service.in \
units/fsck@.service.in \
units/fsck-root.service.in \
units/quotacheck.service.in \
- systemd.pc.in
+ systemd.pc.in \
+ introspect.awk
if TARGET_FEDORA
dist_systemunit_DATA += \
units/fedora/plymouth-halt.service
endif
-if TARGET_GENTOO
-dist_systemunit_DATA += \
- units/gentoo/xdm.service
-endif
if TARGET_ARCH
dist_systemunit_DATA += \
man/shutdown.8 \
man/pam_systemd.8 \
man/systemd.conf.5 \
- man/tmpfiles.d.5
+ man/tmpfiles.d.5 \
+ man/hostname.5 \
+ man/vconsole.conf.5 \
+ man/locale.conf.5 \
+ man/os-release.5 \
+ man/modules-load.d.5
MANPAGES_ALIAS = \
man/reboot.8 \
systemd_tmpfiles_LDADD = \
libsystemd-basic.la
+systemd_sysctl_SOURCES = \
+ src/sysctl.c
+
+systemd_sysctl_CFLAGS = \
+ $(AM_CFLAGS)
+
+systemd_sysctl_LDADD = \
+ libsystemd-basic.la
+
systemd_fsck_SOURCES = \
src/fsck.c \
src/dbus-common.c
systemd_cryptsetup_CFLAGS = \
$(LIBCRYPTSETUP_CFLAGS) \
+ $(UDEV_CFLAGS) \
$(AM_CFLAGS)
systemd_cryptsetup_LDADD = \
$(LIBCRYPTSETUP_LIBS) \
+ $(UDEV_LIBS) \
libsystemd-basic.la
systemd_cryptsetup_generator_SOURCES = \
--pkg=gtk+-2.0 \
--pkg=linux \
--pkg=gio-unix-2.0 \
- --pkg=libnotify \
+ --pkg=libnotify
+if LIBNOTIFY07
+systemd_gnome_ask_password_agent_VALAFLAGS += \
+ -D LIBNOTIFY07
+endif
+systemd_gnome_ask_password_agent_VALAFLAGS += \
-g
systemd_gnome_ask_password_agent_LDADD = \
${XML_IN_FILES:.xml.in=.html.in}
endif
+DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
+
org.freedesktop.systemd1.%.xml: systemd
- $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@
+ $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
+ $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
+ $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
CLEANFILES += \
$(dbusinterface_DATA)
systemd-modules-load.service \
systemd-random-seed-load.service \
systemd-tmpfiles-setup.service \
- sysctl.service \
+ systemd-sysctl.service \
systemd-ask-password-console.path && \
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
$(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
$(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
$(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
$(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
- $(LN_S) ../sysctl.service sysctl.service && \
+ $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
$(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path )
( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
rm -f systemd-tmpfiles-clean.timer && \
rm -f display-manager.service && \
$(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
endif
-if TARGET_GENTOO
- ( cd $(DESTDIR)$(systemunitdir) && \
- rm -f display-manager.service && \
- $(LN_S) xdm.service display-manager.service )
- ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
- rm -f display-manager.service && \
- $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
-endif
if TARGET_DEBIAN_OR_UBUNTU
( cd $(DESTDIR)$(systemunitdir) && \
rm -f runlevel5.target && \
git-tag:
git tag "v$(VERSION)" -m "systemd $(VERSION)"
-
-# Opt out from a few services on Fedora for now, as long as rc.sysinit does this job
-fedora: install
- rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-run.mount
- rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-lock.mount