chiark / gitweb /
systemctl: hook up new install logic
[elogind.git] / Makefile.am
index 70d1c92353bac79b3987eb304cda3f2f2340ea3c..2ebf53ce867f586fa146dd4dd83ad37168023949 100644 (file)
@@ -210,7 +210,8 @@ noinst_PROGRAMS = \
        test-cgroup \
        test-env-replace \
        test-strv \
-        test-login
+        test-login \
+        test-install
 
 if HAVE_PAM
 pamlib_LTLIBRARIES = \
@@ -592,7 +593,8 @@ libsystemd_core_la_SOURCES = \
        src/cgroup-util.c \
        src/condition.c \
         src/dbus-common.c \
-        src/sd-daemon.c
+        src/sd-daemon.c \
+        src/install.c
 
 libsystemd_core_la_CFLAGS = \
        $(AM_CFLAGS) \
@@ -831,6 +833,19 @@ test_login_LDADD = \
        libsystemd-basic.la \
         libsystemd-login.la
 
+test_install_SOURCES = \
+       src/test-install.c \
+        src/install.c \
+        src/path-lookup.c \
+        src/unit-name.c
+
+test_install_CFLAGS = \
+       $(AM_CFLAGS) \
+        $(DBUS_CFLAGS)
+
+test_install_LDADD = \
+       libsystemd-basic.la
+
 systemd_logger_SOURCES = \
        src/logger.c \
        src/tcpwrap.c
@@ -977,6 +992,7 @@ systemd_uaccess_CFLAGS = \
 systemd_uaccess_LDADD = \
        libsystemd-basic.la \
        libsystemd-daemon.la \
+       libsystemd-login.la \
         $(UDEV_LIBS) \
         $(ACL_LIBS)
 
@@ -1187,7 +1203,9 @@ systemctl_SOURCES = \
        src/cgroup-util.c \
        src/exit-status.c \
        src/unit-name.c \
-        src/pager.c
+        src/pager.c \
+        src/install.c \
+        src/spawn-agent.c
 
 systemctl_CFLAGS = \
        $(AM_CFLAGS) \