chiark / gitweb /
logind: move logind into its own subdirectory
authorLennart Poettering <lennart@poettering.net>
Sat, 31 Dec 2011 02:16:08 +0000 (03:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 31 Dec 2011 02:16:08 +0000 (03:16 +0100)
24 files changed:
Makefile.am
src/login/Makefile [new symlink]
src/login/loginctl.c [moved from src/loginctl.c with 100% similarity]
src/login/logind-acl.c [moved from src/logind-acl.c with 100% similarity]
src/login/logind-acl.h [moved from src/logind-acl.h with 100% similarity]
src/login/logind-dbus.c [moved from src/logind-dbus.c with 100% similarity]
src/login/logind-device.c [moved from src/logind-device.c with 100% similarity]
src/login/logind-device.h [moved from src/logind-device.h with 100% similarity]
src/login/logind-gperf.gperf [moved from src/logind-gperf.gperf with 100% similarity]
src/login/logind-seat-dbus.c [moved from src/logind-seat-dbus.c with 100% similarity]
src/login/logind-seat.c [moved from src/logind-seat.c with 100% similarity]
src/login/logind-seat.h [moved from src/logind-seat.h with 100% similarity]
src/login/logind-session-dbus.c [moved from src/logind-session-dbus.c with 100% similarity]
src/login/logind-session.c [moved from src/logind-session.c with 100% similarity]
src/login/logind-session.h [moved from src/logind-session.h with 100% similarity]
src/login/logind-user-dbus.c [moved from src/logind-user-dbus.c with 100% similarity]
src/login/logind-user.c [moved from src/logind-user.c with 100% similarity]
src/login/logind-user.h [moved from src/logind-user.h with 100% similarity]
src/login/logind.c [moved from src/logind.c with 100% similarity]
src/login/logind.h [moved from src/logind.h with 100% similarity]
src/login/sd-login.c [moved from src/sd-login.c with 100% similarity]
src/login/sd-login.h [moved from src/sd-login.h with 100% similarity]
src/login/test-login.c [moved from src/test-login.c with 100% similarity]
src/login/uaccess.c [moved from src/uaccess.c with 100% similarity]

index 6629d91..f8735de 100644 (file)
@@ -231,7 +231,7 @@ lib_LTLIBRARIES = \
 
 pkginclude_HEADERS = \
        src/sd-daemon.h \
-       src/sd-login.h \
+       src/login/sd-login.h \
         src/sd-id128.h \
         src/journal/sd-journal.h
 
@@ -792,12 +792,12 @@ EXTRA_DIST += \
         src/pager.h \
         src/sysfs-show.h \
         src/polkit.h \
-        src/logind.h \
-        src/logind-device.h \
-        src/logind-seat.h \
-        src/logind-session.h \
-        src/logind-user.h \
-        src/logind-acl.h \
+        src/login/logind.h \
+        src/login/logind-device.h \
+        src/login/logind-seat.h \
+        src/login/logind-session.h \
+        src/login/logind-user.h \
+        src/login/logind-acl.h \
         src/dbus-loop.h \
         src/spawn-agent.h \
         src/journal/journal-def.h \
@@ -1018,7 +1018,7 @@ test_strv_LDADD = \
        libsystemd-basic.la
 
 test_login_SOURCES = \
-       src/test-login.c
+       src/login/test-login.c
 
 test_login_CFLAGS = \
        $(AM_CFLAGS)
@@ -1230,25 +1230,25 @@ systemd_timedated_LDADD = \
        $(DBUS_LIBS)
 
 systemd_logind_SOURCES = \
-       src/logind.c \
-       src/logind-dbus.c \
-        src/logind-device.c \
-        src/logind-seat.c \
-        src/logind-seat-dbus.c \
-        src/logind-session.c \
-        src/logind-session-dbus.c \
-        src/logind-user.c \
-        src/logind-user-dbus.c \
+       src/login/logind.c \
+       src/login/logind-dbus.c \
+        src/login/logind-device.c \
+        src/login/logind-seat.c \
+        src/login/logind-seat-dbus.c \
+        src/login/logind-session.c \
+        src/login/logind-session-dbus.c \
+        src/login/logind-user.c \
+        src/login/logind-user-dbus.c \
         src/dbus-common.c \
         src/dbus-loop.c \
         src/cgroup-util.c \
         src/polkit.c
 
 nodist_systemd_logind_SOURCES = \
-        src/logind-gperf.c
+        src/login/logind-gperf.c
 
 EXTRA_DIST += \
-        src/logind-gperf.gperf
+        src/login/logind-gperf.gperf
 
 systemd_logind_CFLAGS = \
        $(AM_CFLAGS) \
@@ -1264,15 +1264,15 @@ systemd_logind_LDADD = \
         $(ACL_LIBS)
 
 systemd_uaccess_SOURCES = \
-       src/uaccess.c
+       src/login/uaccess.c
 
 if HAVE_ACL
 systemd_logind_SOURCES += \
-       src/logind-acl.c \
+       src/login/logind-acl.c \
         src/acl-util.c
 
 systemd_uaccess_SOURCES += \
-       src/logind-acl.c \
+       src/login/logind-acl.c \
         src/acl-util.c
 endif
 
@@ -1519,7 +1519,7 @@ systemctl_LDADD = \
        $(DBUS_LIBS)
 
 systemd_loginctl_SOURCES = \
-       src/loginctl.c \
+       src/login/loginctl.c \
        src/dbus-common.c \
        src/cgroup-show.c \
        src/cgroup-util.c \
@@ -1720,7 +1720,7 @@ libsystemd-daemon-uninstall-hook:
        rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
 
 libsystemd_login_la_SOURCES = \
-        src/sd-login.c \
+        src/login/sd-login.c \
         src/cgroup-util.c
 
 libsystemd_login_la_CFLAGS = \
@@ -1886,7 +1886,7 @@ CLEANFILES = \
         src/load-fragment-gperf.gperf \
         src/load-fragment-gperf.c \
         src/load-fragment-gperf-nulstr.c \
-        src/logind-gperf.c
+        src/login/logind-gperf.c
 
 if HAVE_VALAC
 CLEANFILES += \
diff --git a/src/login/Makefile b/src/login/Makefile
new file mode 120000 (symlink)
index 0000000..d0b0e8e
--- /dev/null
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file
similarity index 100%
rename from src/loginctl.c
rename to src/login/loginctl.c
similarity index 100%
rename from src/logind-acl.c
rename to src/login/logind-acl.c
similarity index 100%
rename from src/logind-acl.h
rename to src/login/logind-acl.h
similarity index 100%
rename from src/logind-dbus.c
rename to src/login/logind-dbus.c
similarity index 100%
rename from src/logind-seat.c
rename to src/login/logind-seat.c
similarity index 100%
rename from src/logind-seat.h
rename to src/login/logind-seat.h
similarity index 100%
rename from src/logind-user.c
rename to src/login/logind-user.c
similarity index 100%
rename from src/logind-user.h
rename to src/login/logind-user.h
similarity index 100%
rename from src/logind.c
rename to src/login/logind.c
similarity index 100%
rename from src/logind.h
rename to src/login/logind.h
similarity index 100%
rename from src/sd-login.c
rename to src/login/sd-login.c
similarity index 100%
rename from src/sd-login.h
rename to src/login/sd-login.h
similarity index 100%
rename from src/test-login.c
rename to src/login/test-login.c
similarity index 100%
rename from src/uaccess.c
rename to src/login/uaccess.c