summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-31 03:16:08 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-31 03:16:08 +0100
commit4bba9156da3e1df2cee24d10d7cd88c776ef4179 (patch)
treed149a225807351578df3b1567fab3585b4439677
parentfc5e60ee0c64343d1bd08c343275fc1ceff445aa (diff)
logind: move logind into its own subdirectory
-rw-r--r--Makefile.am50
l---------src/login/Makefile1
-rw-r--r--src/login/loginctl.c (renamed from src/loginctl.c)0
-rw-r--r--src/login/logind-acl.c (renamed from src/logind-acl.c)0
-rw-r--r--src/login/logind-acl.h (renamed from src/logind-acl.h)0
-rw-r--r--src/login/logind-dbus.c (renamed from src/logind-dbus.c)0
-rw-r--r--src/login/logind-device.c (renamed from src/logind-device.c)0
-rw-r--r--src/login/logind-device.h (renamed from src/logind-device.h)0
-rw-r--r--src/login/logind-gperf.gperf (renamed from src/logind-gperf.gperf)0
-rw-r--r--src/login/logind-seat-dbus.c (renamed from src/logind-seat-dbus.c)0
-rw-r--r--src/login/logind-seat.c (renamed from src/logind-seat.c)0
-rw-r--r--src/login/logind-seat.h (renamed from src/logind-seat.h)0
-rw-r--r--src/login/logind-session-dbus.c (renamed from src/logind-session-dbus.c)0
-rw-r--r--src/login/logind-session.c (renamed from src/logind-session.c)0
-rw-r--r--src/login/logind-session.h (renamed from src/logind-session.h)0
-rw-r--r--src/login/logind-user-dbus.c (renamed from src/logind-user-dbus.c)0
-rw-r--r--src/login/logind-user.c (renamed from src/logind-user.c)0
-rw-r--r--src/login/logind-user.h (renamed from src/logind-user.h)0
-rw-r--r--src/login/logind.c (renamed from src/logind.c)0
-rw-r--r--src/login/logind.h (renamed from src/logind.h)0
-rw-r--r--src/login/sd-login.c (renamed from src/sd-login.c)0
-rw-r--r--src/login/sd-login.h (renamed from src/sd-login.h)0
-rw-r--r--src/login/test-login.c (renamed from src/test-login.c)0
-rw-r--r--src/login/uaccess.c (renamed from src/uaccess.c)0
24 files changed, 26 insertions, 25 deletions
diff --git a/Makefile.am b/Makefile.am
index 6629d91b96..f8735dee82 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
index 0000000000..d0b0e8e008
--- /dev/null
+++ b/src/login/Makefile
@@ -0,0 +1 @@
+../Makefile \ No newline at end of file
diff --git a/src/loginctl.c b/src/login/loginctl.c
index 1be47c8dde..1be47c8dde 100644
--- a/src/loginctl.c
+++ b/src/login/loginctl.c
diff --git a/src/logind-acl.c b/src/login/logind-acl.c
index eb8a48d191..eb8a48d191 100644
--- a/src/logind-acl.c
+++ b/src/login/logind-acl.c
diff --git a/src/logind-acl.h b/src/login/logind-acl.h
index 72740f5b95..72740f5b95 100644
--- a/src/logind-acl.h
+++ b/src/login/logind-acl.h
diff --git a/src/logind-dbus.c b/src/login/logind-dbus.c
index 0550d1bd1c..0550d1bd1c 100644
--- a/src/logind-dbus.c
+++ b/src/login/logind-dbus.c
diff --git a/src/logind-device.c b/src/login/logind-device.c
index bbd370fbff..bbd370fbff 100644
--- a/src/logind-device.c
+++ b/src/login/logind-device.c
diff --git a/src/logind-device.h b/src/login/logind-device.h
index e25a5344ef..e25a5344ef 100644
--- a/src/logind-device.h
+++ b/src/login/logind-device.h
diff --git a/src/logind-gperf.gperf b/src/login/logind-gperf.gperf
index 940fe10e89..940fe10e89 100644
--- a/src/logind-gperf.gperf
+++ b/src/login/logind-gperf.gperf
diff --git a/src/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
index 3a916eef78..3a916eef78 100644
--- a/src/logind-seat-dbus.c
+++ b/src/login/logind-seat-dbus.c
diff --git a/src/logind-seat.c b/src/login/logind-seat.c
index 3cf3958c8d..3cf3958c8d 100644
--- a/src/logind-seat.c
+++ b/src/login/logind-seat.c
diff --git a/src/logind-seat.h b/src/login/logind-seat.h
index 5bce1434e9..5bce1434e9 100644
--- a/src/logind-seat.h
+++ b/src/login/logind-seat.h
diff --git a/src/logind-session-dbus.c b/src/login/logind-session-dbus.c
index dc0ef5b3d6..dc0ef5b3d6 100644
--- a/src/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
diff --git a/src/logind-session.c b/src/login/logind-session.c
index 63ee75808b..63ee75808b 100644
--- a/src/logind-session.c
+++ b/src/login/logind-session.c
diff --git a/src/logind-session.h b/src/login/logind-session.h
index 8e394ac0d8..8e394ac0d8 100644
--- a/src/logind-session.h
+++ b/src/login/logind-session.h
diff --git a/src/logind-user-dbus.c b/src/login/logind-user-dbus.c
index 3673a28bd4..3673a28bd4 100644
--- a/src/logind-user-dbus.c
+++ b/src/login/logind-user-dbus.c
diff --git a/src/logind-user.c b/src/login/logind-user.c
index 56c7de4400..56c7de4400 100644
--- a/src/logind-user.c
+++ b/src/login/logind-user.c
diff --git a/src/logind-user.h b/src/login/logind-user.h
index db9a5f6a34..db9a5f6a34 100644
--- a/src/logind-user.h
+++ b/src/login/logind-user.h
diff --git a/src/logind.c b/src/login/logind.c
index 4633a5ef29..4633a5ef29 100644
--- a/src/logind.c
+++ b/src/login/logind.c
diff --git a/src/logind.h b/src/login/logind.h
index fd668a2c19..fd668a2c19 100644
--- a/src/logind.h
+++ b/src/login/logind.h
diff --git a/src/sd-login.c b/src/login/sd-login.c
index a0a56c4952..a0a56c4952 100644
--- a/src/sd-login.c
+++ b/src/login/sd-login.c
diff --git a/src/sd-login.h b/src/login/sd-login.h
index 0cb0bf06bb..0cb0bf06bb 100644
--- a/src/sd-login.h
+++ b/src/login/sd-login.h
diff --git a/src/test-login.c b/src/login/test-login.c
index 7d6f08202d..7d6f08202d 100644
--- a/src/test-login.c
+++ b/src/login/test-login.c
diff --git a/src/uaccess.c b/src/login/uaccess.c
index 49ac4af0f4..49ac4af0f4 100644
--- a/src/uaccess.c
+++ b/src/login/uaccess.c