chiark / gitweb /
util: split-out conf-file.[ch]
[elogind.git] / Makefile.am
index b503b0124ebab4affd6329d9e004cf3cdb6c9560..2bc8e01c95b1b867933615958008f48dbcb8f9ba 100644 (file)
@@ -297,7 +297,8 @@ dist_systemunit_DATA = \
        units/systemd-ask-password-console.path \
        units/syslog.target \
        units/systemd-udev-control.socket \
-       units/systemd-udev-kernel.socket
+       units/systemd-udev-kernel.socket \
+       units/systemd-timedated-ntp.target
 
 nodist_systemunit_DATA = \
        units/getty@.service \
@@ -480,7 +481,8 @@ MANPAGES = \
        man/systemd-machine-id-setup.1 \
        man/systemd-detect-virt.1 \
        man/journald.conf.5 \
-       man/journalctl.1
+       man/journalctl.1 \
+       man/systemd-inhibit.1
 
 MANPAGES_ALIAS = \
        man/reboot.8 \
@@ -545,6 +547,8 @@ libsystemd_shared_la_SOURCES = \
        src/shared/ioprio.h \
        src/shared/socket-util.c \
        src/shared/socket-util.h \
+       src/shared/conf-files.c \
+       src/shared/conf-files.h \
        src/shared/cgroup-util.c \
        src/shared/cgroup-util.h \
        src/shared/cgroup-show.c \
@@ -562,10 +566,6 @@ libsystemd_shared_la_SOURCES = \
        src/shared/spawn-polkit-agent.c \
        src/shared/spawn-polkit-agent.h
 
-libsystemd_shared_la_CFLAGS = \
-       $(AM_CFLAGS) \
-       $(DBUS_CFLAGS)
-
 #-------------------------------------------------------------------------------
 noinst_LTLIBRARIES += \
        libsystemd-dbus.la
@@ -903,7 +903,8 @@ test_job_type_CFLAGS = \
        $(DBUS_CFLAGS)
 
 test_job_type_LDADD = \
-       libsystemd-core.la
+       libsystemd-core.la \
+       libsystemd-daemon.la
 
 test_ns_SOURCES = \
        src/test/test-ns.c
@@ -2664,6 +2665,20 @@ loginctl_LDADD = \
 rootbin_PROGRAMS += \
        loginctl
 
+systemd_inhibit_SOURCES = \
+       src/login/inhibit.c
+
+systemd_inhibit_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(DBUS_CFLAGS)
+
+systemd_inhibit_LDADD = \
+       libsystemd-shared.la \
+       libsystemd-dbus.la
+
+rootbin_PROGRAMS += \
+       systemd-inhibit
+
 test_login_SOURCES = \
        src/login/test-login.c
 
@@ -2887,6 +2902,7 @@ SED_PROCESS = \
                -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
                -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
                -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
+               -e 's,@RANDOM_SEED\@,$(localstatedir)/lib/random-seed,g' \
                -e 's,@prefix\@,$(prefix),g' \
                -e 's,@exec_prefix\@,$(exec_prefix),g' \
                -e 's,@libdir\@,$(libdir),g' \
@@ -3163,10 +3179,6 @@ if TARGET_MEEGO
 endif
 
 if TARGET_FEDORA
-       $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
-       ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
-               rm -f halt-local.service && \
-               $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f display-manager.service single.service && \
                $(LN_S) prefdm.service display-manager.service && \
@@ -3177,10 +3189,6 @@ if TARGET_FEDORA
 endif
 
 if TARGET_MANDRIVA
-       $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
-       ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
-               rm -f halt-local.service && \
-               $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f display-manager.service dm.service single.service && \
                $(LN_S) prefdm.service display-manager.service && \
@@ -3198,20 +3206,12 @@ if TARGET_DEBIAN_OR_UBUNTU
 endif
 
 if TARGET_SUSE
-       $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f local.service && \
                $(LN_S) rc-local.service local.service )
-       ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
-               rm -f halt-local.service && \
-               $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
 endif
 
 if TARGET_MAGEIA
-       $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
-       ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
-               rm -f halt-local.service && \
-               $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f display-manager.service && \
                $(LN_S) prefdm.service display-manager.service && \