]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: use files() for libcore_sources too
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Jun 2022 21:58:28 +0000 (23:58 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 2 Jun 2022 05:53:14 +0000 (07:53 +0200)
C.f. f1b98127ff6320648cc3dc876f3b6a5aa3af204b.

src/core/meson.build

index 1e8b6dc310c6fed6260a693da585f041dbfd9c02..052844c8bf34a270f9135febe6e47a7aae6e89b4 100644 (file)
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-libcore_sources = '''
-        apparmor-setup.c
-        apparmor-setup.h
-        audit-fd.c
-        audit-fd.h
-        automount.c
-        automount.h
-        bpf-devices.c
-        bpf-devices.h
-        bpf-firewall.c
-        bpf-firewall.h
-        bpf-foreign.c
-        bpf-foreign.h
-        bpf-lsm.c
-        bpf-lsm.h
-        bpf-socket-bind.c
-        bpf-socket-bind.h
-        cgroup.c
-        cgroup.h
-        core-varlink.c
-        core-varlink.h
-        dbus-automount.c
-        dbus-automount.h
-        dbus-cgroup.c
-        dbus-cgroup.h
-        dbus-device.c
-        dbus-device.h
-        dbus-execute.c
-        dbus-execute.h
-        dbus-job.c
-        dbus-job.h
-        dbus-kill.c
-        dbus-kill.h
-        dbus-manager.c
-        dbus-manager.h
-        dbus-mount.c
-        dbus-mount.h
-        dbus-path.c
-        dbus-path.h
-        dbus-scope.c
-        dbus-scope.h
-        dbus-service.c
-        dbus-service.h
-        dbus-slice.c
-        dbus-slice.h
-        dbus-socket.c
-        dbus-socket.h
-        dbus-swap.c
-        dbus-swap.h
-        dbus-target.c
-        dbus-target.h
-        dbus-timer.c
-        dbus-timer.h
-        dbus-unit.c
-        dbus-unit.h
-        dbus-util.c
-        dbus-util.h
-        dbus.c
-        dbus.h
-        device.c
-        device.h
-        dynamic-user.c
-        dynamic-user.h
-        efi-random.c
-        efi-random.h
-        emergency-action.c
-        emergency-action.h
-        execute.c
-        execute.h
-        generator-setup.c
-        generator-setup.h
-        ima-setup.c
-        ima-setup.h
-        import-creds.c
-        import-creds.h
-        job.c
-        job.h
-        kill.c
-        kill.h
-        kmod-setup.c
-        kmod-setup.h
-        load-dropin.c
-        load-dropin.h
-        load-fragment.c
-        load-fragment.h
-        locale-setup.c
-        locale-setup.h
-        manager-dump.c
-        manager-dump.h
-        manager-serialize.c
-        manager-serialize.h
-        manager.c
-        manager.h
-        mount.c
-        mount.h
-        namespace.c
-        namespace.h
-        path.c
-        path.h
-        restrict-ifaces.c
-        restrict-ifaces.h
-        scope.c
-        scope.h
-        selinux-access.c
-        selinux-access.h
-        selinux-setup.c
-        selinux-setup.h
-        service.c
-        service.h
-        show-status.c
-        show-status.h
-        slice.c
-        slice.h
-        smack-setup.c
-        smack-setup.h
-        socket.c
-        socket.h
-        swap.c
-        swap.h
-        target.c
-        target.h
-        timer.c
-        timer.h
-        transaction.c
-        transaction.h
-        unit-dependency-atom.c
-        unit-dependency-atom.h
-        unit-printf.c
-        unit-printf.h
-        unit-serialize.c
-        unit-serialize.h
-        unit.c
-        unit.h
-'''.split()
+libcore_sources = files(
+        'apparmor-setup.c',
+        'apparmor-setup.h',
+        'audit-fd.c',
+        'audit-fd.h',
+        'automount.c',
+        'automount.h',
+        'bpf-devices.c',
+        'bpf-devices.h',
+        'bpf-firewall.c',
+        'bpf-firewall.h',
+        'bpf-foreign.c',
+        'bpf-foreign.h',
+        'bpf-lsm.c',
+        'bpf-lsm.h',
+        'bpf-socket-bind.c',
+        'bpf-socket-bind.h',
+        'cgroup.c',
+        'cgroup.h',
+        'core-varlink.c',
+        'core-varlink.h',
+        'dbus-automount.c',
+        'dbus-automount.h',
+        'dbus-cgroup.c',
+        'dbus-cgroup.h',
+        'dbus-device.c',
+        'dbus-device.h',
+        'dbus-execute.c',
+        'dbus-execute.h',
+        'dbus-job.c',
+        'dbus-job.h',
+        'dbus-kill.c',
+        'dbus-kill.h',
+        'dbus-manager.c',
+        'dbus-manager.h',
+        'dbus-mount.c',
+        'dbus-mount.h',
+        'dbus-path.c',
+        'dbus-path.h',
+        'dbus-scope.c',
+        'dbus-scope.h',
+        'dbus-service.c',
+        'dbus-service.h',
+        'dbus-slice.c',
+        'dbus-slice.h',
+        'dbus-socket.c',
+        'dbus-socket.h',
+        'dbus-swap.c',
+        'dbus-swap.h',
+        'dbus-target.c',
+        'dbus-target.h',
+        'dbus-timer.c',
+        'dbus-timer.h',
+        'dbus-unit.c',
+        'dbus-unit.h',
+        'dbus-util.c',
+        'dbus-util.h',
+        'dbus.c',
+        'dbus.h',
+        'device.c',
+        'device.h',
+        'dynamic-user.c',
+        'dynamic-user.h',
+        'efi-random.c',
+        'efi-random.h',
+        'emergency-action.c',
+        'emergency-action.h',
+        'execute.c',
+        'execute.h',
+        'generator-setup.c',
+        'generator-setup.h',
+        'ima-setup.c',
+        'ima-setup.h',
+        'import-creds.c',
+        'import-creds.h',
+        'job.c',
+        'job.h',
+        'kill.c',
+        'kill.h',
+        'kmod-setup.c',
+        'kmod-setup.h',
+        'load-dropin.c',
+        'load-dropin.h',
+        'load-fragment.c',
+        'load-fragment.h',
+        'locale-setup.c',
+        'locale-setup.h',
+        'manager-dump.c',
+        'manager-dump.h',
+        'manager-serialize.c',
+        'manager-serialize.h',
+        'manager.c',
+        'manager.h',
+        'mount.c',
+        'mount.h',
+        'namespace.c',
+        'namespace.h',
+        'path.c',
+        'path.h',
+        'restrict-ifaces.c',
+        'restrict-ifaces.h',
+        'scope.c',
+        'scope.h',
+        'selinux-access.c',
+        'selinux-access.h',
+        'selinux-setup.c',
+        'selinux-setup.h',
+        'service.c',
+        'service.h',
+        'show-status.c',
+        'show-status.h',
+        'slice.c',
+        'slice.h',
+        'smack-setup.c',
+        'smack-setup.h',
+        'socket.c',
+        'socket.h',
+        'swap.c',
+        'swap.h',
+        'target.c',
+        'target.h',
+        'timer.c',
+        'timer.h',
+        'transaction.c',
+        'transaction.h',
+        'unit-dependency-atom.c',
+        'unit-dependency-atom.h',
+        'unit-printf.c',
+        'unit-printf.h',
+        'unit-serialize.c',
+        'unit-serialize.h',
+        'unit.c',
+        'unit.h',
+)
 
 subdir('bpf')