summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-23 19:19:11 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-23 21:05:28 +0100
commit8b169c0fc24cd63ab24a5389a93bf2151b0c28eb (patch)
treee71363a0f2a4c9f26db009acca23952f2ed8c2b6
parentf6b6892c49f961cffa2e3075f7884b4a77c443e5 (diff)
build-sys: move core/build.h → shared/build.h
After all, pretty much all our tools include it, and it should hence be shared. Also move sysfs-show.h from core/ to login/, since it has no point to exist in core.
-rw-r--r--Makefile.am6
-rw-r--r--src/login/sysfs-show.h (renamed from src/core/sysfs-show.h)0
-rw-r--r--src/shared/build.h (renamed from src/core/build.h)0
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 96c9fc44f2..f55e6ca0d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -897,7 +897,8 @@ libsystemd_shared_la_SOURCES = \
src/shared/btrfs-util.c \
src/shared/btrfs-util.h \
src/shared/verbs.c \
- src/shared/verbs.h
+ src/shared/verbs.h \
+ src/shared/build.h
if HAVE_UTMP
libsystemd_shared_la_SOURCES += \
@@ -1140,8 +1141,6 @@ libsystemd_core_la_SOURCES = \
src/core/loopback-setup.c \
src/core/namespace.c \
src/core/namespace.h \
- src/core/build.h \
- src/core/sysfs-show.h \
src/core/killall.h \
src/core/killall.c \
src/core/audit-fd.c \
@@ -5507,6 +5506,7 @@ rootlibexec_PROGRAMS += \
loginctl_SOURCES = \
src/login/loginctl.c \
+ src/login/sysfs-show.h \
src/login/sysfs-show.c
loginctl_LDADD = \
diff --git a/src/core/sysfs-show.h b/src/login/sysfs-show.h
index 9ffd129c48..9ffd129c48 100644
--- a/src/core/sysfs-show.h
+++ b/src/login/sysfs-show.h
diff --git a/src/core/build.h b/src/shared/build.h
index 24873ab9d7..24873ab9d7 100644
--- a/src/core/build.h
+++ b/src/shared/build.h