chiark / gitweb /
build-sys: move sd-login src/login → src/libsystemd/sd-login
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Mar 2014 17:28:30 +0000 (18:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Mar 2014 17:35:48 +0000 (18:35 +0100)
After all, it is ultimately linked to libsystems.so anyway, thus belongs
there and shares very little with the rest of logind, hence let's move
this away.

Makefile.am
src/libsystemd/sd-login/sd-login.c [moved from src/login/sd-login.c with 100% similarity]
src/libsystemd/sd-login/test-login.c [moved from src/login/test-login.c with 100% similarity]
src/shared/login-shared.c [moved from src/login/login-shared.c with 100% similarity]
src/shared/login-shared.h [moved from src/login/login-shared.h with 100% similarity]

index 4f94587..f0cfe46 100644 (file)
@@ -797,7 +797,9 @@ libsystemd_shared_la_SOURCES = \
        src/shared/generator.h \
        src/shared/generator.c \
        src/shared/clean-ipc.h \
-       src/shared/clean-ipc.c
+       src/shared/clean-ipc.c \
+       src/shared/login-shared.c \
+       src/shared/login-shared.h
 
 nodist_libsystemd_shared_la_SOURCES = \
        src/shared/errno-from-name.h \
@@ -2108,9 +2110,7 @@ libsystemd_internal_la_SOURCES = \
        src/libsystemd/sd-resolve/resolve-util.h \
        src/libsystemd/sd-id128/sd-id128.c \
        src/libsystemd/sd-daemon/sd-daemon.c \
-       src/login/sd-login.c \
-       src/login/login-shared.c \
-       src/login/login-shared.h
+       src/libsystemd/sd-login/sd-login.c
 
 nodist_libsystemd_internal_la_SOURCES = \
        src/libsystemd/libsystemd.sym \
@@ -2753,10 +2753,8 @@ if HAVE_ACL
 libudev_core_la_SOURCES += \
        src/udev/udev-builtin-uaccess.c \
        src/login/logind-acl.c \
-       src/login/sd-login.c \
-       src/systemd/sd-login.h \
-       src/login/login-shared.c \
-       src/login/login-shared.h
+       src/libsystemd/sd-login/sd-login.c \
+       src/systemd/sd-login.h
 
 libudev_core_la_LIBADD += \
        libsystemd-acl.la
@@ -4221,9 +4219,7 @@ libsystemd_logind_core_la_SOURCES = \
        src/login/logind-session-dbus.c \
        src/login/logind-seat-dbus.c \
        src/login/logind-user-dbus.c \
-       src/login/logind-acl.h \
-       src/login/login-shared.c \
-       src/login/login-shared.h
+       src/login/logind-acl.h
 
 libsystemd_logind_core_la_LIBADD = \
        libsystemd-label.la \
@@ -4283,7 +4279,7 @@ rootbin_PROGRAMS += \
        systemd-inhibit
 
 test_login_SOURCES = \
-       src/login/test-login.c
+       src/libsystemd/sd-login/test-login.c
 
 test_login_LDADD = \
        libsystemd-internal.la \