]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - Makefile.am
udev: Add rules for accelerometer orientation quirks
[thirdparty/systemd.git] / Makefile.am
index 1031e797b38b57e1d8adbeb7f3e1495bf2117717..bef8441a5dc0bc28ea73f1ac653a56849e3a1f4f 100644 (file)
@@ -55,6 +55,8 @@ pamconfdir=@pamconfdir@
 pkgconfigdatadir=$(datadir)/pkgconfig
 pkgconfiglibdir=$(libdir)/pkgconfig
 polkitpolicydir=$(datadir)/polkit-1/actions
+polkitrulesdir=$(datadir)/polkit-1/rules.d
+polkitpkladir=$(localstatedir)/lib/polkit-1/localauthority/10-vendor.d
 bashcompletiondir=@bashcompletiondir@
 zshcompletiondir=@zshcompletiondir@
 rpmmacrosdir=$(prefix)/lib/rpm/macros.d
@@ -116,6 +118,8 @@ pkgconfiglib_DATA =
 polkitpolicy_in_in_files =
 polkitpolicy_in_files =
 polkitpolicy_files =
+polkitrules_files =
+polkitpkla_files =
 dist_udevrules_DATA =
 nodist_udevrules_DATA =
 dist_pkgsysconf_DATA =
@@ -525,6 +529,7 @@ nodist_systemunit_DATA = \
        units/serial-getty@.service \
        units/console-getty.service \
        units/container-getty@.service \
+       units/system-update-cleanup.service \
        units/systemd-initctl.service \
        units/systemd-remount-fs.service \
        units/systemd-ask-password-wall.service \
@@ -588,6 +593,7 @@ EXTRA_DIST += \
        units/console-getty.service.m4.in \
        units/container-getty@.service.m4.in \
        units/rescue.service.in \
+       units/system-update-cleanup.service.in \
        units/systemd-initctl.service.in \
        units/systemd-remount-fs.service.in \
        units/systemd-update-utmp.service.in \
@@ -633,7 +639,6 @@ EXTRA_DIST += \
        units/halt-local.service.in
 
 GENERAL_ALIASES += \
-       $(systemunitdir)/reboot.target $(pkgsysconfdir)/system/ctrl-alt-del.target \
        $(systemunitdir)/machines.target $(pkgsysconfdir)/system/multi-user.target.wants/machines.target
 
 dist_doc_DATA = \
@@ -932,7 +937,7 @@ libbasic_la_SOURCES = \
        src/basic/copy.h \
        src/basic/alloc-util.h \
        src/basic/alloc-util.c \
-       src/basic/formats-util.h \
+       src/basic/format-util.h \
        src/basic/nss-util.h
 
 nodist_libbasic_la_SOURCES = \
@@ -1685,6 +1690,10 @@ EXTRA_DIST += \
        test/test-execute/exec-runtimedirectory-mode.service \
        test/test-execute/exec-runtimedirectory-owner.service \
        test/test-execute/exec-runtimedirectory-owner-nfsnobody.service \
+       test/test-execute/exec-restrict-namespaces-no.service \
+       test/test-execute/exec-restrict-namespaces-yes.service \
+       test/test-execute/exec-restrict-namespaces-mnt.service \
+       test/test-execute/exec-restrict-namespaces-mnt-blacklist.service \
        test/bus-policy/hello.conf \
        test/bus-policy/methods.conf \
        test/bus-policy/ownerships.conf \
@@ -3694,6 +3703,7 @@ dist_udevrules_DATA += \
        rules/60-persistent-input.rules \
        rules/60-persistent-alsa.rules \
        rules/60-persistent-storage.rules \
+       rules/60-sensor.rules \
        rules/60-serial.rules \
        rules/64-btrfs.rules \
        rules/70-mouse.rules \
@@ -3863,6 +3873,7 @@ dist_udevhwdb_DATA = \
        hwdb/20-net-ifname.hwdb \
        hwdb/60-evdev.hwdb \
        hwdb/60-keyboard.hwdb \
+       hwdb/60-sensor.hwdb \
        hwdb/70-mouse.hwdb \
        hwdb/70-pointingstick.hwdb \
        hwdb/70-touchpad.hwdb
@@ -3890,7 +3901,8 @@ EXTRA_DIST += \
 # ------------------------------------------------------------------------------
 if ENABLE_TESTS
 TESTS += \
-       test/udev-test.pl
+       test/udev-test.pl \
+       test/hwdb-test.sh
 
 if HAVE_PYTHON
 TESTS += \
@@ -3945,6 +3957,7 @@ DISTCLEAN_LOCAL_HOOKS += test-sys-distclean
 EXTRA_DIST += \
        test/sys.tar.xz \
        test/udev-test.pl \
+       test/hwdb-test.sh \
        test/rule-syntax-check.py \
        test/sysv-generator-test.py \
        test/mocks/fsck \
@@ -5611,37 +5624,39 @@ libnetworkd_core_la_CFLAGS = \
 
 libnetworkd_core_la_SOURCES = \
        src/libsystemd-network/network-internal.h \
