chiark / gitweb /
fsck: add initial version of fsck and quotacheck wrappers
[elogind.git] / Makefile.am
index f129525f2e944ddfb31283e24f92bb87d4c25c8a..92b1e2215927dc892c7316f61f51a0a57b226494 100644 (file)
@@ -108,7 +108,9 @@ rootlibexec_PROGRAMS = \
        systemd-readahead-collect \
        systemd-readahead-replay \
        systemd-tmpfiles \
-       systemd-user-sessions
+       systemd-user-sessions \
+       systemd-fsck \
+       systemd-quotacheck
 
 noinst_PROGRAMS = \
        test-engine \
@@ -204,9 +206,8 @@ dist_systemunit_DATA = \
        units/printer.target \
        units/bluetooth.target \
        units/smartcard.target \
-       units/tmpwatch.service \
-       units/tmpwatch.timer \
-       units/systemd-readahead-done.timer
+       units/systemd-readahead-done.timer \
+       units/systemd-tmpfiles-clean.timer
 
 nodist_systemunit_DATA = \
        units/sysinit.target \
@@ -229,7 +230,8 @@ nodist_systemunit_DATA = \
        units/systemd-readahead-collect.service \
        units/systemd-readahead-replay.service \
        units/systemd-readahead-done.service \
-       units/systemd-tmpfiles.service \
+       units/systemd-tmpfiles-setup.service \
+       units/systemd-tmpfiles-clean.service \
        units/systemd-user-sessions.service \
        units/syslog.target \
        units/halt.service \
@@ -266,7 +268,8 @@ EXTRA_DIST = \
        units/systemd-readahead-collect.service.in \
        units/systemd-readahead-replay.service.in \
        units/systemd-readahead-done.service.in \
-       units/systemd-tmpfiles.service.in \
+       units/systemd-tmpfiles-setup.service.in \
+       units/systemd-tmpfiles-clean.service.in \
        units/systemd-user-sessions.service.in \
        units/syslog.target.in \
        units/halt.service.in \
@@ -661,7 +664,7 @@ systemd_modules_load_SOURCES = \
 systemd_modules_load_CFLAGS = \
        $(AM_CFLAGS)
 
-systemd_tmpfiles_LDADD = \
+systemd_modules_load_LDADD = \
        libsystemd-basic.la
 
 systemd_tmpfiles_SOURCES = \
@@ -670,7 +673,31 @@ systemd_tmpfiles_SOURCES = \
 systemd_tmpfiles_CFLAGS = \
        $(AM_CFLAGS)
 
-systemd_user_sessions_LDADD = \
+systemd_tmpfiles_LDADD = \
+       libsystemd-basic.la
+
+systemd_fsck_SOURCES = \
+       src/fsck.c \
+       src/ac-power.c \
+       src/dbus-common.c
+
+systemd_fsck_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(UDEV_CFLAGS) \
+       $(DBUS_CFLAGS)
+
+systemd_fsck_LDADD = \
+       libsystemd-basic.la \
+       $(UDEV_LIBS) \
+       $(DBUS_LIBS)
+
+systemd_quotacheck_SOURCES = \
+       src/quotacheck.c
+
+systemd_quotacheck_CFLAGS = \
+       $(AM_CFLAGS)
+
+systemd_quotacheck_LDADD = \
        libsystemd-basic.la
 
 systemd_user_sessions_SOURCES = \
@@ -680,7 +707,7 @@ systemd_user_sessions_SOURCES = \
 systemd_user_sessions_CFLAGS = \
        $(AM_CFLAGS)
 
-systemd_modules_load_LDADD = \
+systemd_user_sessions_LDADD = \
        libsystemd-basic.la
 
 systemd_vconsole_setup_SOURCES = \
@@ -1093,10 +1120,9 @@ install-data-hook:
                        systemd-vconsole-setup.service \
                        systemd-modules-load.service \
                        systemd-random-seed-load.service \
-                       systemd-tmpfiles.service \
+                       systemd-tmpfiles-setup.service \
                        sysctl.service \
-                       tmpwatch.timer \
-                       tmpwatch.service && \
+                       systemd-tmpfiles-clean.timer && \
                $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
                $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
                $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \
@@ -1105,10 +1131,9 @@ install-data-hook:
                $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
                $(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.service systemd-tmpfiles.service && \
+               $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
                $(LN_S) ../sysctl.service sysctl.service && \
-               $(LN_S) ../tmpwatch.timer tmpwatch.timer && \
-               $(LN_S) ../tmpwatch.service tmpwatch.service )
+               $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
        ( cd $(DESTDIR)$(dbussessionservicedir) && \
                rm -f org.freedesktop.systemd1.service && \
                $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )