summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-13 11:45:35 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-13 11:45:35 -0400
commita41d8b2e2f8de1b3fc3953acc85a38540678dbae (patch)
treed359441d8b9d1fd3b6669083cacd5ae07501d54f
parent2a75cd50d49bf1ee06f6ed15949af70edb3c89f9 (diff)
parent44b313b1bcbdcda969b37cbb28983bf983fff403 (diff)
Merge branch 'lukeshu/postmove' into lukeshu/master
-rw-r--r--Makefile.am23
-rwxr-xr-xmove.sh21
-rw-r--r--src/grp-network/Makefile6
-rw-r--r--src/grp-udev/.gitignore (renamed from src/udev/.gitignore)0
-rw-r--r--src/grp-udev/.vimrc (renamed from src/udev/.vimrc)0
-rw-r--r--src/grp-udev/Makefile72
-rw-r--r--src/grp-udev/ata_id/Makefile (renamed from src/udev/ata_id/Makefile)0
-rw-r--r--src/grp-udev/ata_id/ata_id.c (renamed from src/udev/ata_id/ata_id.c)0
-rw-r--r--src/grp-udev/cdrom_id/Makefile (renamed from src/udev/cdrom_id/Makefile)0
-rw-r--r--src/grp-udev/cdrom_id/cdrom_id.c (renamed from src/udev/cdrom_id/cdrom_id.c)0
-rw-r--r--src/grp-udev/collect/Makefile (renamed from src/udev/collect/Makefile)0
-rw-r--r--src/grp-udev/collect/collect.c (renamed from src/udev/collect/collect.c)0
-rw-r--r--src/grp-udev/libudev-core/Makefile (renamed from src/udev/Makefile)89
-rw-r--r--src/grp-udev/libudev-core/net/.gitignore (renamed from src/udev/net/.gitignore)0
-rw-r--r--src/grp-udev/libudev-core/net/ethtool-util.c (renamed from src/udev/net/ethtool-util.c)0
-rw-r--r--src/grp-udev/libudev-core/net/ethtool-util.h (renamed from src/udev/net/ethtool-util.h)0
-rw-r--r--src/grp-udev/libudev-core/net/link-config-gperf.gperf (renamed from src/udev/net/link-config-gperf.gperf)0
-rw-r--r--src/grp-udev/libudev-core/net/link-config.c (renamed from src/udev/net/link-config.c)0
-rw-r--r--src/grp-udev/libudev-core/net/link-config.h (renamed from src/udev/net/link-config.h)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-blkid.c (renamed from src/udev/udev-builtin-blkid.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-btrfs.c (renamed from src/udev/udev-builtin-btrfs.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-hwdb.c (renamed from src/udev/udev-builtin-hwdb.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-input_id.c (renamed from src/udev/udev-builtin-input_id.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-keyboard.c (renamed from src/udev/udev-builtin-keyboard.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-kmod.c (renamed from src/udev/udev-builtin-kmod.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-net_id.c (renamed from src/udev/udev-builtin-net_id.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-net_setup_link.c (renamed from src/udev/udev-builtin-net_setup_link.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-path_id.c (renamed from src/udev/udev-builtin-path_id.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-uaccess.c (renamed from src/udev/udev-builtin-uaccess.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin-usb_id.c (renamed from src/udev/udev-builtin-usb_id.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-builtin.c (renamed from src/udev/udev-builtin.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-ctrl.c (renamed from src/udev/udev-ctrl.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-event.c (renamed from src/udev/udev-event.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-node.c (renamed from src/udev/udev-node.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-rules.c (renamed from src/udev/udev-rules.c)0
-rw-r--r--src/grp-udev/libudev-core/udev-watch.c (renamed from src/udev/udev-watch.c)0
-rw-r--r--src/grp-udev/libudev-core/udev.conf (renamed from src/udev/udev.conf)0
-rw-r--r--src/grp-udev/libudev-core/udev.pc.in (renamed from src/udev/udev.pc.in)0
-rw-r--r--src/grp-udev/mtd_probe/Makefile (renamed from src/udev/mtd_probe/Makefile)0
-rw-r--r--src/grp-udev/mtd_probe/mtd_probe.c (renamed from src/udev/mtd_probe/mtd_probe.c)0
-rw-r--r--src/grp-udev/mtd_probe/mtd_probe.h (renamed from src/udev/mtd_probe/mtd_probe.h)0
-rw-r--r--src/grp-udev/mtd_probe/probe_smartmedia.c (renamed from src/udev/mtd_probe/probe_smartmedia.c)0
-rw-r--r--src/grp-udev/scsi_id/.gitignore (renamed from src/udev/scsi_id/.gitignore)0
-rw-r--r--src/grp-udev/scsi_id/Makefile (renamed from src/udev/scsi_id/Makefile)0
-rw-r--r--src/grp-udev/scsi_id/README (renamed from src/udev/scsi_id/README)0
-rw-r--r--src/grp-udev/scsi_id/scsi.h (renamed from src/udev/scsi_id/scsi.h)0
-rw-r--r--src/grp-udev/scsi_id/scsi_id.c (renamed from src/udev/scsi_id/scsi_id.c)0
-rw-r--r--src/grp-udev/scsi_id/scsi_id.h (renamed from src/udev/scsi_id/scsi_id.h)0
-rw-r--r--src/grp-udev/scsi_id/scsi_serial.c (renamed from src/udev/scsi_id/scsi_serial.c)0
-rw-r--r--src/grp-udev/systemd-udevd/Makefile35
-rw-r--r--src/grp-udev/systemd-udevd/udevd.c (renamed from src/udev/udevd.c)0
-rw-r--r--src/grp-udev/udevadm/Makefile45
-rw-r--r--src/grp-udev/udevadm/udevadm-control.c (renamed from src/udev/udevadm-control.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-hwdb.c (renamed from src/udev/udevadm-hwdb.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-info.c (renamed from src/udev/udevadm-info.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-monitor.c (renamed from src/udev/udevadm-monitor.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-settle.c (renamed from src/udev/udevadm-settle.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-test-builtin.c (renamed from src/udev/udevadm-test-builtin.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-test.c (renamed from src/udev/udevadm-test.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-trigger.c (renamed from src/udev/udevadm-trigger.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-util.c (renamed from src/udev/udevadm-util.c)0
-rw-r--r--src/grp-udev/udevadm/udevadm-util.h (renamed from src/udev/udevadm-util.h)0
-rw-r--r--src/grp-udev/udevadm/udevadm.c (renamed from src/udev/udevadm.c)0
-rw-r--r--src/grp-udev/v4l_id/Makefile (renamed from src/udev/v4l_id/Makefile)0
-rw-r--r--src/grp-udev/v4l_id/v4l_id.c (renamed from src/udev/v4l_id/v4l_id.c)0
65 files changed, 196 insertions, 95 deletions
diff --git a/Makefile.am b/Makefile.am
index cf5c307fe0..090f68b1fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3689,16 +3689,18 @@ noinst_LTLIBRARIES += \
libudev_internal_la_SOURCES =\
$(libudev_la_SOURCES)
-#@src/udev/Makefile ------------------------------------------------------------
+#@src/grp-udev/Makefile --------------------------------------------------------
INSTALL_DIRS += \
$(sysconfdir)/udev/rules.d
+#@src/grp-network/Makefile
dist_network_DATA = \
network/99-default.link \
network/80-container-host0.network \
network/80-container-ve.network \
network/80-container-vz.network
+#@src/grp-udev/Makefile
dist_udevrules_DATA += \
rules/50-udev-default.rules \
rules/60-block.rules \
@@ -3742,12 +3744,15 @@ SYSINIT_TARGET_WANTS += \
systemd-udevd.service \
systemd-udev-trigger.service
+#@src/grp-udev/udevadm/Makefile
rootbin_PROGRAMS += \
udevadm
+#@src/grp-udev/systemd-udevd/Makefile
rootlibexec_PROGRAMS += \
systemd-udevd
+#@src/grp-udev/libudev-core/Makefile
noinst_LTLIBRARIES += \
libudev-core.la
@@ -3824,12 +3829,14 @@ libudev_core_la_SOURCES += \
src/systemd/sd-login.h
endif # HAVE_ACL
+#@src/grp-udev/systemd-udevd/Makefile
systemd_udevd_SOURCES = \
src/udev/udevd.c
systemd_udevd_LDADD = \
libudev-core.la
+#@src/grp-udev/udevadm/Makefile
udevadm_SOURCES = \
src/udev/udevadm.c \
src/udev/udevadm-info.c \
@@ -3956,7 +3963,7 @@ EXTRA_DIST += \
test/sysv-generator-test.py \
test/mocks/fsck
-#@src/udev/ata_id/Makefile -----------------------------------------------------
+#@src/grp-udev/ata_id/Makefile -------------------------------------------------
ata_id_SOURCES = \
src/udev/ata_id/ata_id.c
@@ -3966,7 +3973,7 @@ ata_id_LDADD = \
udevlibexec_PROGRAMS += \
ata_id
-#@src/udev/cdrom_id/Makefile ---------------------------------------------------
+#@src/grp-udev/cdrom_id/Makefile -----------------------------------------------
cdrom_id_SOURCES = \
src/udev/cdrom_id/cdrom_id.c
@@ -3979,7 +3986,7 @@ udevlibexec_PROGRAMS += \
dist_udevrules_DATA += \
rules/60-cdrom_id.rules
-#@src/udev/collect/Makefile ----------------------------------------------------
+#@src/grp-udev/collect/Makefile ------------------------------------------------
collect_SOURCES = \
src/udev/collect/collect.c
@@ -3989,7 +3996,7 @@ collect_LDADD = \
udevlibexec_PROGRAMS += \
collect
-#@src/udev/scsi_id/Makefile ----------------------------------------------------
+#@src/grp-udev/scsi_id/Makefile ------------------------------------------------
scsi_id_SOURCES =\
src/udev/scsi_id/scsi_id.c \
src/udev/scsi_id/scsi_serial.c \
@@ -4005,7 +4012,7 @@ udevlibexec_PROGRAMS += \
EXTRA_DIST += \
src/udev/scsi_id/README
-#@src/udev/v4l_id/Makefile -----------------------------------------------------
+#@src/grp-udev/v4l_id/Makefile -------------------------------------------------
v4l_id_SOURCES = \
src/udev/v4l_id/v4l_id.c
@@ -4018,7 +4025,7 @@ udevlibexec_PROGRAMS += \
dist_udevrules_DATA += \
rules/60-persistent-v4l.rules
-#@src/udev/mtd_probe/Makefile --------------------------------------------------
+#@src/grp-udev/mtd_probe/Makefile ----------------------------------------------
mtd_probe_SOURCES = \
src/udev/mtd_probe/mtd_probe.c \
src/udev/mtd_probe/mtd_probe.h \
@@ -4970,7 +4977,7 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-timedated.service.in
-#@src/systemd-timesync/Makefile ------------------------------------------------
+#@src/systemd-timesyncd/Makefile -----------------------------------------------
if ENABLE_TIMESYNCD
systemd_timesyncd_SOURCES = \
src/timesync/timesyncd.c \
diff --git a/move.sh b/move.sh
index a175eb2dfa..c0b577761e 100755
--- a/move.sh
+++ b/move.sh
@@ -77,7 +77,13 @@ move_files() (
mv -T src/{,systemd-}$d
done
- mv -T src/systemd-socket-proxy{,d}
+ dmon=(
+ systemd-socket-proxy
+ systemd-timesync
+ )
+ for d in "${dmon[@]}"; do
+ mv -T "src/$d"{,d}
+ done
mv -T {shell-completion/bash/,src/kernel-install/bash-completion_}kernel-install
mv -T {shell-completion/zsh/_,src/kernel-install/zsh-completion_}kernel-install
@@ -207,6 +213,16 @@ move_files() (
mv -T src/{,grp-}locale
mv -T src/{,grp-}login
mv -T src/{,grp-}network
+ mv -T src/{,grp-}udev
+
+ mkdir src/grp-udev/d-udevadm
+ mv src/grp-udev/udevadm* src/grp-udev/d-udevadm/
+ mkdir src/grp-udev/systemd-udevd
+ mv -T src/grp-udev/{,systemd-udevd}/udevd.c
+ mkdir src/grp-udev/libudev-core
+ mv src/grp-udev/udev* src/grp-udev/libudev-core/
+ mv -T src/grp-udev/{,libudev-core}/net
+ mv -T src/grp-udev/{d-,}udevadm
)
breakup_makefile() (
@@ -257,8 +273,7 @@ fixup_makefiles() (
-e 's/ \$\(AM_CPPFLAGS\) / $(ALL_CPPFLAGS) /g' \
-e '/^[^# ]*:/ { s|\S+/|$(outdir)/|g }' \
src/libbasic/Makefile \
- src/libsystemd/libsystemd-journal-internal/Makefile \
- src/udev/Makefile
+ src/libsystemd/libsystemd-journal-internal/Makefile
find -type f -name Makefile|while read -r filename; do
sed -r -i "s|(/\.\.)*/config.mk|/$(realpath -ms --relative-to="${filename%/*}" config.mk)|" "$filename"
done
diff --git a/src/grp-network/Makefile b/src/grp-network/Makefile
index d43dfdfca8..bed26253e8 100644
--- a/src/grp-network/Makefile
+++ b/src/grp-network/Makefile
@@ -23,6 +23,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
+dist_network_DATA = \
+ network/99-default.link \
+ network/80-container-host0.network \
+ network/80-container-ve.network \
+ network/80-container-vz.network
+
ifneq ($(ENABLE_NETWORKD),)
libexec_PROGRAMS += \
systemd-networkd
diff --git a/src/udev/.gitignore b/src/grp-udev/.gitignore
index f5d8be3dc1..f5d8be3dc1 100644
--- a/src/udev/.gitignore
+++ b/src/grp-udev/.gitignore
diff --git a/src/udev/.vimrc b/src/grp-udev/.vimrc
index 366fbdca4b..366fbdca4b 100644
--- a/src/udev/.vimrc
+++ b/src/grp-udev/.vimrc
diff --git a/src/grp-udev/Makefile b/src/grp-udev/Makefile
new file mode 100644
index 0000000000..cc85f0317f
--- /dev/null
+++ b/src/grp-udev/Makefile
@@ -0,0 +1,72 @@
+# -*- Mode: makefile; indent-tabs-mode: t -*-
+#
+# This file is part of systemd.
+#
+# Copyright 2010-2012 Lennart Poettering
+# Copyright 2010-2012 Kay Sievers
+# Copyright 2013 Zbigniew Jędrzejewski-Szmek
+# Copyright 2013 David Strauss
+# Copyright 2016 Luke Shumaker
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/build-aux/Makefile.head.mk
+
+INSTALL_DIRS += \
+ $(sysconfdir)/udev/rules.d
+
+dist_udevrules_DATA += \
+ rules/50-udev-default.rules \
+ rules/60-block.rules \
+ rules/60-drm.rules \
+ rules/60-evdev.rules \
+ rules/60-persistent-storage-tape.rules \
+ rules/60-persistent-input.rules \
+ rules/60-persistent-alsa.rules \
+ rules/60-persistent-storage.rules \
+ rules/60-serial.rules \
+ rules/64-btrfs.rules \
+ rules/70-mouse.rules \
+ rules/75-net-description.rules \
+ rules/78-sound-card.rules \
+ rules/80-net-setup-link.rules
+
+nodist_udevrules_DATA += \
+ rules/99-systemd.rules
+
+udevconfdir = $(sysconfdir)/udev
+dist_udevconf_DATA = \
+ src/udev/udev.conf
+
+pkgconfigdata_DATA += \
+ src/udev/udev.pc
+
+EXTRA_DIST += \
+ rules/99-systemd.rules.in \
+ src/udev/udev.pc.in
+
+EXTRA_DIST += \
+ units/systemd-udevd.service.in \
+ units/systemd-udev-trigger.service.in \
+ units/systemd-udev-settle.service.in
+
+SOCKETS_TARGET_WANTS += \
+ systemd-udevd-control.socket \
+ systemd-udevd-kernel.socket
+
+SYSINIT_TARGET_WANTS += \
+ systemd-udevd.service \
+ systemd-udev-trigger.service
+
+include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/udev/ata_id/Makefile b/src/grp-udev/ata_id/Makefile
index 00a8c37ac2..00a8c37ac2 100644
--- a/src/udev/ata_id/Makefile
+++ b/src/grp-udev/ata_id/Makefile
diff --git a/src/udev/ata_id/ata_id.c b/src/grp-udev/ata_id/ata_id.c
index 1e414664ce..1e414664ce 100644
--- a/src/udev/ata_id/ata_id.c
+++ b/src/grp-udev/ata_id/ata_id.c
diff --git a/src/udev/cdrom_id/Makefile b/src/grp-udev/cdrom_id/Makefile
index a9297413d3..a9297413d3 100644
--- a/src/udev/cdrom_id/Makefile
+++ b/src/grp-udev/cdrom_id/Makefile
diff --git a/src/udev/cdrom_id/cdrom_id.c b/src/grp-udev/cdrom_id/cdrom_id.c
index 72f284f710..72f284f710 100644
--- a/src/udev/cdrom_id/cdrom_id.c
+++ b/src/grp-udev/cdrom_id/cdrom_id.c
diff --git a/src/udev/collect/Makefile b/src/grp-udev/collect/Makefile
index 60af3b7627..60af3b7627 100644
--- a/src/udev/collect/Makefile
+++ b/src/grp-udev/collect/Makefile
diff --git a/src/udev/collect/collect.c b/src/grp-udev/collect/collect.c
index 349585b634..349585b634 100644
--- a/src/udev/collect/collect.c
+++ b/src/grp-udev/collect/collect.c
diff --git a/src/udev/Makefile b/src/grp-udev/libudev-core/Makefile
index 1c8fbe52a6..34137d8494 100644
--- a/src/udev/Makefile
+++ b/src/grp-udev/libudev-core/Makefile
@@ -20,77 +20,20 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
-INSTALL_DIRS += \
- $(sysconfdir)/udev/rules.d
-
-dist_network_DATA = \
- network/99-default.link \
- network/80-container-host0.network \
- network/80-container-ve.network \
- network/80-container-vz.network
-
-dist_udevrules_DATA += \
- rules/50-udev-default.rules \
- rules/60-block.rules \
- rules/60-drm.rules \
- rules/60-evdev.rules \
- rules/60-persistent-storage-tape.rules \
- rules/60-persistent-input.rules \
- rules/60-persistent-alsa.rules \
- rules/60-persistent-storage.rules \
- rules/60-serial.rules \
- rules/64-btrfs.rules \
- rules/70-mouse.rules \
- rules/75-net-description.rules \
- rules/78-sound-card.rules \
- rules/80-net-setup-link.rules
-
-nodist_udevrules_DATA += \
- rules/99-systemd.rules
-
-udevconfdir = $(sysconfdir)/udev
-dist_udevconf_DATA = \
- src/udev/udev.conf
-
-pkgconfigdata_DATA += \
- src/udev/udev.pc
-
-EXTRA_DIST += \
- rules/99-systemd.rules.in \
- src/udev/udev.pc.in
-
-EXTRA_DIST += \
- units/systemd-udevd.service.in \
- units/systemd-udev-trigger.service.in \
- units/systemd-udev-settle.service.in
-
-SOCKETS_TARGET_WANTS += \
- systemd-udevd-control.socket \
- systemd-udevd-kernel.socket
-
-SYSINIT_TARGET_WANTS += \
- systemd-udevd.service \
- systemd-udev-trigger.service
-
-bin_PROGRAMS += \
- udevadm
-
-libexec_PROGRAMS += \
- systemd-udevd
-
noinst_LTLIBRARIES += \
libudev-core.la
$(outdir)/keyboard-keys-list.txt:
- $(AM_V_GEN)$(CPP) $(ALL_CPPFLAGS) -dM -include linux/input.h - < /dev/null | $(AWK) '/^#define[ \t]+KEY_[^ ]+[ \t]+[0-9K]/ { if ($$2 != "KEY_MAX") { print $$2 } }' > $@
+ $(AM_V_at)$(MKDIR_P) $(dir $@)
+ $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/input.h - < /dev/null | $(AWK) '/^#define[ \t]+KEY_[^ ]+[ \t]+[0-9K]/ { if ($$2 != "KEY_MAX") { print $$2 } }' > $@
-$(outdir)/keyboard-keys-from-name.gperf: $(outdir)/keyboard-keys-list.txt
+$(outdir)/keyboard-keys-from-name.gperf: src/udev/keyboard-keys-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
-$(outdir)/keyboard-keys-from-name.h: $(outdir)/keyboard-keys-from-name.gperf
+$(outdir)/keyboard-keys-from-name.h: src/udev/keyboard-keys-from-name.gperf
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < $< > $@
gperf_txt_sources += \
@@ -156,26 +99,4 @@ libudev_core_la_SOURCES += \
src/systemd/sd-login.h
endif # HAVE_ACL
-systemd_udevd_SOURCES = \
- src/udev/udevd.c
-
-systemd_udevd_LDADD = \
- libudev-core.la
-
-udevadm_SOURCES = \
- src/udev/udevadm.c \
- src/udev/udevadm-info.c \
- src/udev/udevadm-control.c \
- src/udev/udevadm-monitor.c \
- src/udev/udevadm-hwdb.c \
- src/udev/udevadm-settle.c \
- src/udev/udevadm-trigger.c \
- src/udev/udevadm-test.c \
- src/udev/udevadm-test-builtin.c \
- src/udev/udevadm-util.c \
- src/udev/udevadm-util.h
-
-udevadm_LDADD = \
- libudev-core.la
-
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/udev/net/.gitignore b/src/grp-udev/libudev-core/net/.gitignore
index 9ca85bacc9..9ca85bacc9 100644
--- a/src/udev/net/.gitignore
+++ b/src/grp-udev/libudev-core/net/.gitignore
diff --git a/src/udev/net/ethtool-util.c b/src/grp-udev/libudev-core/net/ethtool-util.c
index c00ff79123..c00ff79123 100644
--- a/src/udev/net/ethtool-util.c
+++ b/src/grp-udev/libudev-core/net/ethtool-util.c
diff --git a/src/udev/net/ethtool-util.h b/src/grp-udev/libudev-core/net/ethtool-util.h
index 7716516e76..7716516e76 100644
--- a/src/udev/net/ethtool-util.h
+++ b/src/grp-udev/libudev-core/net/ethtool-util.h
diff --git a/src/udev/net/link-config-gperf.gperf b/src/grp-udev/libudev-core/net/link-config-gperf.gperf
index b25e4b3344..b25e4b3344 100644
--- a/src/udev/net/link-config-gperf.gperf
+++ b/src/grp-udev/libudev-core/net/link-config-gperf.gperf
diff --git a/src/udev/net/link-config.c b/src/grp-udev/libudev-core/net/link-config.c
index 350cd24e9c..350cd24e9c 100644
--- a/src/udev/net/link-config.c
+++ b/src/grp-udev/libudev-core/net/link-config.c
diff --git a/src/udev/net/link-config.h b/src/grp-udev/libudev-core/net/link-config.h
index 9df5529d05..9df5529d05 100644
--- a/src/udev/net/link-config.h
+++ b/src/grp-udev/libudev-core/net/link-config.h
diff --git a/src/udev/udev-builtin-blkid.c b/src/grp-udev/libudev-core/udev-builtin-blkid.c
index 62cd93264b..62cd93264b 100644
--- a/src/udev/udev-builtin-blkid.c
+++ b/src/grp-udev/libudev-core/udev-builtin-blkid.c
diff --git a/src/udev/udev-builtin-btrfs.c b/src/grp-udev/libudev-core/udev-builtin-btrfs.c
index cfaa463804..cfaa463804 100644
--- a/src/udev/udev-builtin-btrfs.c
+++ b/src/grp-udev/libudev-core/udev-builtin-btrfs.c
diff --git a/src/udev/udev-builtin-hwdb.c b/src/grp-udev/libudev-core/udev-builtin-hwdb.c
index b96f39ba20..b96f39ba20 100644
--- a/src/udev/udev-builtin-hwdb.c
+++ b/src/grp-udev/libudev-core/udev-builtin-hwdb.c
diff --git a/src/udev/udev-builtin-input_id.c b/src/grp-udev/libudev-core/udev-builtin-input_id.c
index 51a55cdbc4..51a55cdbc4 100644
--- a/src/udev/udev-builtin-input_id.c
+++ b/src/grp-udev/libudev-core/udev-builtin-input_id.c
diff --git a/src/udev/udev-builtin-keyboard.c b/src/grp-udev/libudev-core/udev-builtin-keyboard.c
index aa10beafb0..aa10beafb0 100644
--- a/src/udev/udev-builtin-keyboard.c
+++ b/src/grp-udev/libudev-core/udev-builtin-keyboard.c
diff --git a/src/udev/udev-builtin-kmod.c b/src/grp-udev/libudev-core/udev-builtin-kmod.c
index 9665f678fd..9665f678fd 100644
--- a/src/udev/udev-builtin-kmod.c
+++ b/src/grp-udev/libudev-core/udev-builtin-kmod.c
diff --git a/src/udev/udev-builtin-net_id.c b/src/grp-udev/libudev-core/udev-builtin-net_id.c
index a7be2a4eed..a7be2a4eed 100644
--- a/src/udev/udev-builtin-net_id.c
+++ b/src/grp-udev/libudev-core/udev-builtin-net_id.c
diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/grp-udev/libudev-core/udev-builtin-net_setup_link.c
index 8e47775135..8e47775135 100644
--- a/src/udev/udev-builtin-net_setup_link.c
+++ b/src/grp-udev/libudev-core/udev-builtin-net_setup_link.c
diff --git a/src/udev/udev-builtin-path_id.c b/src/grp-udev/libudev-core/udev-builtin-path_id.c
index 6e9adc6e96..6e9adc6e96 100644
--- a/src/udev/udev-builtin-path_id.c
+++ b/src/grp-udev/libudev-core/udev-builtin-path_id.c
diff --git a/src/udev/udev-builtin-uaccess.c b/src/grp-udev/libudev-core/udev-builtin-uaccess.c
index 2c27116ae9..2c27116ae9 100644
--- a/src/udev/udev-builtin-uaccess.c
+++ b/src/grp-udev/libudev-core/udev-builtin-uaccess.c
diff --git a/src/udev/udev-builtin-usb_id.c b/src/grp-udev/libudev-core/udev-builtin-usb_id.c
index 587649eff0..587649eff0 100644
--- a/src/udev/udev-builtin-usb_id.c
+++ b/src/grp-udev/libudev-core/udev-builtin-usb_id.c
diff --git a/src/udev/udev-builtin.c b/src/grp-udev/libudev-core/udev-builtin.c
index e6b36f124f..e6b36f124f 100644
--- a/src/udev/udev-builtin.c
+++ b/src/grp-udev/libudev-core/udev-builtin.c
diff --git a/src/udev/udev-ctrl.c b/src/grp-udev/libudev-core/udev-ctrl.c
index f68a09d7a8..f68a09d7a8 100644
--- a/src/udev/udev-ctrl.c
+++ b/src/grp-udev/libudev-core/udev-ctrl.c
diff --git a/src/udev/udev-event.c b/src/grp-udev/libudev-core/udev-event.c
index 8d601c9c2c..8d601c9c2c 100644
--- a/src/udev/udev-event.c
+++ b/src/grp-udev/libudev-core/udev-event.c
diff --git a/src/udev/udev-node.c b/src/grp-udev/libudev-core/udev-node.c
index 5d2997fd8f..5d2997fd8f 100644
--- a/src/udev/udev-node.c
+++ b/src/grp-udev/libudev-core/udev-node.c
diff --git a/src/udev/udev-rules.c b/src/grp-udev/libudev-core/udev-rules.c
index 26fa52cf6c..26fa52cf6c 100644
--- a/src/udev/udev-rules.c
+++ b/src/grp-udev/libudev-core/udev-rules.c
diff --git a/src/udev/udev-watch.c b/src/grp-udev/libudev-core/udev-watch.c
index 9ce5e975de..9ce5e975de 100644
--- a/src/udev/udev-watch.c
+++ b/src/grp-udev/libudev-core/udev-watch.c
diff --git a/src/udev/udev.conf b/src/grp-udev/libudev-core/udev.conf
index 47d1433002..47d1433002 100644
--- a/src/udev/udev.conf
+++ b/src/grp-udev/libudev-core/udev.conf
diff --git a/src/udev/udev.pc.in b/src/grp-udev/libudev-core/udev.pc.in
index a0c2e82d47..a0c2e82d47 100644
--- a/src/udev/udev.pc.in
+++ b/src/grp-udev/libudev-core/udev.pc.in
diff --git a/src/udev/mtd_probe/Makefile b/src/grp-udev/mtd_probe/Makefile
index d7392a8a3b..d7392a8a3b 100644
--- a/src/udev/mtd_probe/Makefile
+++ b/src/grp-udev/mtd_probe/Makefile
diff --git a/src/udev/mtd_probe/mtd_probe.c b/src/grp-udev/mtd_probe/mtd_probe.c
index 462fab7623..462fab7623 100644
--- a/src/udev/mtd_probe/mtd_probe.c
+++ b/src/grp-udev/mtd_probe/mtd_probe.c
diff --git a/src/udev/mtd_probe/mtd_probe.h b/src/grp-udev/mtd_probe/mtd_probe.h
index 68e4954537..68e4954537 100644
--- a/src/udev/mtd_probe/mtd_probe.h
+++ b/src/grp-udev/mtd_probe/mtd_probe.h
diff --git a/src/udev/mtd_probe/probe_smartmedia.c b/src/grp-udev/mtd_probe/probe_smartmedia.c
index 2a7ba17637..2a7ba17637 100644
--- a/src/udev/mtd_probe/probe_smartmedia.c
+++ b/src/grp-udev/mtd_probe/probe_smartmedia.c
diff --git a/src/udev/scsi_id/.gitignore b/src/grp-udev/scsi_id/.gitignore
index 6aebddd809..6aebddd809 100644
--- a/src/udev/scsi_id/.gitignore
+++ b/src/grp-udev/scsi_id/.gitignore
diff --git a/src/udev/scsi_id/Makefile b/src/grp-udev/scsi_id/Makefile
index 7064a864f7..7064a864f7 100644
--- a/src/udev/scsi_id/Makefile
+++ b/src/grp-udev/scsi_id/Makefile
diff --git a/src/udev/scsi_id/README b/src/grp-udev/scsi_id/README
index 9cfe73991c..9cfe73991c 100644
--- a/src/udev/scsi_id/README
+++ b/src/grp-udev/scsi_id/README
diff --git a/src/udev/scsi_id/scsi.h b/src/grp-udev/scsi_id/scsi.h
index a27a84a40a..a27a84a40a 100644
--- a/src/udev/scsi_id/scsi.h
+++ b/src/grp-udev/scsi_id/scsi.h
diff --git a/src/udev/scsi_id/scsi_id.c b/src/grp-udev/scsi_id/scsi_id.c
index 4655691642..4655691642 100644
--- a/src/udev/scsi_id/scsi_id.c
+++ b/src/grp-udev/scsi_id/scsi_id.c
diff --git a/src/udev/scsi_id/scsi_id.h b/src/grp-udev/scsi_id/scsi_id.h
index 5c2e1c28ee..5c2e1c28ee 100644
--- a/src/udev/scsi_id/scsi_id.h
+++ b/src/grp-udev/scsi_id/scsi_id.h
diff --git a/src/udev/scsi_id/scsi_serial.c b/src/grp-udev/scsi_id/scsi_serial.c
index e079e28698..e079e28698 100644
--- a/src/udev/scsi_id/scsi_serial.c
+++ b/src/grp-udev/scsi_id/scsi_serial.c
diff --git a/src/grp-udev/systemd-udevd/Makefile b/src/grp-udev/systemd-udevd/Makefile
new file mode 100644
index 0000000000..f9ddfa6aad
--- /dev/null
+++ b/src/grp-udev/systemd-udevd/Makefile
@@ -0,0 +1,35 @@
+# -*- Mode: makefile; indent-tabs-mode: t -*-
+#
+# This file is part of systemd.
+#
+# Copyright 2010-2012 Lennart Poettering
+# Copyright 2010-2012 Kay Sievers
+# Copyright 2013 Zbigniew Jędrzejewski-Szmek
+# Copyright 2013 David Strauss
+# Copyright 2016 Luke Shumaker
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
+include $(topsrcdir)/build-aux/Makefile.head.mk
+
+libexec_PROGRAMS += \
+ systemd-udevd
+
+systemd_udevd_SOURCES = \
+ src/udev/udevd.c
+
+systemd_udevd_LDADD = \
+ libudev-core.la
+
+include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/udev/udevd.c b/src/grp-udev/systemd-udevd/udevd.c
index 89006e6e3a..89006e6e3a 100644
--- a/src/udev/udevd.c
+++ b/src/grp-udev/systemd-udevd/udevd.c
diff --git a/src/grp-udev/udevadm/Makefile b/src/grp-udev/udevadm/Makefile
new file mode 100644
index 0000000000..0ef003fe60
--- /dev/null
+++ b/src/grp-udev/udevadm/Makefile
@@ -0,0 +1,45 @@
+# -*- Mode: makefile; indent-tabs-mode: t -*-
+#
+# This file is part of systemd.
+#
+# Copyright 2010-2012 Lennart Poettering
+# Copyright 2010-2012 Kay Sievers
+# Copyright 2013 Zbigniew Jędrzejewski-Szmek
+# Copyright 2013 David Strauss
+# Copyright 2016 Luke Shumaker
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
+include $(topsrcdir)/build-aux/Makefile.head.mk
+
+bin_PROGRAMS += \
+ udevadm
+
+udevadm_SOURCES = \
+ src/udev/udevadm.c \
+ src/udev/udevadm-info.c \
+ src/udev/udevadm-control.c \
+ src/udev/udevadm-monitor.c \
+ src/udev/udevadm-hwdb.c \
+ src/udev/udevadm-settle.c \
+ src/udev/udevadm-trigger.c \
+ src/udev/udevadm-test.c \
+ src/udev/udevadm-test-builtin.c \
+ src/udev/udevadm-util.c \
+ src/udev/udevadm-util.h
+
+udevadm_LDADD = \
+ libudev-core.la
+
+include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/udev/udevadm-control.c b/src/grp-udev/udevadm/udevadm-control.c
index 989decbe95..989decbe95 100644
--- a/src/udev/udevadm-control.c
+++ b/src/grp-udev/udevadm/udevadm-control.c
diff --git a/src/udev/udevadm-hwdb.c b/src/grp-udev/udevadm/udevadm-hwdb.c
index 948ad0f5a5..948ad0f5a5 100644
--- a/src/udev/udevadm-hwdb.c
+++ b/src/grp-udev/udevadm/udevadm-hwdb.c
diff --git a/src/udev/udevadm-info.c b/src/grp-udev/udevadm/udevadm-info.c
index 7182668f23..7182668f23 100644
--- a/src/udev/udevadm-info.c
+++ b/src/grp-udev/udevadm/udevadm-info.c
diff --git a/src/udev/udevadm-monitor.c b/src/grp-udev/udevadm/udevadm-monitor.c
index c0ef073476..c0ef073476 100644
--- a/src/udev/udevadm-monitor.c
+++ b/src/grp-udev/udevadm/udevadm-monitor.c
diff --git a/src/udev/udevadm-settle.c b/src/grp-udev/udevadm/udevadm-settle.c
index 6a5dc6e9e4..6a5dc6e9e4 100644
--- a/src/udev/udevadm-settle.c
+++ b/src/grp-udev/udevadm/udevadm-settle.c
diff --git a/src/udev/udevadm-test-builtin.c b/src/grp-udev/udevadm/udevadm-test-builtin.c
index 0b180d03eb..0b180d03eb 100644
--- a/src/udev/udevadm-test-builtin.c
+++ b/src/grp-udev/udevadm/udevadm-test-builtin.c
diff --git a/src/udev/udevadm-test.c b/src/grp-udev/udevadm/udevadm-test.c
index 702dbe5282..702dbe5282 100644
--- a/src/udev/udevadm-test.c
+++ b/src/grp-udev/udevadm/udevadm-test.c
diff --git a/src/udev/udevadm-trigger.c b/src/grp-udev/udevadm/udevadm-trigger.c
index 9d52345d92..9d52345d92 100644
--- a/src/udev/udevadm-trigger.c
+++ b/src/grp-udev/udevadm/udevadm-trigger.c
diff --git a/src/udev/udevadm-util.c b/src/grp-udev/udevadm/udevadm-util.c
index 3539c1d6ab..3539c1d6ab 100644
--- a/src/udev/udevadm-util.c
+++ b/src/grp-udev/udevadm/udevadm-util.c
diff --git a/src/udev/udevadm-util.h b/src/grp-udev/udevadm/udevadm-util.h
index dc712b0d93..dc712b0d93 100644
--- a/src/udev/udevadm-util.h
+++ b/src/grp-udev/udevadm/udevadm-util.h
diff --git a/src/udev/udevadm.c b/src/grp-udev/udevadm/udevadm.c
index a6a873e5de..a6a873e5de 100644
--- a/src/udev/udevadm.c
+++ b/src/grp-udev/udevadm/udevadm.c
diff --git a/src/udev/v4l_id/Makefile b/src/grp-udev/v4l_id/Makefile
index 0641af8065..0641af8065 100644
--- a/src/udev/v4l_id/Makefile
+++ b/src/grp-udev/v4l_id/Makefile
diff --git a/src/udev/v4l_id/v4l_id.c b/src/grp-udev/v4l_id/v4l_id.c
index aec6676a33..aec6676a33 100644
--- a/src/udev/v4l_id/v4l_id.c
+++ b/src/grp-udev/v4l_id/v4l_id.c