-       src/network/networkd.h \
+       src/network/netdev/netdev.h \
+       src/network/netdev/netdev.c \
+       src/network/netdev/vrf.h \
+       src/network/netdev/vrf.c \
+       src/network/netdev/tunnel.h \
+       src/network/netdev/tunnel.c \
+       src/network/netdev/veth.h \
+       src/network/netdev/veth.c \
+       src/network/netdev/vxlan.h \
+       src/network/netdev/vxlan.c \
+       src/network/netdev/vlan.h \
+       src/network/netdev/vlan.c \
+       src/network/netdev/macvlan.h \
+       src/network/netdev/macvlan.c \
+       src/network/netdev/ipvlan.h \
+       src/network/netdev/ipvlan.c \
+       src/network/netdev/dummy.h \
+       src/network/netdev/dummy.c \
+       src/network/netdev/tuntap.h \
+       src/network/netdev/tuntap.c \
+       src/network/netdev/bond.h \
+       src/network/netdev/bond.c \
+       src/network/netdev/bridge.h \
+       src/network/netdev/bridge.c \
+       src/network/netdev/vcan.h \
+       src/network/netdev/vcan.c \
+       src/network/networkd-manager.h \
+       src/network/networkd-manager.c \
+       src/network/networkd-manager-bus.c \
        src/network/networkd-conf.h \
        src/network/networkd-conf.c \
        src/network/networkd-link.h \
        src/network/networkd-link.c \
-       src/network/networkd-netdev.h \
-       src/network/networkd-netdev.c \
-       src/network/networkd-netdev-vrf.h \
-       src/network/networkd-netdev-vrf.c \
-       src/network/networkd-netdev-tunnel.h \
-       src/network/networkd-netdev-tunnel.c \
-       src/network/networkd-netdev-veth.h \
-       src/network/networkd-netdev-veth.c \
-       src/network/networkd-netdev-vxlan.h \
-       src/network/networkd-netdev-vxlan.c \
-       src/network/networkd-netdev-vlan.h \
-       src/network/networkd-netdev-vlan.c \
-       src/network/networkd-netdev-macvlan.h \
-       src/network/networkd-netdev-macvlan.c \
-       src/network/networkd-netdev-ipvlan.h \
-       src/network/networkd-netdev-ipvlan.c \
-       src/network/networkd-netdev-dummy.h \
-       src/network/networkd-netdev-dummy.c \
-       src/network/networkd-netdev-tuntap.h \
-       src/network/networkd-netdev-tuntap.c \
-       src/network/networkd-netdev-bond.h \
-       src/network/networkd-netdev-bond.c \
-       src/network/networkd-netdev-bridge.h \
-       src/network/networkd-netdev-bridge.c \
-       src/network/networkd-netdev-vcan.h \
-       src/network/networkd-netdev-vcan.c \
        src/network/networkd-link-bus.c \
        src/network/networkd-ipv4ll.c \
        src/network/networkd-dhcp4.c \
@@ -5655,8 +5670,6 @@ libnetworkd_core_la_SOURCES = \
        src/network/networkd-address.c \
        src/network/networkd-route.h \
        src/network/networkd-route.c \
-       src/network/networkd-manager.c \
-       src/network/networkd-manager-bus.c \
        src/network/networkd-fdb.h \
        src/network/networkd-fdb.c \
        src/network/networkd-brvlan.h \
@@ -5671,7 +5684,7 @@ libnetworkd_core_la_SOURCES = \
 nodist_libnetworkd_core_la_SOURCES = \
        src/network/networkd-gperf.c \
        src/network/networkd-network-gperf.c \
-       src/network/networkd-netdev-gperf.c
+       src/network/netdev/netdev-gperf.c
 
 libnetworkd_core_la_LIBADD = \
        libsystemd-network.la \
@@ -5685,11 +5698,11 @@ systemd_networkd_wait_online_CFLAGS = \
 
 systemd_networkd_wait_online_SOURCES = \
        src/libsystemd-network/network-internal.h \
-       src/network/networkd-wait-online.h \
-       src/network/networkd-wait-online-link.h \
-       src/network/networkd-wait-online.c \
-       src/network/networkd-wait-online-manager.c \
-       src/network/networkd-wait-online-link.c
+       src/network/wait-online/link.h \
+       src/network/wait-online/link.c \
+       src/network/wait-online/manager.h \
+       src/network/wait-online/manager.c \
+       src/network/wait-online/wait-online.c
 
 systemd_networkd_wait_online_LDADD = \
        libsystemd-network.la \
@@ -5708,6 +5721,9 @@ networkctl_LDADD = \
 dist_bashcompletion_data += \
        shell-completion/bash/networkctl
 
+dist_zshcompletion_data += \
+       shell-completion/zsh/_networkctl
+
 test_networkd_conf_SOURCES = \
        src/network/test-networkd-conf.c
 
@@ -5770,14 +5786,22 @@ SYSTEM_UNIT_ALIASES += \
 BUSNAMES_TARGET_WANTS += \
        org.freedesktop.network1.busname
 
+polkitrules_files += \
+       src/network/systemd-networkd.rules
+
+polkitpkla_files += \
+       src/network/systemd-networkd.pkla
+
 endif
 
 gperf_gperf_sources += \
        src/network/networkd-gperf.gperf \
        src/network/networkd-network-gperf.gperf \
-       src/network/networkd-netdev-gperf.gperf
+       src/network/netdev/netdev-gperf.gperf
 
 EXTRA_DIST += \
+       src/network/systemd-networkd.rules \
+       src/network/systemd-networkd.pkla \
        units/systemd-networkd.service.m4.in \
        units/systemd-networkd-wait-online.service.in \
        test/networkd-test.py
@@ -6056,6 +6080,7 @@ EXTRA_DIST += \
 
 # ------------------------------------------------------------------------------
 substitutions = \
+       '|rootlibdir=$(rootlibdir)|' \
        '|rootlibexecdir=$(rootlibexecdir)|' \
        '|rootbindir=$(rootbindir)|' \
        '|bindir=$(bindir)|' \
@@ -6185,6 +6210,8 @@ if ENABLE_POLKIT
 nodist_polkitpolicy_DATA = \
        $(polkitpolicy_files) \
        $(polkitpolicy_in_in_files:.policy.in.in=.policy)
+polkitrules_DATA = $(polkitrules_files)
+polkitpkla_DATA = $(polkitpkla_files)
 endif
 
 EXTRA_DIST += \