]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: do not use split() in file lists
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Mar 2022 13:49:32 +0000 (14:49 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Mar 2022 13:49:32 +0000 (14:49 +0100)
The approach to use '''…'''.split() instead of a list of strings was initially
used when converting from automake because it allowed identical blocks of lines
to be used for both, making the conversion easier.

But over the years we have been using normal lists more and more, especially
when there were just a few filenames listed. This converts the rest.

No functional change.

27 files changed:
catalog/meson.build
hwdb.d/meson.build
rules.d/meson.build
src/analyze/meson.build
src/basic/meson.build
src/coredump/meson.build
src/home/meson.build
src/journal-remote/meson.build
src/journal/meson.build
src/libsystemd-network/meson.build
src/libsystemd/meson.build
src/locale/meson.build
src/login/meson.build
src/machine/meson.build
src/network/meson.build
src/nspawn/meson.build
src/oom/meson.build
src/partition/meson.build
src/portable/meson.build
src/pstore/meson.build
src/resolve/meson.build
src/shared/meson.build
src/shutdown/meson.build
src/sysext/meson.build
src/systemd/meson.build
src/udev/meson.build
src/userdb/meson.build

index a20189d31491bbc62a2ce07623b3895c93adf272..6a0a2193a2732045edcb6086b8526837c13c340d 100644 (file)
@@ -1,19 +1,18 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-in_files = '''
-        systemd.bg.catalog
-        systemd.be.catalog
-        systemd.be@latin.catalog
-        systemd.de.catalog
-        systemd.fr.catalog
-        systemd.it.catalog
-        systemd.pl.catalog
-        systemd.pt_BR.catalog
-        systemd.ru.catalog
-        systemd.zh_CN.catalog
-        systemd.zh_TW.catalog
-        systemd.catalog
-'''.split()
+in_files = [
+        'systemd.bg.catalog',
+        'systemd.be.catalog',
+        'systemd.be@latin.catalog',
+        'systemd.de.catalog',
+        'systemd.fr.catalog',
+        'systemd.it.catalog',
+        'systemd.pl.catalog',
+        'systemd.pt_BR.catalog',
+        'systemd.ru.catalog',
+        'systemd.zh_CN.catalog',
+        'systemd.zh_TW.catalog',
+        'systemd.catalog']
 
 support_url = get_option('support-url')
 support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
index fc72ebb2bd13139acb566d8e92e73b9748ba5d21..21079d077a3fb4e4b4649b35931275329604244e 100644 (file)
@@ -3,39 +3,37 @@
 # Those files right now are not supported by the grammar. Also,
 # they are very long but quite repetitive and the parser is not very fast.
 # So we don't "test" them.
-hwdb_files_notest = files('''
-        README
-        20-dmi-id.hwdb
-        20-pci-vendor-model.hwdb
-        20-pci-classes.hwdb
-        20-usb-vendor-model.hwdb
-        20-usb-classes.hwdb
-        20-sdio-vendor-model.hwdb
-        20-sdio-classes.hwdb
-        20-bluetooth-vendor-product.hwdb
-        20-acpi-vendor.hwdb
-        20-OUI.hwdb
-        20-net-ifname.hwdb
-        20-vmbus-class.hwdb
-'''.split())
+hwdb_files_notest = files(
+        'README',
+        '20-dmi-id.hwdb',
+        '20-pci-vendor-model.hwdb',
+        '20-pci-classes.hwdb',
+        '20-usb-vendor-model.hwdb',
+        '20-usb-classes.hwdb',
+        '20-sdio-vendor-model.hwdb',
+        '20-sdio-classes.hwdb',
+        '20-bluetooth-vendor-product.hwdb',
+        '20-acpi-vendor.hwdb',
+        '20-OUI.hwdb',
+        '20-net-ifname.hwdb',
+        '20-vmbus-class.hwdb')
 
-hwdb_files_test = files('''
-        60-autosuspend.hwdb
-        60-autosuspend-fingerprint-reader.hwdb
-        60-evdev.hwdb
-        60-input-id.hwdb
-        60-keyboard.hwdb
-        60-seat.hwdb
-        60-sensor.hwdb
-        70-analyzers.hwdb
-        70-cameras.hwdb
-        70-joystick.hwdb
-        70-mouse.hwdb
-        70-pda.hwdb
-        70-pointingstick.hwdb
-        70-touchpad.hwdb
-        80-ieee1394-unit-function.hwdb
-'''.split())
+hwdb_files_test = files(
+        '60-autosuspend.hwdb',
+        '60-autosuspend-fingerprint-reader.hwdb',
+        '60-evdev.hwdb',
+        '60-input-id.hwdb',
+        '60-keyboard.hwdb',
+        '60-seat.hwdb',
+        '60-sensor.hwdb',
+        '70-analyzers.hwdb',
+        '70-cameras.hwdb',
+        '70-joystick.hwdb',
+        '70-mouse.hwdb',
+        '70-pda.hwdb',
+        '70-pointingstick.hwdb',
+        '70-touchpad.hwdb',
+        '80-ieee1394-unit-function.hwdb')
 
 if conf.get('ENABLE_HWDB') == 1
         auto_suspend_rules = custom_target(
index 5cecddb34f668bf9e962589876fd2babd8bfec0a..e6533e001a5fc484ce40908c4e3e2bb7fbf1783a 100644 (file)
@@ -4,31 +4,30 @@ install_data(
         'README',
         install_dir : udevrulesdir)
 
-rules = files('''
-        60-autosuspend.rules
-        60-block.rules
-        60-cdrom_id.rules
-        60-drm.rules
-        60-evdev.rules
-        60-fido-id.rules
-        60-input-id.rules
-        60-persistent-alsa.rules
-        60-persistent-input.rules
-        60-persistent-storage.rules
-        60-persistent-storage-tape.rules
-        60-persistent-v4l.rules
-        60-sensor.rules
-        60-serial.rules
-        70-camera.rules
-        70-joystick.rules
-        70-mouse.rules
-        70-touchpad.rules
-        75-net-description.rules
-        75-probe_mtd.rules
-        78-sound-card.rules
-        80-net-setup-link.rules
-        81-net-dhcp.rules
-'''.split())
+rules = files(
+        '60-autosuspend.rules',
+        '60-block.rules',
+        '60-cdrom_id.rules',
+        '60-drm.rules',
+        '60-evdev.rules',
+        '60-fido-id.rules',
+        '60-input-id.rules',
+        '60-persistent-alsa.rules',
+        '60-persistent-input.rules',
+        '60-persistent-storage.rules',
+        '60-persistent-storage-tape.rules',
+        '60-persistent-v4l.rules',
+        '60-sensor.rules',
+        '60-serial.rules',
+        '70-camera.rules',
+        '70-joystick.rules',
+        '70-mouse.rules',
+        '70-touchpad.rules',
+        '75-net-description.rules',
+        '75-probe_mtd.rules',
+        '78-sound-card.rules',
+        '80-net-setup-link.rules',
+        '81-net-dhcp.rules')
 
 if conf.get('HAVE_KMOD') == 1
         rules += files('80-drivers.rules')
index 619f878e546f0e478cf287ba296b3c1adb8764b3..f0cfbb195eab224b4bf73dae2ab0a32e8b4d4492 100644 (file)
@@ -1,56 +1,55 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_analyze_sources = files('''
-        analyze-blame.c
-        analyze-blame.h
-        analyze-calendar.c
-        analyze-calendar.h
-        analyze-capability.c
-        analyze-capability.h
-        analyze-cat-config.c
-        analyze-cat-config.h
-        analyze-condition.c
-        analyze-condition.h
-        analyze-critical-chain.c
-        analyze-critical-chain.h
-        analyze-dot.c
-        analyze-dot.h
-        analyze-dump.c
-        analyze-dump.h
-        analyze-exit-status.c
-        analyze-exit-status.h
-        analyze-filesystems.c
-        analyze-filesystems.h
-        analyze-inspect-elf.c
-        analyze-inspect-elf.h
-        analyze-log-control.c
-        analyze-log-control.h
-        analyze-plot.c
-        analyze-plot.h
-        analyze-security.c
-        analyze-security.h
-        analyze-service-watchdogs.c
-        analyze-service-watchdogs.h
-        analyze-syscall-filter.c
-        analyze-syscall-filter.h
-        analyze-time.c
-        analyze-time.h
-        analyze-time-data.c
-        analyze-time-data.h
-        analyze-timespan.c
-        analyze-timespan.h
-        analyze-timestamp.c
-        analyze-timestamp.h
-        analyze-unit-files.c
-        analyze-unit-files.h
-        analyze-unit-paths.c
-        analyze-unit-paths.h
-        analyze-verify.c
-        analyze-verify.h
-        analyze-verify-util.c
-        analyze-verify-util.h
-        analyze.c
-'''.split())
+systemd_analyze_sources = files(
+        'analyze-blame.c',
+        'analyze-blame.h',
+        'analyze-calendar.c',
+        'analyze-calendar.h',
+        'analyze-capability.c',
+        'analyze-capability.h',
+        'analyze-cat-config.c',
+        'analyze-cat-config.h',
+        'analyze-condition.c',
+        'analyze-condition.h',
+        'analyze-critical-chain.c',
+        'analyze-critical-chain.h',
+        'analyze-dot.c',
+        'analyze-dot.h',
+        'analyze-dump.c',
+        'analyze-dump.h',
+        'analyze-exit-status.c',
+        'analyze-exit-status.h',
+        'analyze-filesystems.c',
+        'analyze-filesystems.h',
+        'analyze-inspect-elf.c',
+        'analyze-inspect-elf.h',
+        'analyze-log-control.c',
+        'analyze-log-control.h',
+        'analyze-plot.c',
+        'analyze-plot.h',
+        'analyze-security.c',
+        'analyze-security.h',
+        'analyze-service-watchdogs.c',
+        'analyze-service-watchdogs.h',
+        'analyze-syscall-filter.c',
+        'analyze-syscall-filter.h',
+        'analyze-time.c',
+        'analyze-time.h',
+        'analyze-time-data.c',
+        'analyze-time-data.h',
+        'analyze-timespan.c',
+        'analyze-timespan.h',
+        'analyze-timestamp.c',
+        'analyze-timestamp.h',
+        'analyze-unit-files.c',
+        'analyze-unit-files.h',
+        'analyze-unit-paths.c',
+        'analyze-unit-paths.h',
+        'analyze-verify.c',
+        'analyze-verify.h',
+        'analyze-verify-util.c',
+        'analyze-verify-util.h',
+        'analyze.c')
 
 tests += [
         [files('test-verify.c',
index 5a9e13d7417a47e024dd4a38115678997a21d996..92a4df20177608f16d2775c60153448aab005a9a 100644 (file)
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-basic_sources = files('''
-        MurmurHash2.c
-        MurmurHash2.h
-        af-list.c
-        af-list.h
-        alloc-util.c
-        alloc-util.h
-        architecture.c
-        architecture.h
-        arphrd-util.c
-        arphrd-util.h
-        async.c
-        async.h
-        audit-util.c
-        audit-util.h
-        build.c
-        build.h
-        bus-label.c
-        bus-label.h
-        cap-list.c
-        cap-list.h
-        capability-util.c
-        capability-util.h
-        cgroup-util.c
-        cgroup-util.h
-        chase-symlinks.c
-        chase-symlinks.h
-        chattr-util.c
-        chattr-util.h
-        conf-files.c
-        conf-files.h
-        def.h
-        dirent-util.c
-        dirent-util.h
-        dns-def.h
-        efivars.c
-        efivars.h
-        env-file.c
-        env-file.h
-        env-util.c
-        env-util.h
-        errno-list.c
-        errno-list.h
-        errno-util.h
-        escape.c
-        escape.h
-        ether-addr-util.c
-        ether-addr-util.h
-        extract-word.c
-        extract-word.h
-        fd-util.c
-        fd-util.h
-        fileio.c
-        fileio.h
-        filesystems.c
-        filesystems.h
-        format-util.c
-        format-util.h
-        fs-util.c
-        fs-util.h
-        glob-util.c
-        glob-util.h
-        glyph-util.c
-        glyph-util.h
-        gunicode.c
-        gunicode.h
-        hash-funcs.c
-        hash-funcs.h
-        hashmap.c
-        hashmap.h
-        hexdecoct.c
-        hexdecoct.h
-        hmac.c
-        hmac.h
-        hostname-util.c
-        hostname-util.h
-        in-addr-util.c
-        in-addr-util.h
-        inotify-util.c
-        inotify-util.h
-        io-util.c
-        io-util.h
-        ioprio-util.c
-        ioprio-util.h
-        limits-util.c
-        limits-util.h
-        linux/btrfs.h
-        linux/btrfs_tree.h
-        linux/can/netlink.h
-        linux/can/vxcan.h
-        linux/cfm_bridge.h
-        linux/fib_rules.h
-        linux/fou.h
-        linux/genetlink.h
-        linux/hdlc/ioctl.h
-        linux/if.h
-        linux/if_addr.h
-        linux/if_bonding.h
-        linux/if_bridge.h
-        linux/if_ether.h
-        linux/if_link.h
-        linux/if_macsec.h
-        linux/if_tun.h
-        linux/if_tunnel.h
-        linux/in.h
-        linux/in6.h
-        linux/ipv6_route.h
-        linux/l2tp.h
-        linux/libc-compat.h
-        linux/mrp_bridge.h
-        linux/netdevice.h
-        linux/netfilter/nf_tables.h
-        linux/netfilter/nfnetlink.h
-        linux/netlink.h
-        linux/nexthop.h
-        linux/nl80211.h
-        linux/pkt_sched.h
-        linux/rtnetlink.h
-        linux/wireguard.h
-        list.h
-        locale-util.c
-        locale-util.h
-        log.c
-        log.h
-        login-util.c
-        login-util.h
-        macro.h
-        memfd-util.c
-        memfd-util.h
-        memory-util.c
-        memory-util.h
-        mempool.c
-        mempool.h
-        missing_audit.h
-        missing_capability.h
-        missing_drm.h
-        missing_fcntl.h
-        missing_fs.h
-        missing_input.h
-        missing_ioprio.h
-        missing_keyctl.h
-        missing_magic.h
-        missing_mman.h
-        missing_mount.h
-        missing_network.h
-        missing_prctl.h
-        missing_random.h
-        missing_resource.h
-        missing_sched.h
-        missing_securebits.h
-        missing_socket.h
-        missing_stat.h
-        missing_stdlib.h
-        missing_syscall.h
-        missing_timerfd.h
-        missing_type.h
-        mkdir.c
-        mkdir.h
-        mountpoint-util.c
-        mountpoint-util.h
-        namespace-util.c
-        namespace-util.h
-        nss-util.h
-        nulstr-util.c
-        nulstr-util.h
-        ordered-set.c
-        ordered-set.h
-        os-util.c
-        os-util.h
-        parse-util.c
-        parse-util.h
-        path-lookup.c
-        path-lookup.h
-        path-util.c
-        path-util.h
-        percent-util.c
-        percent-util.h
-        prioq.c
-        prioq.h
-        proc-cmdline.c
-        proc-cmdline.h
-        process-util.c
-        process-util.h
-        procfs-util.c
-        procfs-util.h
-        pthread-util.h
-        random-util.c
-        random-util.h
-        ratelimit.c
-        ratelimit.h
-        raw-clone.h
-        raw-reboot.h
-        recovery-key.c
-        recovery-key.h
-        recurse-dir.c
-        recurse-dir.h
-        replace-var.c
-        replace-var.h
-        rlimit-util.c
-        rlimit-util.h
-        set.h
-        sigbus.c
-        sigbus.h
-        signal-util.c
-        signal-util.h
-        siphash24.c
-        siphash24.h
-        socket-util.c
-        socket-util.h
-        sort-util.c
-        sort-util.h
-        sparse-endian.h
-        special.h
-        stat-util.c
-        stat-util.h
-        static-destruct.h
-        stdio-util.h
-        strbuf.c
-        strbuf.h
-        string-table.c
-        string-table.h
-        string-util.c
-        string-util.h
-        strv.c
-        strv.h
-        strxcpyx.c
-        strxcpyx.h
-        sync-util.c
-        sync-util.h
-        sysctl-util.c
-        sysctl-util.h
-        syslog-util.c
-        syslog-util.h
-        terminal-util.c
-        terminal-util.h
-        time-util.c
-        time-util.h
-        tmpfile-util.c
-        tmpfile-util.h
-        umask-util.h
-        unaligned.h
-        unit-def.c
-        unit-def.h
-        unit-file.c
-        unit-file.h
-        unit-name.c
-        unit-name.h
-        user-util.c
-        user-util.h
-        utf8.c
-        utf8.h
-        util.c
-        util.h
-        virt.c
-        virt.h
-        xattr-util.c
-        xattr-util.h
-'''.split())
+basic_sources = files(
+        'MurmurHash2.c',
+        'MurmurHash2.h',
+        'af-list.c',
+        'af-list.h',
+        'alloc-util.c',
+        'alloc-util.h',
+        'architecture.c',
+        'architecture.h',
+        'arphrd-util.c',
+        'arphrd-util.h',
+        'async.c',
+        'async.h',
+        'audit-util.c',
+        'audit-util.h',
+        'build.c',
+        'build.h',
+        'bus-label.c',
+        'bus-label.h',
+        'cap-list.c',
+        'cap-list.h',
+        'capability-util.c',
+        'capability-util.h',
+        'cgroup-util.c',
+        'cgroup-util.h',
+        'chase-symlinks.c',
+        'chase-symlinks.h',
+        'chattr-util.c',
+        'chattr-util.h',
+        'conf-files.c',
+        'conf-files.h',
+        'def.h',
+        'dirent-util.c',
+        'dirent-util.h',
+        'dns-def.h',
+        'efivars.c',
+        'efivars.h',
+        'env-file.c',
+        'env-file.h',
+        'env-util.c',
+        'env-util.h',
+        'errno-list.c',
+        'errno-list.h',
+        'errno-util.h',
+        'escape.c',
+        'escape.h',
+        'ether-addr-util.c',
+        'ether-addr-util.h',
+        'extract-word.c',
+        'extract-word.h',
+        'fd-util.c',
+        'fd-util.h',
+        'fileio.c',
+        'fileio.h',
+        'filesystems.c',
+        'filesystems.h',
+        'format-util.c',
+        'format-util.h',
+        'fs-util.c',
+        'fs-util.h',
+        'glob-util.c',
+        'glob-util.h',
+        'glyph-util.c',
+        'glyph-util.h',
+        'gunicode.c',
+        'gunicode.h',
+        'hash-funcs.c',
+        'hash-funcs.h',
+        'hashmap.c',
+        'hashmap.h',
+        'hexdecoct.c',
+        'hexdecoct.h',
+        'hmac.c',
+        'hmac.h',
+        'hostname-util.c',
+        'hostname-util.h',
+        'in-addr-util.c',
+        'in-addr-util.h',
+        'inotify-util.c',
+        'inotify-util.h',
+        'io-util.c',
+        'io-util.h',
+        'ioprio-util.c',
+        'ioprio-util.h',
+        'limits-util.c',
+        'limits-util.h',
+        'linux/btrfs.h',
+        'linux/btrfs_tree.h',
+        'linux/can/netlink.h',
+        'linux/can/vxcan.h',
+        'linux/cfm_bridge.h',
+        'linux/fib_rules.h',
+        'linux/fou.h',
+        'linux/genetlink.h',
+        'linux/hdlc/ioctl.h',
+        'linux/if.h',
+        'linux/if_addr.h',
+        'linux/if_bonding.h',
+        'linux/if_bridge.h',
+        'linux/if_ether.h',
+        'linux/if_link.h',
+        'linux/if_macsec.h',
+        'linux/if_tun.h',
+        'linux/if_tunnel.h',
+        'linux/in.h',
+        'linux/in6.h',
+        'linux/ipv6_route.h',
+        'linux/l2tp.h',
+        'linux/libc-compat.h',
+        'linux/mrp_bridge.h',
+        'linux/netdevice.h',
+        'linux/netfilter/nf_tables.h',
+        'linux/netfilter/nfnetlink.h',
+        'linux/netlink.h',
+        'linux/nexthop.h',
+        'linux/nl80211.h',
+        'linux/pkt_sched.h',
+        'linux/rtnetlink.h',
+        'linux/wireguard.h',
+        'list.h',
+        'locale-util.c',
+        'locale-util.h',
+        'log.c',
+        'log.h',
+        'login-util.c',
+        'login-util.h',
+        'macro.h',
+        'memfd-util.c',
+        'memfd-util.h',
+        'memory-util.c',
+        'memory-util.h',
+        'mempool.c',
+        'mempool.h',
+        'missing_audit.h',
+        'missing_capability.h',
+        'missing_drm.h',
+        'missing_fcntl.h',
+        'missing_fs.h',
+        'missing_input.h',
+        'missing_ioprio.h',
+        'missing_keyctl.h',
+        'missing_magic.h',
+        'missing_mman.h',
+        'missing_mount.h',
+        'missing_network.h',
+        'missing_prctl.h',
+        'missing_random.h',
+        'missing_resource.h',
+        'missing_sched.h',
+        'missing_securebits.h',
+        'missing_socket.h',
+        'missing_stat.h',
+        'missing_stdlib.h',
+        'missing_syscall.h',
+        'missing_timerfd.h',
+        'missing_type.h',
+        'mkdir.c',
+        'mkdir.h',
+        'mountpoint-util.c',
+        'mountpoint-util.h',
+        'namespace-util.c',
+        'namespace-util.h',
+        'nss-util.h',
+        'nulstr-util.c',
+        'nulstr-util.h',
+        'ordered-set.c',
+        'ordered-set.h',
+        'os-util.c',
+        'os-util.h',
+        'parse-util.c',
+        'parse-util.h',
+        'path-lookup.c',
+        'path-lookup.h',
+        'path-util.c',
+        'path-util.h',
+        'percent-util.c',
+        'percent-util.h',
+        'prioq.c',
+        'prioq.h',
+        'proc-cmdline.c',
+        'proc-cmdline.h',
+        'process-util.c',
+        'process-util.h',
+        'procfs-util.c',
+        'procfs-util.h',
+        'pthread-util.h',
+        'random-util.c',
+        'random-util.h',
+        'ratelimit.c',
+        'ratelimit.h',
+        'raw-clone.h',
+        'raw-reboot.h',
+        'recovery-key.c',
+        'recovery-key.h',
+        'recurse-dir.c',
+        'recurse-dir.h',
+        'replace-var.c',
+        'replace-var.h',
+        'rlimit-util.c',
+        'rlimit-util.h',
+        'set.h',
+        'sigbus.c',
+        'sigbus.h',
+        'signal-util.c',
+        'signal-util.h',
+        'siphash24.c',
+        'siphash24.h',
+        'socket-util.c',
+        'socket-util.h',
+        'sort-util.c',
+        'sort-util.h',
+        'sparse-endian.h',
+        'special.h',
+        'stat-util.c',
+        'stat-util.h',
+        'static-destruct.h',
+        'stdio-util.h',
+        'strbuf.c',
+        'strbuf.h',
+        'string-table.c',
+        'string-table.h',
+        'string-util.c',
+        'string-util.h',
+        'strv.c',
+        'strv.h',
+        'strxcpyx.c',
+        'strxcpyx.h',
+        'sync-util.c',
+        'sync-util.h',
+        'sysctl-util.c',
+        'sysctl-util.h',
+        'syslog-util.c',
+        'syslog-util.h',
+        'terminal-util.c',
+        'terminal-util.h',
+        'time-util.c',
+        'time-util.h',
+        'tmpfile-util.c',
+        'tmpfile-util.h',
+        'umask-util.h',
+        'unaligned.h',
+        'unit-def.c',
+        'unit-def.h',
+        'unit-file.c',
+        'unit-file.h',
+        'unit-name.c',
+        'unit-name.h',
+        'user-util.c',
+        'user-util.h',
+        'utf8.c',
+        'utf8.h',
+        'util.c',
+        'util.h',
+        'virt.c',
+        'virt.h',
+        'xattr-util.c',
+        'xattr-util.h')
 
 missing_audit_h = files('missing_audit.h')
 missing_capability_h = files('missing_capability.h')
index 49ea93965bd1bc43cabe68de09368b1766658843..ff509f9e287d64817458eecec6c1d4e32888a650 100644 (file)
@@ -1,10 +1,9 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_coredump_sources = files('''
-        coredump.c
-        coredump-vacuum.c
-        coredump-vacuum.h
-'''.split())
+systemd_coredump_sources = files(
+        'coredump.c',
+        'coredump-vacuum.c',
+        'coredump-vacuum.h')
 
 coredumpctl_sources = files('coredumpctl.c')
 
index 439eabc9bf18507a9d2376361cb44e57c309dcd9..2b48a1a1611e9a38e10d60bd8e7bca961537613a 100644 (file)
@@ -2,30 +2,29 @@
 
 home_includes = [includes, include_directories('.')]
 
-systemd_homework_sources = files('''
-        home-util.c
-        home-util.h
-        homework-cifs.c
-        homework-cifs.h
-        homework-directory.c
-        homework-directory.h
-        homework-fido2.h
-        homework-fscrypt.c
-        homework-fscrypt.h
-        homework-luks.c
-        homework-luks.h
-        homework-mount.c
-        homework-mount.h
-        homework-password-cache.c
-        homework-password-cache.h
-        homework-pkcs11.h
-        homework-quota.c
-        homework-quota.h
-        homework.c
-        homework.h
-        user-record-util.c
-        user-record-util.h
-'''.split())
+systemd_homework_sources = files(
+        'home-util.c',
+        'home-util.h',
+        'homework-cifs.c',
+        'homework-cifs.h',
+        'homework-directory.c',
+        'homework-directory.h',
+        'homework-fido2.h',
+        'homework-fscrypt.c',
+        'homework-fscrypt.h',
+        'homework-luks.c',
+        'homework-luks.h',
+        'homework-mount.c',
+        'homework-mount.h',
+        'homework-password-cache.c',
+        'homework-password-cache.h',
+        'homework-pkcs11.h',
+        'homework-quota.c',
+        'homework-quota.h',
+        'homework.c',
+        'homework.h',
+        'user-record-util.c',
+        'user-record-util.h')
 
 if conf.get('HAVE_P11KIT') == 1
         systemd_homework_sources += files('homework-pkcs11.c')
@@ -34,33 +33,32 @@ if conf.get('HAVE_LIBFIDO2') == 1
         systemd_homework_sources += files('homework-fido2.c')
 endif
 
-systemd_homed_sources = files('''
-        home-util.c
-        home-util.h
-        homed-bus.c
-        homed-bus.h
-        homed-conf.c
-        homed-conf.h
-        homed-home-bus.c
-        homed-home-bus.h
-        homed-home.c
-        homed-home.h
-        homed-manager-bus.c
-        homed-manager-bus.h
-        homed-manager.c
-        homed-manager.h
-        homed-operation.c
-        homed-operation.h
-        homed-varlink.c
-        homed-varlink.h
-        homed.c
-        user-record-pwquality.c
-        user-record-pwquality.h
-        user-record-sign.c
-        user-record-sign.h
-        user-record-util.c
-        user-record-util.h
-'''.split())
+systemd_homed_sources = files(
+        'home-util.c',
+        'home-util.h',
+        'homed-bus.c',
+        'homed-bus.h',
+        'homed-conf.c',
+        'homed-conf.h',
+        'homed-home-bus.c',
+        'homed-home-bus.h',
+        'homed-home.c',
+        'homed-home.h',
+        'homed-manager-bus.c',
+        'homed-manager-bus.h',
+        'homed-manager.c',
+        'homed-manager.h',
+        'homed-operation.c',
+        'homed-operation.h',
+        'homed-varlink.c',
+        'homed-varlink.h',
+        'homed.c',
+        'user-record-pwquality.c',
+        'user-record-pwquality.h',
+        'user-record-sign.c',
+        'user-record-sign.h',
+        'user-record-util.c',
+        'user-record-util.h')
 
 homed_gperf_c = custom_target(
         'homed_gperf.c',
@@ -70,30 +68,28 @@ homed_gperf_c = custom_target(
 
 systemd_homed_sources += [homed_gperf_c]
 
-homectl_sources = files('''
-        home-util.c
-        home-util.h
-        homectl-fido2.c
-        homectl-fido2.h
-        homectl-pkcs11.c
-        homectl-pkcs11.h
-        homectl-recovery-key.c
-        homectl-recovery-key.h
-        homectl.c
-        user-record-pwquality.c
-        user-record-pwquality.h
-        user-record-util.c
-        user-record-util.h
-'''.split())
+homectl_sources = files(
+        'home-util.c',
+        'home-util.h',
+        'homectl-fido2.c',
+        'homectl-fido2.h',
+        'homectl-pkcs11.c',
+        'homectl-pkcs11.h',
+        'homectl-recovery-key.c',
+        'homectl-recovery-key.h',
+        'homectl.c',
+        'user-record-pwquality.c',
+        'user-record-pwquality.h',
+        'user-record-util.c',
+        'user-record-util.h')
 
 pam_systemd_home_sym = 'src/home/pam_systemd_home.sym'
-pam_systemd_home_c = files('''
-        home-util.c
-        home-util.h
-        pam_systemd_home.c
-        user-record-util.c
-        user-record-util.h
-'''.split())
+pam_systemd_home_c = files(
+        'home-util.c',
+        'home-util.h',
+        'pam_systemd_home.c',
+        'user-record-util.c',
+        'user-record-util.h')
 
 if conf.get('ENABLE_HOMED') == 1
         install_data('org.freedesktop.home1.conf',
index 1f3e0878ae62a4e0c9f1f116ed41875b88f6810b..5bd93904c5cfb450aade0e5d7c349217c232187e 100644 (file)
@@ -1,19 +1,17 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_journal_upload_sources = files('''
-        journal-upload.h
-        journal-upload.c
-        journal-upload-journal.c
-'''.split())
+systemd_journal_upload_sources = files(
+        'journal-upload.h',
+        'journal-upload.c',
+        'journal-upload-journal.c')
 
-libsystemd_journal_remote_sources = files('''
-        journal-remote-parse.h
-        journal-remote-parse.c
-        journal-remote-write.h
-        journal-remote-write.c
-        journal-remote.h
-        journal-remote.c
-'''.split())
+libsystemd_journal_remote_sources = files(
+        'journal-remote-parse.h',
+        'journal-remote-parse.c',
+        'journal-remote-write.h',
+        'journal-remote-write.c',
+        'journal-remote.h',
+        'journal-remote.c')
 
 if conf.get('HAVE_MICROHTTPD') == 1
         libsystemd_journal_remote_sources += files(
@@ -33,15 +31,12 @@ libsystemd_journal_remote = static_library(
                         liblz4],
         build_by_default : false)
 
-systemd_journal_remote_sources = files('''
-        journal-remote-main.c
-'''.split())
+systemd_journal_remote_sources = files('journal-remote-main.c')
 
-systemd_journal_gatewayd_sources = files('''
-        journal-gatewayd.c
-        microhttpd-util.h
-        microhttpd-util.c
-'''.split())
+systemd_journal_gatewayd_sources = files(
+        'journal-gatewayd.c',
+        'microhttpd-util.h',
+        'microhttpd-util.c')
 
 in_files = [
         ['journal-upload.conf',
index ff9463f7c4be2464345b790a3e0480386f9a1b4d..3bb375f69ea8b7a3655f763d806ae46534edf0a9 100644 (file)
@@ -1,29 +1,28 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-sources = files('''
-        journald-audit.c
-        journald-audit.h
-        journald-console.c
-        journald-console.h
-        journald-context.c
-        journald-context.h
-        journald-kmsg.c
-        journald-kmsg.h
-        journald-native.c
-        journald-native.h
-        journald-rate-limit.c
-        journald-rate-limit.h
-        journald-server.c
-        journald-server.h
-        journald-stream.c
-        journald-stream.h
-        journald-syslog.c
-        journald-syslog.h
-        journald-wall.c
-        journald-wall.h
-        managed-journal-file.c
-        managed-journal-file.h
-'''.split())
+sources = files(
+        'journald-audit.c',
+        'journald-audit.h',
+        'journald-console.c',
+        'journald-console.h',
+        'journald-context.c',
+        'journald-context.h',
+        'journald-kmsg.c',
+        'journald-kmsg.h',
+        'journald-native.c',
+        'journald-native.h',
+        'journald-rate-limit.c',
+        'journald-rate-limit.h',
+        'journald-server.c',
+        'journald-server.h',
+        'journald-stream.c',
+        'journald-stream.h',
+        'journald-syslog.c',
+        'journald-syslog.h',
+        'journald-wall.c',
+        'journald-wall.h',
+        'managed-journal-file.c',
+        'managed-journal-file.h')
 
 sources += custom_target(
         'journald-gperf.c',
@@ -40,16 +39,13 @@ libjournal_core = static_library(
 
 journal_includes = [includes, include_directories('.')]
 
-systemd_journald_sources = files('''
-        journald.c
-        journald-server.h
-'''.split())
+systemd_journald_sources = files(
+        'journald.c',
+        'journald-server.h')
 
 systemd_cat_sources = files('cat.c')
 
-journalctl_sources = files('''
-        journalctl.c
-'''.split())
+journalctl_sources = files('journalctl.c')
 
 if install_sysconfdir_samples
         install_data('journald.conf',
index 63ac8165b7e50a52cd38bb03452862b989a15875..b4407051ff91257079c0e35a368294c8fe4e4af1 100644 (file)
@@ -1,52 +1,51 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-sources = files('''
-        arp-util.c
-        arp-util.h
-        dhcp-client-internal.h
-        dhcp-identifier.c
-        dhcp-identifier.h
-        dhcp-internal.h
-        dhcp-lease-internal.h
-        dhcp-network.c
-        dhcp-option.c
-        dhcp-packet.c
-        dhcp-protocol.h
-        dhcp-server-internal.h
-        dhcp6-internal.h
-        dhcp6-lease-internal.h
-        dhcp6-network.c
-        dhcp6-option.c
-        dhcp6-option.h
-        dhcp6-protocol.c
-        dhcp6-protocol.h
-        icmp6-util.c
-        icmp6-util.h
-        lldp-neighbor.c
-        lldp-neighbor.h
-        lldp-network.c
-        lldp-network.h
-        lldp-rx-internal.h
-        ndisc-internal.h
-        ndisc-router.c
-        ndisc-router.h
-        network-common.c
-        network-common.h
-        network-internal.c
-        network-internal.h
-        radv-internal.h
-        sd-dhcp-client.c
-        sd-dhcp-lease.c
-        sd-dhcp-server.c
-        sd-dhcp6-client.c
-        sd-dhcp6-lease.c
-        sd-ipv4acd.c
-        sd-ipv4ll.c
-        sd-lldp-rx.c
-        sd-lldp-tx.c
-        sd-ndisc.c
-        sd-radv.c
-'''.split())
+sources = files(
+        'arp-util.c',
+        'arp-util.h',
+        'dhcp-client-internal.h',
+        'dhcp-identifier.c',
+        'dhcp-identifier.h',
+        'dhcp-internal.h',
+        'dhcp-lease-internal.h',
+        'dhcp-network.c',
+        'dhcp-option.c',
+        'dhcp-packet.c',
+        'dhcp-protocol.h',
+        'dhcp-server-internal.h',
+        'dhcp6-internal.h',
+        'dhcp6-lease-internal.h',
+        'dhcp6-network.c',
+        'dhcp6-option.c',
+        'dhcp6-option.h',
+        'dhcp6-protocol.c',
+        'dhcp6-protocol.h',
+        'icmp6-util.c',
+        'icmp6-util.h',
+        'lldp-neighbor.c',
+        'lldp-neighbor.h',
+        'lldp-network.c',
+        'lldp-network.h',
+        'lldp-rx-internal.h',
+        'ndisc-internal.h',
+        'ndisc-router.c',
+        'ndisc-router.h',
+        'network-common.c',
+        'network-common.h',
+        'network-internal.c',
+        'network-internal.h',
+        'radv-internal.h',
+        'sd-dhcp-client.c',
+        'sd-dhcp-lease.c',
+        'sd-dhcp-server.c',
+        'sd-dhcp6-client.c',
+        'sd-dhcp6-lease.c',
+        'sd-ipv4acd.c',
+        'sd-ipv4ll.c',
+        'sd-lldp-rx.c',
+        'sd-lldp-tx.c',
+        'sd-ndisc.c',
+        'sd-radv.c')
 
 libsystemd_network = static_library(
         'systemd-network',
index efd22207ace8f7084e80b3e2a2eb60918e1cc743..612f5226b0ba797018de1a57286c9dc651c432d1 100644 (file)
@@ -56,11 +56,10 @@ sd_journal_sources += [audit_type_to_name]
 
 ############################################################
 
-id128_sources = files('''
-        sd-id128/id128-util.c
-        sd-id128/id128-util.h
-        sd-id128/sd-id128.c
-'''.split())
+id128_sources = files(
+        'sd-id128/id128-util.c',
+        'sd-id128/id128-util.h',
+        'sd-id128/sd-id128.c')
 
 ############################################################
 
@@ -68,12 +67,11 @@ sd_daemon_sources = files('sd-daemon/sd-daemon.c')
 
 ############################################################
 
-sd_event_sources = files('''
-        sd-event/event-source.h
-        sd-event/event-util.c
-        sd-event/event-util.h
-        sd-event/sd-event.c
-'''.split())
+sd_event_sources = files(
+        'sd-event/event-source.h',
+        'sd-event/event-util.c',
+        'sd-event/event-util.h',
+        'sd-event/sd-event.c')
 
 ############################################################
 
@@ -81,84 +79,84 @@ sd_login_sources = files('sd-login/sd-login.c')
 
 ############################################################
 
-libsystemd_sources = files('''
-        sd-bus/bus-common-errors.c
-        sd-bus/bus-common-errors.h
-        sd-bus/bus-container.c
-        sd-bus/bus-container.h
-        sd-bus/bus-control.c
-        sd-bus/bus-control.h
-        sd-bus/bus-convenience.c
-        sd-bus/bus-creds.c
-        sd-bus/bus-creds.h
-        sd-bus/bus-dump.c
-        sd-bus/bus-dump.h
-        sd-bus/bus-error.c
-        sd-bus/bus-error.h
-        sd-bus/bus-gvariant.c
-        sd-bus/bus-gvariant.h
-        sd-bus/bus-internal.c
-        sd-bus/bus-internal.h
-        sd-bus/bus-introspect.c
-        sd-bus/bus-introspect.h
-        sd-bus/bus-kernel.c
-        sd-bus/bus-kernel.h
-        sd-bus/bus-match.c
-        sd-bus/bus-match.h
-        sd-bus/bus-message.c
-        sd-bus/bus-message.h
-        sd-bus/bus-objects.c
-        sd-bus/bus-objects.h
-        sd-bus/bus-protocol.h
-        sd-bus/bus-signature.c
-        sd-bus/bus-signature.h
-        sd-bus/bus-slot.c
-        sd-bus/bus-slot.h
-        sd-bus/bus-socket.c
-        sd-bus/bus-socket.h
-        sd-bus/bus-track.c
-        sd-bus/bus-track.h
-        sd-bus/bus-type.c
-        sd-bus/bus-type.h
-        sd-bus/sd-bus.c
-        sd-device/device-enumerator-private.h
-        sd-device/device-enumerator.c
-        sd-device/device-internal.h
-        sd-device/device-monitor-private.h
-        sd-device/device-monitor.c
-        sd-device/device-private.c
-        sd-device/device-private.h
-        sd-device/device-util.c
-        sd-device/device-util.h
-        sd-device/sd-device.c
-        sd-hwdb/hwdb-internal.h
-        sd-hwdb/sd-hwdb.c
-        sd-netlink/netlink-genl.c
-        sd-netlink/netlink-genl.h
-        sd-netlink/netlink-internal.h
-        sd-netlink/netlink-message-nfnl.c
-        sd-netlink/netlink-message-rtnl.c
-        sd-netlink/netlink-message.c
-        sd-netlink/netlink-slot.c
-        sd-netlink/netlink-slot.h
-        sd-netlink/netlink-socket.c
-        sd-netlink/netlink-types-genl.c
-        sd-netlink/netlink-types-internal.h
-        sd-netlink/netlink-types-nfnl.c
-        sd-netlink/netlink-types-rtnl.c
-        sd-netlink/netlink-types.c
-        sd-netlink/netlink-types.h
-        sd-netlink/netlink-util.c
-        sd-netlink/netlink-util.h
-        sd-netlink/sd-netlink.c
-        sd-network/network-util.c
-        sd-network/network-util.h
-        sd-network/sd-network.c
-        sd-path/sd-path.c
-        sd-resolve/resolve-private.h
-        sd-resolve/sd-resolve.c
-        sd-utf8/sd-utf8.c
-'''.split()) + sd_journal_sources + id128_sources + sd_daemon_sources + sd_event_sources + sd_login_sources
+libsystemd_sources = files(
+        'sd-bus/bus-common-errors.c',
+        'sd-bus/bus-common-errors.h',
+        'sd-bus/bus-container.c',
+        'sd-bus/bus-container.h',
+        'sd-bus/bus-control.c',
+        'sd-bus/bus-control.h',
+        'sd-bus/bus-convenience.c',
+        'sd-bus/bus-creds.c',
+        'sd-bus/bus-creds.h',
+        'sd-bus/bus-dump.c',
+        'sd-bus/bus-dump.h',
+        'sd-bus/bus-error.c',
+        'sd-bus/bus-error.h',
+        'sd-bus/bus-gvariant.c',
+        'sd-bus/bus-gvariant.h',
+        'sd-bus/bus-internal.c',
+        'sd-bus/bus-internal.h',
+        'sd-bus/bus-introspect.c',
+        'sd-bus/bus-introspect.h',
+        'sd-bus/bus-kernel.c',
+        'sd-bus/bus-kernel.h',
+        'sd-bus/bus-match.c',
+        'sd-bus/bus-match.h',
+        'sd-bus/bus-message.c',
+        'sd-bus/bus-message.h',
+        'sd-bus/bus-objects.c',
+        'sd-bus/bus-objects.h',
+        'sd-bus/bus-protocol.h',
+        'sd-bus/bus-signature.c',
+        'sd-bus/bus-signature.h',
+        'sd-bus/bus-slot.c',
+        'sd-bus/bus-slot.h',
+        'sd-bus/bus-socket.c',
+        'sd-bus/bus-socket.h',
+        'sd-bus/bus-track.c',
+        'sd-bus/bus-track.h',
+        'sd-bus/bus-type.c',
+        'sd-bus/bus-type.h',
+        'sd-bus/sd-bus.c',
+        'sd-device/device-enumerator-private.h',
+        'sd-device/device-enumerator.c',
+        'sd-device/device-internal.h',
+        'sd-device/device-monitor-private.h',
+        'sd-device/device-monitor.c',
+        'sd-device/device-private.c',
+        'sd-device/device-private.h',
+        'sd-device/device-util.c',
+        'sd-device/device-util.h',
+        'sd-device/sd-device.c',
+        'sd-hwdb/hwdb-internal.h',
+        'sd-hwdb/sd-hwdb.c',
+        'sd-netlink/netlink-genl.c',
+        'sd-netlink/netlink-genl.h',
+        'sd-netlink/netlink-internal.h',
+        'sd-netlink/netlink-message-nfnl.c',
+        'sd-netlink/netlink-message-rtnl.c',
+        'sd-netlink/netlink-message.c',
+        'sd-netlink/netlink-slot.c',
+        'sd-netlink/netlink-slot.h',
+        'sd-netlink/netlink-socket.c',
+        'sd-netlink/netlink-types-genl.c',
+        'sd-netlink/netlink-types-internal.h',
+        'sd-netlink/netlink-types-nfnl.c',
+        'sd-netlink/netlink-types-rtnl.c',
+        'sd-netlink/netlink-types.c',
+        'sd-netlink/netlink-types.h',
+        'sd-netlink/netlink-util.c',
+        'sd-netlink/netlink-util.h',
+        'sd-netlink/sd-netlink.c',
+        'sd-network/network-util.c',
+        'sd-network/network-util.h',
+        'sd-network/sd-network.c',
+        'sd-path/sd-path.c',
+        'sd-resolve/resolve-private.h',
+        'sd-resolve/sd-resolve.c',
+        'sd-utf8/sd-utf8.c',
+) + sd_journal_sources + id128_sources + sd_daemon_sources + sd_event_sources + sd_login_sources
 
 disable_mempool_c = files('disable-mempool.c')
 
index 0ccf71583da01ac86291317821579e0acb9b468f..f55c8f4a3a8a04d0b83726588d58c25967954e04 100644 (file)
@@ -1,10 +1,9 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_localed_sources = files('''
-        localed.c
-        keymap-util.c
-        keymap-util.h
-'''.split())
+systemd_localed_sources = files(
+        'localed.c',
+        'keymap-util.c',
+        'keymap-util.h')
 
 localectl_sources = files('localectl.c')
 
index 92f491665cd5951261848f26358cd816291ba40f..000a5f9d96a913e47672eb401e47aa2b766c7997 100644 (file)
@@ -1,9 +1,8 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_logind_sources = files('''
-        logind.c
-        logind.h
-'''.split())
+systemd_logind_sources = files(
+        'logind.c',
+        'logind.h')
 
 logind_gperf_c = custom_target(
         'logind_gperf.c',
@@ -11,38 +10,37 @@ logind_gperf_c = custom_target(
         output : 'logind-gperf.c',
         command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
 
-liblogind_core_sources = files('''
-        logind-action.c
-        logind-action.h
-        logind-brightness.c
-        logind-brightness.h
-        logind-button.c
-        logind-button.h
-        logind-core.c
-        logind-dbus.c
-        logind-dbus.h
-        logind-device.c
-        logind-device.h
-        logind-inhibit.c
-        logind-inhibit.h
-        logind-polkit.c
-        logind-polkit.h
-        logind-seat-dbus.c
-        logind-seat-dbus.h
-        logind-seat.c
-        logind-seat.h
-        logind-session-dbus.c
-        logind-session-dbus.h
-        logind-session-device.c
-        logind-session-device.h
-        logind-session.c
-        logind-session.h
-        logind-user-dbus.c
-        logind-user-dbus.h
-        logind-user.c
-        logind-user.h
-        logind-utmp.c
-'''.split())
+liblogind_core_sources = files(
+        'logind-action.c',
+        'logind-action.h',
+        'logind-brightness.c',
+        'logind-brightness.h',
+        'logind-button.c',
+        'logind-button.h',
+        'logind-core.c',
+        'logind-dbus.c',
+        'logind-dbus.h',
+        'logind-device.c',
+        'logind-device.h',
+        'logind-inhibit.c',
+        'logind-inhibit.h',
+        'logind-polkit.c',
+        'logind-polkit.h',
+        'logind-seat-dbus.c',
+        'logind-seat-dbus.h',
+        'logind-seat.c',
+        'logind-seat.h',
+        'logind-session-dbus.c',
+        'logind-session-dbus.h',
+        'logind-session-device.c',
+        'logind-session-device.h',
+        'logind-session.c',
+        'logind-session.h',
+        'logind-user-dbus.c',
+        'logind-user-dbus.h',
+        'logind-user.c',
+        'logind-user.h',
+        'logind-utmp.c')
 
 liblogind_core_sources += [logind_gperf_c]
 
@@ -53,15 +51,12 @@ liblogind_core = static_library(
         dependencies : libacl,
         build_by_default : false)
 
-loginctl_sources = files('''
-        loginctl.c
-        sysfs-show.h
-        sysfs-show.c
-'''.split())
+loginctl_sources = files(
+        'loginctl.c',
+        'sysfs-show.h',
+        'sysfs-show.c')
 
-user_runtime_dir_sources = files('''
-        user-runtime-dir.c
-'''.split())
+user_runtime_dir_sources = files('user-runtime-dir.c')
 
 pam_systemd_sym = 'src/login/pam_systemd.sym'
 pam_systemd_c = files('pam_systemd.c')
index 87e4dde24ce6c8a4f73fc37757aa9c1ed9009992..1b7f11893f51a353c1982d6529556b824a89bc4e 100644 (file)
@@ -1,24 +1,22 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_machined_sources = files('''
-        machined.c
-        machined.h
-'''.split())
+systemd_machined_sources = files(
+        'machined.c',
+        'machined.h')
 
-libmachine_core_sources = files('''
-        image-dbus.c
-        image-dbus.h
-        machine-dbus.c
-        machine-dbus.h
-        machine.c
-        machine.h
-        machined-core.c
-        machined-dbus.c
-        machined-varlink.c
-        machined-varlink.h
-        operation.c
-        operation.h
-'''.split())
+libmachine_core_sources = files(
+        'image-dbus.c',
+        'image-dbus.h',
+        'machine-dbus.c',
+        'machine-dbus.h',
+        'machine.c',
+        'machine.h',
+        'machined-core.c',
+        'machined-dbus.c',
+        'machined-varlink.c',
+        'machined-varlink.h',
+        'operation.c',
+        'operation.h')
 
 libmachine_core = static_library(
         'machine-core',
index ca48acae91c35fc98e683eb048612ba593dc8f13..ec8f58b046cf59f63da61148865c428df84e7b1e 100644 (file)
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-sources = files('''
-        netdev/bareudp.c
-        netdev/bareudp.h
-        netdev/batadv.c
-        netdev/batadv.h
-        netdev/bond.c
-        netdev/bond.h
-        netdev/bridge.c
-        netdev/bridge.h
-        netdev/dummy.c
-        netdev/dummy.h
-        netdev/fou-tunnel.c
-        netdev/fou-tunnel.h
-        netdev/ifb.c
-        netdev/ifb.h
-        netdev/ipoib.c
-        netdev/ipoib.h
-        netdev/ipvlan.c
-        netdev/ipvlan.h
-        netdev/l2tp-tunnel.c
-        netdev/l2tp-tunnel.h
-        netdev/macsec.c
-        netdev/macsec.h
-        netdev/macvlan.c
-        netdev/macvlan.h
-        netdev/netdev-util.c
-        netdev/netdev-util.h
-        netdev/netdev.c
-        netdev/netdev.h
-        netdev/netdevsim.c
-        netdev/netdevsim.h
-        netdev/nlmon.c
-        netdev/nlmon.h
-        netdev/tunnel.c
-        netdev/tunnel.h
-        netdev/tuntap.c
-        netdev/tuntap.h
-        netdev/vcan.c
-        netdev/vcan.h
-        netdev/veth.c
-        netdev/veth.h
-        netdev/vlan.c
-        netdev/vlan.h
-        netdev/vrf.c
-        netdev/vrf.h
-        netdev/vxlan.c
-        netdev/vxlan.h
-        netdev/geneve.c
-        netdev/geneve.h
-        netdev/vxcan.c
-        netdev/vxcan.h
-        netdev/wireguard.c
-        netdev/wireguard.h
-        netdev/wlan.c
-        netdev/wlan.h
-        netdev/xfrm.c
-        netdev/xfrm.h
-        networkd-address-generation.c
-        networkd-address-generation.h
-        networkd-address-label.c
-        networkd-address-label.h
-        networkd-address-pool.c
-        networkd-address-pool.h
-        networkd-address.c
-        networkd-address.h
-        networkd-bridge-fdb.c
-        networkd-bridge-fdb.h
-        networkd-bridge-mdb.c
-        networkd-bridge-mdb.h
-        networkd-bridge-vlan.c
-        networkd-bridge-vlan.h
-        networkd-can.c
-        networkd-can.h
-        networkd-conf.c
-        networkd-conf.h
-        networkd-dhcp-common.c
-        networkd-dhcp-common.h
-        networkd-dhcp-prefix-delegation.c
-        networkd-dhcp-prefix-delegation.h
-        networkd-dhcp-server-bus.c
-        networkd-dhcp-server-bus.h
-        networkd-dhcp-server-static-lease.c
-        networkd-dhcp-server-static-lease.h
-        networkd-dhcp-server.c
-        networkd-dhcp-server.h
-        networkd-dhcp4.c
-        networkd-dhcp4.h
-        networkd-dhcp6.c
-        networkd-dhcp6.h
-        networkd-ipv4acd.c
-        networkd-ipv4acd.h
-        networkd-ipv4ll.c
-        networkd-ipv4ll.h
-        networkd-ipv6-proxy-ndp.c
-        networkd-ipv6-proxy-ndp.h
-        networkd-ipv6ll.c
-        networkd-ipv6ll.h
-        networkd-json.c
-        networkd-json.h
-        networkd-link-bus.c
-        networkd-link-bus.h
-        networkd-link.c
-        networkd-link.h
-        networkd-lldp-rx.c
-        networkd-lldp-rx.h
-        networkd-lldp-tx.c
-        networkd-lldp-tx.h
-        networkd-manager-bus.c
-        networkd-manager-bus.h
-        networkd-manager.c
-        networkd-manager.h
-        networkd-ndisc.c
-        networkd-ndisc.h
-        networkd-neighbor.c
-        networkd-neighbor.h
-        networkd-radv.c
-        networkd-radv.h
-        networkd-network-bus.c
-        networkd-network-bus.h
-        networkd-network.c
-        networkd-network.h
-        networkd-nexthop.c
-        networkd-nexthop.h
-        networkd-queue.c
-        networkd-queue.h
-        networkd-route-util.c
-        networkd-route-util.h
-        networkd-route.c
-        networkd-route.h
-        networkd-routing-policy-rule.c
-        networkd-routing-policy-rule.h
-        networkd-setlink.c
-        networkd-setlink.h
-        networkd-speed-meter.c
-        networkd-speed-meter.h
-        networkd-sriov.c
-        networkd-sriov.h
-        networkd-state-file.c
-        networkd-state-file.h
-        networkd-sysctl.c
-        networkd-sysctl.h
-        networkd-util.c
-        networkd-util.h
-        networkd-wifi.c
-        networkd-wifi.h
-        networkd-wiphy.c
-        networkd-wiphy.h
-        tc/cake.c
-        tc/cake.h
-        tc/codel.c
-        tc/codel.h
-        tc/drr.c
-        tc/drr.h
-        tc/ets.c
-        tc/ets.h
-        tc/fifo.c
-        tc/fifo.h
-        tc/fq.c
-        tc/fq.h
-        tc/fq-codel.c
-        tc/fq-codel.h
-        tc/fq-pie.c
-        tc/fq-pie.h
-        tc/gred.c
-        tc/gred.h
-        tc/hhf.c
-        tc/hhf.h
-        tc/htb.c
-        tc/htb.h
-        tc/netem.c
-        tc/netem.h
-        tc/pie.c
-        tc/pie.h
-        tc/qdisc.c
-        tc/qdisc.h
-        tc/qfq.c
-        tc/qfq.h
-        tc/sfb.c
-        tc/sfb.h
-        tc/sfq.c
-        tc/sfq.h
-        tc/tbf.c
-        tc/tbf.h
-        tc/tc-util.c
-        tc/tc-util.h
-        tc/tc.c
-        tc/tc.h
-        tc/tclass.c
-        tc/tclass.h
-        tc/teql.c
-        tc/teql.h
-'''.split())
+sources = files(
+        'netdev/bareudp.c',
+        'netdev/bareudp.h',
+        'netdev/batadv.c',
+        'netdev/batadv.h',
+        'netdev/bond.c',
+        'netdev/bond.h',
+        'netdev/bridge.c',
+        'netdev/bridge.h',
+        'netdev/dummy.c',
+        'netdev/dummy.h',
+        'netdev/fou-tunnel.c',
+        'netdev/fou-tunnel.h',
+        'netdev/ifb.c',
+        'netdev/ifb.h',
+        'netdev/ipoib.c',
+        'netdev/ipoib.h',
+        'netdev/ipvlan.c',
+        'netdev/ipvlan.h',
+        'netdev/l2tp-tunnel.c',
+        'netdev/l2tp-tunnel.h',
+        'netdev/macsec.c',
+        'netdev/macsec.h',
+        'netdev/macvlan.c',
+        'netdev/macvlan.h',
+        'netdev/netdev-util.c',
+        'netdev/netdev-util.h',
+        'netdev/netdev.c',
+        'netdev/netdev.h',
+        'netdev/netdevsim.c',
+        'netdev/netdevsim.h',
+        'netdev/nlmon.c',
+        'netdev/nlmon.h',
+        'netdev/tunnel.c',
+        'netdev/tunnel.h',
+        'netdev/tuntap.c',
+        'netdev/tuntap.h',
+        'netdev/vcan.c',
+        'netdev/vcan.h',
+        'netdev/veth.c',
+        'netdev/veth.h',
+        'netdev/vlan.c',
+        'netdev/vlan.h',
+        'netdev/vrf.c',
+        'netdev/vrf.h',
+        'netdev/vxlan.c',
+        'netdev/vxlan.h',
+        'netdev/geneve.c',
+        'netdev/geneve.h',
+        'netdev/vxcan.c',
+        'netdev/vxcan.h',
+        'netdev/wireguard.c',
+        'netdev/wireguard.h',
+        'netdev/wlan.c',
+        'netdev/wlan.h',
+        'netdev/xfrm.c',
+        'netdev/xfrm.h',
+        'networkd-address-generation.c',
+        'networkd-address-generation.h',
+        'networkd-address-label.c',
+        'networkd-address-label.h',
+        'networkd-address-pool.c',
+        'networkd-address-pool.h',
+        'networkd-address.c',
+        'networkd-address.h',
+        'networkd-bridge-fdb.c',
+        'networkd-bridge-fdb.h',
+        'networkd-bridge-mdb.c',
+        'networkd-bridge-mdb.h',
+        'networkd-bridge-vlan.c',
+        'networkd-bridge-vlan.h',
+        'networkd-can.c',
+        'networkd-can.h',
+        'networkd-conf.c',
+        'networkd-conf.h',
+        'networkd-dhcp-common.c',
+        'networkd-dhcp-common.h',
+        'networkd-dhcp-prefix-delegation.c',
+        'networkd-dhcp-prefix-delegation.h',
+        'networkd-dhcp-server-bus.c',
+        'networkd-dhcp-server-bus.h',
+        'networkd-dhcp-server-static-lease.c',
+        'networkd-dhcp-server-static-lease.h',
+        'networkd-dhcp-server.c',
+        'networkd-dhcp-server.h',
+        'networkd-dhcp4.c',
+        'networkd-dhcp4.h',
+        'networkd-dhcp6.c',
+        'networkd-dhcp6.h',
+        'networkd-ipv4acd.c',
+        'networkd-ipv4acd.h',
+        'networkd-ipv4ll.c',
+        'networkd-ipv4ll.h',
+        'networkd-ipv6-proxy-ndp.c',
+        'networkd-ipv6-proxy-ndp.h',
+        'networkd-ipv6ll.c',
+        'networkd-ipv6ll.h',
+        'networkd-json.c',
+        'networkd-json.h',
+        'networkd-link-bus.c',
+        'networkd-link-bus.h',
+        'networkd-link.c',
+        'networkd-link.h',
+        'networkd-lldp-rx.c',
+        'networkd-lldp-rx.h',
+        'networkd-lldp-tx.c',
+        'networkd-lldp-tx.h',
+        'networkd-manager-bus.c',
+        'networkd-manager-bus.h',
+        'networkd-manager.c',
+        'networkd-manager.h',
+        'networkd-ndisc.c',
+        'networkd-ndisc.h',
+        'networkd-neighbor.c',
+        'networkd-neighbor.h',
+        'networkd-radv.c',
+        'networkd-radv.h',
+        'networkd-network-bus.c',
+        'networkd-network-bus.h',
+        'networkd-network.c',
+        'networkd-network.h',
+        'networkd-nexthop.c',
+        'networkd-nexthop.h',
+        'networkd-queue.c',
+        'networkd-queue.h',
+        'networkd-route-util.c',
+        'networkd-route-util.h',
+        'networkd-route.c',
+        'networkd-route.h',
+        'networkd-routing-policy-rule.c',
+        'networkd-routing-policy-rule.h',
+        'networkd-setlink.c',
+        'networkd-setlink.h',
+        'networkd-speed-meter.c',
+        'networkd-speed-meter.h',
+        'networkd-sriov.c',
+        'networkd-sriov.h',
+        'networkd-state-file.c',
+        'networkd-state-file.h',
+        'networkd-sysctl.c',
+        'networkd-sysctl.h',
+        'networkd-util.c',
+        'networkd-util.h',
+        'networkd-wifi.c',
+        'networkd-wifi.h',
+        'networkd-wiphy.c',
+        'networkd-wiphy.h',
+        'tc/cake.c',
+        'tc/cake.h',
+        'tc/codel.c',
+        'tc/codel.h',
+        'tc/drr.c',
+        'tc/drr.h',
+        'tc/ets.c',
+        'tc/ets.h',
+        'tc/fifo.c',
+        'tc/fifo.h',
+        'tc/fq.c',
+        'tc/fq.h',
+        'tc/fq-codel.c',
+        'tc/fq-codel.h',
+        'tc/fq-pie.c',
+        'tc/fq-pie.h',
+        'tc/gred.c',
+        'tc/gred.h',
+        'tc/hhf.c',
+        'tc/hhf.h',
+        'tc/htb.c',
+        'tc/htb.h',
+        'tc/netem.c',
+        'tc/netem.h',
+        'tc/pie.c',
+        'tc/pie.h',
+        'tc/qdisc.c',
+        'tc/qdisc.h',
+        'tc/qfq.c',
+        'tc/qfq.h',
+        'tc/sfb.c',
+        'tc/sfb.h',
+        'tc/sfq.c',
+        'tc/sfq.h',
+        'tc/tbf.c',
+        'tc/tbf.h',
+        'tc/tc-util.c',
+        'tc/tc-util.h',
+        'tc/tc.c',
+        'tc/tc.h',
+        'tc/tclass.c',
+        'tc/tclass.h',
+        'tc/teql.c',
+        'tc/teql.h')
 
 systemd_networkd_sources = files('networkd.c')
 
-systemd_networkd_wait_online_sources = files('''
-        wait-online/link.c
-        wait-online/link.h
-        wait-online/manager.c
-        wait-online/manager.h
-        wait-online/wait-online.c
-'''.split())
+systemd_networkd_wait_online_sources = files(
+        'wait-online/link.c',
+        'wait-online/link.h',
+        'wait-online/manager.c',
+        'wait-online/manager.h',
+        'wait-online/wait-online.c')
 
 networkctl_sources = files('networkctl.c')
 
-network_generator_sources = files('''
-        generator/main.c
-        generator/network-generator.c
-        generator/network-generator.h
-'''.split())
+network_generator_sources = files(
+        'generator/main.c',
+        'generator/network-generator.c',
+        'generator/network-generator.h')
 
 sources += custom_target(
         'networkd-gperf.c',
index 2934672e9a70e9122bf583741daf89ed16fec80b..7a515accee2fae3f7bb039837c8fe2347aacf9b1 100644 (file)
@@ -1,35 +1,34 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-libnspawn_core_sources = files('''
-        nspawn-bind-user.c
-        nspawn-bind-user.h
-        nspawn-cgroup.c
-        nspawn-cgroup.h
-        nspawn-creds.c
-        nspawn-creds.h
-        nspawn-def.h
-        nspawn-expose-ports.c
-        nspawn-expose-ports.h
-        nspawn-mount.c
-        nspawn-mount.h
-        nspawn-network.c
-        nspawn-network.h
-        nspawn-oci.c
-        nspawn-oci.h
-        nspawn-patch-uid.c
-        nspawn-patch-uid.h
-        nspawn-register.c
-        nspawn-register.h
-        nspawn-seccomp.c
-        nspawn-seccomp.h
-        nspawn-settings.c
-        nspawn-settings.h
-        nspawn-setuid.c
-        nspawn-setuid.h
-        nspawn-stub-pid1.c
-        nspawn-stub-pid1.h
-        nspawn.h
-'''.split())
+libnspawn_core_sources = files(
+        'nspawn-bind-user.c',
+        'nspawn-bind-user.h',
+        'nspawn-cgroup.c',
+        'nspawn-cgroup.h',
+        'nspawn-creds.c',
+        'nspawn-creds.h',
+        'nspawn-def.h',
+        'nspawn-expose-ports.c',
+        'nspawn-expose-ports.h',
+        'nspawn-mount.c',
+        'nspawn-mount.h',
+        'nspawn-network.c',
+        'nspawn-network.h',
+        'nspawn-oci.c',
+        'nspawn-oci.h',
+        'nspawn-patch-uid.c',
+        'nspawn-patch-uid.h',
+        'nspawn-register.c',
+        'nspawn-register.h',
+        'nspawn-seccomp.c',
+        'nspawn-seccomp.h',
+        'nspawn-settings.c',
+        'nspawn-settings.h',
+        'nspawn-setuid.c',
+        'nspawn-setuid.h',
+        'nspawn-stub-pid1.c',
+        'nspawn-stub-pid1.h',
+        'nspawn.h')
 
 nspawn_gperf_c = custom_target(
         'nspawn-gperf.c',
index da00cbf99e0dd9b88a2b4bce211c828994c9797c..f865ed26cff82ec8a73ceacf926da90b90a73d93 100644 (file)
@@ -1,18 +1,15 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_oomd_sources = files('''
-        oomd-manager-bus.c
-        oomd-manager-bus.h
-        oomd-manager.c
-        oomd-manager.h
-        oomd-util.c
-        oomd-util.h
-        oomd.c
-'''.split())
+systemd_oomd_sources = files(
+        'oomd-manager-bus.c',
+        'oomd-manager-bus.h',
+        'oomd-manager.c',
+        'oomd-manager.h',
+        'oomd-util.c',
+        'oomd-util.h',
+        'oomd.c')
 
-oomctl_sources = files('''
-        oomctl.c
-'''.split())
+oomctl_sources = files('oomctl.c')
 
 if conf.get('ENABLE_OOMD') == 1
         install_data('org.freedesktop.oom1.conf',
index d2729daba4e89a16b75642bd1b4542c8edf1c439..5422fdd57509e22a41d598ba14c76b32a29d5a02 100644 (file)
@@ -1,7 +1,5 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_repart_sources = files('''
-        repart.c
-'''.split())
+systemd_repart_sources = files('repart.c')
 
 test_repart_sh = find_program('test-repart.sh')
index de82f5bff7f5c8ab33e4944a41459ef516ab4955..65ba74bc6f69cf3e2407810742a76ad5fb2de7fd 100644 (file)
@@ -1,18 +1,17 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_portabled_sources = files('''
-        portable.c
-        portable.h
-        portabled-bus.c
-        portabled-image-bus.c
-        portabled-image-bus.h
-        portabled-image.c
-        portabled-image.h
-        portabled-operation.c
-        portabled-operation.h
-        portabled.c
-        portabled.h
-'''.split())
+systemd_portabled_sources = files(
+        'portable.c',
+        'portable.h',
+        'portabled-bus.c',
+        'portabled-image-bus.c',
+        'portabled-image-bus.h',
+        'portabled-image.c',
+        'portabled-image.h',
+        'portabled-operation.c',
+        'portabled-operation.h',
+        'portabled.c',
+        'portabled.h')
 
 if conf.get('ENABLE_PORTABLED') == 1
         install_data('org.freedesktop.portable1.conf',
index 8e01af751c972b629e111a55c0e6194c3601f2a3..76b656a4b8ab291c28781656a7357d2b02503550 100644 (file)
@@ -1,8 +1,6 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_pstore_sources = files('''
-        pstore.c
-'''.split())
+systemd_pstore_sources = files('pstore.c')
 
 if conf.get('ENABLE_PSTORE') == 1 and install_sysconfdir_samples
         install_data('pstore.conf',
index 24f94f8c0e1618eb4fd9652595facc2a7b652318..6478b8d589e3820bcda6f8e412f78111712dcfb7 100644 (file)
@@ -2,82 +2,79 @@
 
 resolve_includes = [includes, include_directories('.')]
 
-basic_dns_sources = files('''
-        resolved-dns-dnssec.c
-        resolved-dns-dnssec.h
-        resolved-dns-packet.c
-        resolved-dns-packet.h
-        resolved-dns-rr.c
-        resolved-dns-rr.h
-        resolved-dns-answer.c
-        resolved-dns-answer.h
-        resolved-dns-question.c
-        resolved-dns-question.h
-        resolved-util.c
-        resolved-util.h
-        dns-type.c
-        dns-type.h
-'''.split())
-
-systemd_resolved_sources = files('''
-        resolved-bus.c
-        resolved-bus.h
-        resolved-conf.c
-        resolved-conf.h
-        resolved-def.h
-        resolved-dns-cache.c
-        resolved-dns-cache.h
-        resolved-dns-query.c
-        resolved-dns-query.h
-        resolved-dns-scope.c
-        resolved-dns-scope.h
-        resolved-dns-search-domain.c
-        resolved-dns-search-domain.h
-        resolved-dns-server.c
-        resolved-dns-server.h
-        resolved-dns-stream.c
-        resolved-dns-stream.h
-        resolved-dns-stub.c
-        resolved-dns-stub.h
-        resolved-dns-synthesize.c
-        resolved-dns-synthesize.h
-        resolved-dns-transaction.c
-        resolved-dns-transaction.h
-        resolved-dns-trust-anchor.c
-        resolved-dns-trust-anchor.h
-        resolved-dns-zone.c
-        resolved-dns-zone.h
-        resolved-dnssd-bus.c
-        resolved-dnssd-bus.h
-        resolved-dnssd.c
-        resolved-dnssd.h
-        resolved-dnstls.h
-        resolved-etc-hosts.c
-        resolved-etc-hosts.h
-        resolved-link-bus.c
-        resolved-link-bus.h
-        resolved-link.c
-        resolved-link.h
-        resolved-llmnr.c
-        resolved-llmnr.h
-        resolved-manager.c
-        resolved-manager.h
-        resolved-mdns.c
-        resolved-mdns.h
-        resolved-resolv-conf.c
-        resolved-resolv-conf.h
-        resolved-socket-graveyard.c
-        resolved-socket-graveyard.h
-        resolved-varlink.c
-        resolved-varlink.h
-'''.split())
-
-resolvectl_sources = files('''
-         resolvconf-compat.c
-         resolvconf-compat.h
-         resolvectl.c
-         resolvectl.h
-'''.split())
+basic_dns_sources = files(
+        'resolved-dns-dnssec.c',
+        'resolved-dns-dnssec.h',
+        'resolved-dns-packet.c',
+        'resolved-dns-packet.h',
+        'resolved-dns-rr.c',
+        'resolved-dns-rr.h',
+        'resolved-dns-answer.c',
+        'resolved-dns-answer.h',
+        'resolved-dns-question.c',
+        'resolved-dns-question.h',
+        'resolved-util.c',
+        'resolved-util.h',
+        'dns-type.c',
+        'dns-type.h')
+
+systemd_resolved_sources = files(
+        'resolved-bus.c',
+        'resolved-bus.h',
+        'resolved-conf.c',
+        'resolved-conf.h',
+        'resolved-def.h',
+        'resolved-dns-cache.c',
+        'resolved-dns-cache.h',
+        'resolved-dns-query.c',
+        'resolved-dns-query.h',
+        'resolved-dns-scope.c',
+        'resolved-dns-scope.h',
+        'resolved-dns-search-domain.c',
+        'resolved-dns-search-domain.h',
+        'resolved-dns-server.c',
+        'resolved-dns-server.h',
+        'resolved-dns-stream.c',
+        'resolved-dns-stream.h',
+        'resolved-dns-stub.c',
+        'resolved-dns-stub.h',
+        'resolved-dns-synthesize.c',
+        'resolved-dns-synthesize.h',
+        'resolved-dns-transaction.c',
+        'resolved-dns-transaction.h',
+        'resolved-dns-trust-anchor.c',
+        'resolved-dns-trust-anchor.h',
+        'resolved-dns-zone.c',
+        'resolved-dns-zone.h',
+        'resolved-dnssd-bus.c',
+        'resolved-dnssd-bus.h',
+        'resolved-dnssd.c',
+        'resolved-dnssd.h',
+        'resolved-dnstls.h',
+        'resolved-etc-hosts.c',
+        'resolved-etc-hosts.h',
+        'resolved-link-bus.c',
+        'resolved-link-bus.h',
+        'resolved-link.c',
+        'resolved-link.h',
+        'resolved-llmnr.c',
+        'resolved-llmnr.h',
+        'resolved-manager.c',
+        'resolved-manager.h',
+        'resolved-mdns.c',
+        'resolved-mdns.h',
+        'resolved-resolv-conf.c',
+        'resolved-resolv-conf.h',
+        'resolved-socket-graveyard.c',
+        'resolved-socket-graveyard.h',
+        'resolved-varlink.c',
+        'resolved-varlink.h')
+
+resolvectl_sources = files(
+         'resolvconf-compat.c',
+         'resolvconf-compat.h',
+         'resolvectl.c',
+         'resolvectl.h')
 
 ############################################################
 
index dfa025deec6ca618cbcd9916f49c55c92fb5caf0..7a0123636323b208746fb31c05c80c32df4f675c 100644 (file)
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-shared_sources = files('''
-        acl-util.h
-        acpi-fpdt.c
-        acpi-fpdt.h
-        apparmor-util.c
-        apparmor-util.h
-        ask-password-api.c
-        ask-password-api.h
-        barrier.c
-        barrier.h
-        base-filesystem.c
-        base-filesystem.h
-        binfmt-util.c
-        binfmt-util.h
-        bitmap.c
-        bitmap.h
-        blkid-util.h
-        blockdev-util.c
-        blockdev-util.h
-        bond-util.c
-        bond-util.h
-        boot-timestamps.c
-        boot-timestamps.h
-        bootspec.c
-        bootspec.h
-        bpf-dlopen.c
-        bpf-dlopen.h
-        bpf-program.c
-        bpf-program.h
-        bridge-util.c
-        bridge-util.h
-        btrfs-util.c
-        btrfs-util.h
-        bus-get-properties.c
-        bus-get-properties.h
-        bus-locator.c
-        bus-locator.h
-        bus-log-control-api.c
-        bus-log-control-api.h
-        bus-map-properties.c
-        bus-map-properties.h
-        bus-message-util.c
-        bus-message-util.h
-        bus-object.c
-        bus-object.h
-        bus-polkit.c
-        bus-polkit.h
-        bus-print-properties.c
-        bus-print-properties.h
-        bus-unit-procs.c
-        bus-unit-procs.h
-        bus-unit-util.c
-        bus-unit-util.h
-        bus-util.c
-        bus-util.h
-        bus-wait-for-jobs.c
-        bus-wait-for-jobs.h
-        bus-wait-for-units.c
-        bus-wait-for-units.h
-        calendarspec.c
-        calendarspec.h
-        cgroup-setup.c
-        cgroup-setup.h
-        cgroup-show.c
-        cgroup-show.h
-        chown-recursive.c
-        chown-recursive.h
-        clean-ipc.c
-        clean-ipc.h
-        clock-util.c
-        clock-util.h
-        condition.c
-        condition.h
-        conf-parser.c
-        conf-parser.h
-        copy.c
-        copy.h
-        coredump-util.c
-        coredump-util.h
-        cpu-set-util.c
-        cpu-set-util.h
-        creds-util.c
-        creds-util.h
-        cryptsetup-util.c
-        cryptsetup-util.h
-        daemon-util.h
-        data-fd-util.c
-        data-fd-util.h
-        dev-setup.c
-        dev-setup.h
-        device-nodes.c
-        device-nodes.h
-        devnode-acl.h
-        discover-image.c
-        discover-image.h
-        dissect-image.c
-        dissect-image.h
-        dlfcn-util.c
-        dlfcn-util.h
-        dm-util.c
-        dm-util.h
-        dns-domain.c
-        dns-domain.h
-        dropin.c
-        dropin.h
-        efi-loader.c
-        efi-loader.h
-        elf-util.c
-        elf-util.h
-        enable-mempool.c
-        env-file-label.c
-        env-file-label.h
-        ethtool-util.c
-        ethtool-util.h
-        exec-util.c
-        exec-util.h
-        exit-status.c
-        exit-status.h
-        extension-release.c
-        extension-release.h
-        fdisk-util.h
-        fdset.c
-        fdset.h
-        fileio-label.c
-        fileio-label.h
-        firewall-util-nft.c
-        firewall-util-private.h
-        firewall-util.c
-        firewall-util.h
-        format-table.c
-        format-table.h
-        fsck-util.h
-        fstab-util.c
-        fstab-util.h
-        generator.c
-        generator.h
-        geneve-util.c
-        geneve-util.h
-        gpt.c
-        gpt.h
-        group-record.c
-        group-record.h
-        hostname-setup.c
-        hostname-setup.h
-        hwdb-util.c
-        hwdb-util.h
-        id128-print.c
-        id128-print.h
-        idn-util.c
-        idn-util.h
-        ima-util.c
-        ima-util.h
-        import-util.c
-        import-util.h
-        in-addr-prefix-util.c
-        in-addr-prefix-util.h
-        initreq.h
-        install-file.c
-        install-file.h
-        install-printf.c
-        install-printf.h
-        install.c
-        install.h
-        ip-protocol-list.c
-        ip-protocol-list.h
-        ipvlan-util.c
-        ipvlan-util.h
-        journal-importer.c
-        journal-importer.h
-        journal-util.c
-        journal-util.h
-        json-internal.h
-        json.c
-        json.h
-        kbd-util.c
-        kbd-util.h
-        keyring-util.h
-        keyring-util.c
-        killall.c
-        killall.h
-        label.c
-        label.h
-        libcrypt-util.c
-        libcrypt-util.h
-        libfido2-util.c
-        libfido2-util.h
-        libmount-util.h
-        linux/auto_dev-ioctl.h
-        linux/bpf.h
-        linux/bpf_common.h
-        linux/bpf_insn.h
-        linux/dm-ioctl.h
-        linux/ethtool.h
-        local-addresses.c
-        local-addresses.h
-        lockfile-util.c
-        lockfile-util.h
-        log-link.h
-        logs-show.c
-        logs-show.h
-        loop-util.c
-        loop-util.h
-        loopback-setup.c
-        loopback-setup.h
-        machine-id-setup.c
-        machine-id-setup.h
-        machine-pool.c
-        machine-pool.h
-        macvlan-util.c
-        macvlan-util.h
-        main-func.h
-        mkdir-label.c
-        mkdir-label.h
-        mkfs-util.c
-        mkfs-util.h
-        module-util.h
-        mount-setup.c
-        mount-setup.h
-        mount-util.c
-        mount-util.h
-        net-condition.c
-        net-condition.h
-        netif-naming-scheme.c
-        netif-naming-scheme.h
-        netif-sriov.c
-        netif-sriov.h
-        netif-util.c
-        netif-util.h
-        nscd-flush.h
-        nsflags.c
-        nsflags.h
-        numa-util.c
-        numa-util.h
-        openssl-util.c
-        openssl-util.h
-        output-mode.c
-        output-mode.h
-        pager.c
-        pager.h
-        parse-argument.c
-        parse-argument.h
-        parse-socket-bind-item.c
-        parse-socket-bind-item.h
-        pcre2-dlopen.c
-        pcre2-dlopen.h
-        pe-header.h
-        pkcs11-util.c
-        pkcs11-util.h
-        pretty-print.c
-        pretty-print.h
-        psi-util.c
-        psi-util.h
-        ptyfwd.c
-        ptyfwd.h
-        pwquality-util.c
-        pwquality-util.h
-        qrcode-util.c
-        qrcode-util.h
-        quota-util.c
-        quota-util.h
-        reboot-util.c
-        reboot-util.h
-        resize-fs.c
-        resize-fs.h
-        resolve-util.c
-        resolve-util.h
-        rm-rf.c
-        rm-rf.h
-        seccomp-util.h
-        securebits-util.c
-        securebits-util.h
-        selinux-util.c
-        selinux-util.h
-        serialize.c
-        serialize.h
-        service-util.c
-        service-util.h
-        sleep-config.c
-        sleep-config.h
-        smack-util.c
-        smack-util.h
-        socket-label.c
-        socket-netlink.c
-        socket-netlink.h
-        spawn-ask-password-agent.c
-        spawn-ask-password-agent.h
-        spawn-polkit-agent.c
-        spawn-polkit-agent.h
-        specifier.c
-        specifier.h
-        switch-root.c
-        switch-root.h
-        tmpfile-util-label.c
-        tmpfile-util-label.h
-        tomoyo-util.c
-        tomoyo-util.h
-        tpm2-util.c
-        tpm2-util.h
-        udev-util.c
-        udev-util.h
-        uid-alloc-range.c
-        uid-alloc-range.h
-        uid-range.c
-        uid-range.h
-        user-record-nss.c
-        user-record-nss.h
-        user-record-show.c
-        user-record-show.h
-        user-record.c
-        user-record.h
-        userdb-dropin.c
-        userdb-dropin.h
-        userdb.c
-        userdb.h
-        utmp-wtmp.h
-        varlink.c
-        varlink.h
-        verb-log-control.c
-        verb-log-control.h
-        verbs.c
-        verbs.h
-        vlan-util.c
-        vlan-util.h
-        volatile-util.c
-        volatile-util.h
-        watchdog.c
-        watchdog.h
-        web-util.c
-        web-util.h
-        wifi-util.c
-        wifi-util.h
-        xml.c
-        xml.h
-'''.split())
+shared_sources = files(
+        'acl-util.h',
+        'acpi-fpdt.c',
+        'acpi-fpdt.h',
+        'apparmor-util.c',
+        'apparmor-util.h',
+        'ask-password-api.c',
+        'ask-password-api.h',
+        'barrier.c',
+        'barrier.h',
+        'base-filesystem.c',
+        'base-filesystem.h',
+        'binfmt-util.c',
+        'binfmt-util.h',
+        'bitmap.c',
+        'bitmap.h',
+        'blkid-util.h',
+        'blockdev-util.c',
+        'blockdev-util.h',
+        'bond-util.c',
+        'bond-util.h',
+        'boot-timestamps.c',
+        'boot-timestamps.h',
+        'bootspec.c',
+        'bootspec.h',
+        'bpf-dlopen.c',
+        'bpf-dlopen.h',
+        'bpf-program.c',
+        'bpf-program.h',
+        'bridge-util.c',
+        'bridge-util.h',
+        'btrfs-util.c',
+        'btrfs-util.h',
+        'bus-get-properties.c',
+        'bus-get-properties.h',
+        'bus-locator.c',
+        'bus-locator.h',
+        'bus-log-control-api.c',
+        'bus-log-control-api.h',
+        'bus-map-properties.c',
+        'bus-map-properties.h',
+        'bus-message-util.c',
+        'bus-message-util.h',
+        'bus-object.c',
+        'bus-object.h',
+        'bus-polkit.c',
+        'bus-polkit.h',
+        'bus-print-properties.c',
+        'bus-print-properties.h',
+        'bus-unit-procs.c',
+        'bus-unit-procs.h',
+        'bus-unit-util.c',
+        'bus-unit-util.h',
+        'bus-util.c',
+        'bus-util.h',
+        'bus-wait-for-jobs.c',
+        'bus-wait-for-jobs.h',
+        'bus-wait-for-units.c',
+        'bus-wait-for-units.h',
+        'calendarspec.c',
+        'calendarspec.h',
+        'cgroup-setup.c',
+        'cgroup-setup.h',
+        'cgroup-show.c',
+        'cgroup-show.h',
+        'chown-recursive.c',
+        'chown-recursive.h',
+        'clean-ipc.c',
+        'clean-ipc.h',
+        'clock-util.c',
+        'clock-util.h',
+        'condition.c',
+        'condition.h',
+        'conf-parser.c',
+        'conf-parser.h',
+        'copy.c',
+        'copy.h',
+        'coredump-util.c',
+        'coredump-util.h',
+        'cpu-set-util.c',
+        'cpu-set-util.h',
+        'creds-util.c',
+        'creds-util.h',
+        'cryptsetup-util.c',
+        'cryptsetup-util.h',
+        'daemon-util.h',
+        'data-fd-util.c',
+        'data-fd-util.h',
+        'dev-setup.c',
+        'dev-setup.h',
+        'device-nodes.c',
+        'device-nodes.h',
+        'devnode-acl.h',
+        'discover-image.c',
+        'discover-image.h',
+        'dissect-image.c',
+        'dissect-image.h',
+        'dlfcn-util.c',
+        'dlfcn-util.h',
+        'dm-util.c',
+        'dm-util.h',
+        'dns-domain.c',
+        'dns-domain.h',
+        'dropin.c',
+        'dropin.h',
+        'efi-loader.c',
+        'efi-loader.h',
+        'elf-util.c',
+        'elf-util.h',
+        'enable-mempool.c',
+        'env-file-label.c',
+        'env-file-label.h',
+        'ethtool-util.c',
+        'ethtool-util.h',
+        'exec-util.c',
+        'exec-util.h',
+        'exit-status.c',
+        'exit-status.h',
+        'extension-release.c',
+        'extension-release.h',
+        'fdisk-util.h',
+        'fdset.c',
+        'fdset.h',
+        'fileio-label.c',
+        'fileio-label.h',
+        'firewall-util-nft.c',
+        'firewall-util-private.h',
+        'firewall-util.c',
+        'firewall-util.h',
+        'format-table.c',
+        'format-table.h',
+        'fsck-util.h',
+        'fstab-util.c',
+        'fstab-util.h',
+        'generator.c',
+        'generator.h',
+        'geneve-util.c',
+        'geneve-util.h',
+        'gpt.c',
+        'gpt.h',
+        'group-record.c',
+        'group-record.h',
+        'hostname-setup.c',
+        'hostname-setup.h',
+        'hwdb-util.c',
+        'hwdb-util.h',
+        'id128-print.c',
+        'id128-print.h',
+        'idn-util.c',
+        'idn-util.h',
+        'ima-util.c',
+        'ima-util.h',
+        'import-util.c',
+        'import-util.h',
+        'in-addr-prefix-util.c',
+        'in-addr-prefix-util.h',
+        'initreq.h',
+        'install-file.c',
+        'install-file.h',
+        'install-printf.c',
+        'install-printf.h',
+        'install.c',
+        'install.h',
+        'ip-protocol-list.c',
+        'ip-protocol-list.h',
+        'ipvlan-util.c',
+        'ipvlan-util.h',
+        'journal-importer.c',
+        'journal-importer.h',
+        'journal-util.c',
+        'journal-util.h',
+        'json-internal.h',
+        'json.c',
+        'json.h',
+        'kbd-util.c',
+        'kbd-util.h',
+        'keyring-util.h',
+        'keyring-util.c',
+        'killall.c',
+        'killall.h',
+        'label.c',
+        'label.h',
+        'libcrypt-util.c',
+        'libcrypt-util.h',
+        'libfido2-util.c',
+        'libfido2-util.h',
+        'libmount-util.h',
+        'linux/auto_dev-ioctl.h',
+        'linux/bpf.h',
+        'linux/bpf_common.h',
+        'linux/bpf_insn.h',
+        'linux/dm-ioctl.h',
+        'linux/ethtool.h',
+        'local-addresses.c',
+        'local-addresses.h',
+        'lockfile-util.c',
+        'lockfile-util.h',
+        'log-link.h',
+        'logs-show.c',
+        'logs-show.h',
+        'loop-util.c',
+        'loop-util.h',
+        'loopback-setup.c',
+        'loopback-setup.h',
+        'machine-id-setup.c',
+        'machine-id-setup.h',
+        'machine-pool.c',
+        'machine-pool.h',
+        'macvlan-util.c',
+        'macvlan-util.h',
+        'main-func.h',
+        'mkdir-label.c',
+        'mkdir-label.h',
+        'mkfs-util.c',
+        'mkfs-util.h',
+        'module-util.h',
+        'mount-setup.c',
+        'mount-setup.h',
+        'mount-util.c',
+        'mount-util.h',
+        'net-condition.c',
+        'net-condition.h',
+        'netif-naming-scheme.c',
+        'netif-naming-scheme.h',
+        'netif-sriov.c',
+        'netif-sriov.h',
+        'netif-util.c',
+        'netif-util.h',
+        'nscd-flush.h',
+        'nsflags.c',
+        'nsflags.h',
+        'numa-util.c',
+        'numa-util.h',
+        'openssl-util.c',
+        'openssl-util.h',
+        'output-mode.c',
+        'output-mode.h',
+        'pager.c',
+        'pager.h',
+        'parse-argument.c',
+        'parse-argument.h',
+        'parse-socket-bind-item.c',
+        'parse-socket-bind-item.h',
+        'pcre2-dlopen.c',
+        'pcre2-dlopen.h',
+        'pe-header.h',
+        'pkcs11-util.c',
+        'pkcs11-util.h',
+        'pretty-print.c',
+        'pretty-print.h',
+        'psi-util.c',
+        'psi-util.h',
+        'ptyfwd.c',
+        'ptyfwd.h',
+        'pwquality-util.c',
+        'pwquality-util.h',
+        'qrcode-util.c',
+        'qrcode-util.h',
+        'quota-util.c',
+        'quota-util.h',
+        'reboot-util.c',
+        'reboot-util.h',
+        'resize-fs.c',
+        'resize-fs.h',
+        'resolve-util.c',
+        'resolve-util.h',
+        'rm-rf.c',
+        'rm-rf.h',
+        'seccomp-util.h',
+        'securebits-util.c',
+        'securebits-util.h',
+        'selinux-util.c',
+        'selinux-util.h',
+        'serialize.c',
+        'serialize.h',
+        'service-util.c',
+        'service-util.h',
+        'sleep-config.c',
+        'sleep-config.h',
+        'smack-util.c',
+        'smack-util.h',
+        'socket-label.c',
+        'socket-netlink.c',
+        'socket-netlink.h',
+        'spawn-ask-password-agent.c',
+        'spawn-ask-password-agent.h',
+        'spawn-polkit-agent.c',
+        'spawn-polkit-agent.h',
+        'specifier.c',
+        'specifier.h',
+        'switch-root.c',
+        'switch-root.h',
+        'tmpfile-util-label.c',
+        'tmpfile-util-label.h',
+        'tomoyo-util.c',
+        'tomoyo-util.h',
+        'tpm2-util.c',
+        'tpm2-util.h',
+        'udev-util.c',
+        'udev-util.h',
+        'uid-alloc-range.c',
+        'uid-alloc-range.h',
+        'uid-range.c',
+        'uid-range.h',
+        'user-record-nss.c',
+        'user-record-nss.h',
+        'user-record-show.c',
+        'user-record-show.h',
+        'user-record.c',
+        'user-record.h',
+        'userdb-dropin.c',
+        'userdb-dropin.h',
+        'userdb.c',
+        'userdb.h',
+        'utmp-wtmp.h',
+        'varlink.c',
+        'varlink.h',
+        'verb-log-control.c',
+        'verb-log-control.h',
+        'verbs.c',
+        'verbs.h',
+        'vlan-util.c',
+        'vlan-util.h',
+        'volatile-util.c',
+        'volatile-util.h',
+        'watchdog.c',
+        'watchdog.h',
+        'web-util.c',
+        'web-util.h',
+        'wifi-util.c',
+        'wifi-util.h',
+        'xml.c',
+        'xml.h')
 
 if get_option('tests') != 'false'
-        shared_sources += files('''
-                test-tables.h
-                tests.c
-                tests.h
-        '''.split())
+        shared_sources += files(
+                'test-tables.h',
+                'tests.c',
+                'tests.h')
 endif
 
 generate_syscall_list = find_program('generate-syscall-list.py')
@@ -354,10 +352,9 @@ syscall_list_h = custom_target(
         capture : true)
 
 if conf.get('HAVE_ACL') == 1
-        shared_sources += files('''
-                acl-util.c
-                devnode-acl.c
-        '''.split())
+        shared_sources += files(
+                'acl-util.c',
+                'devnode-acl.c')
 endif
 
 if conf.get('ENABLE_UTMP') == 1
@@ -374,10 +371,9 @@ if conf.get('HAVE_LIBIPTC') == 1
 endif
 
 if conf.get('HAVE_LIBBPF') == 1
-        shared_sources += files('''
-                bpf-link.c
-                bpf-link.h
-        '''.split())
+        shared_sources += files(
+                'bpf-link.c',
+                'bpf-link.h')
 endif
 
 if conf.get('HAVE_KMOD') == 1
index fcc9f9f0ac9156c51fbee1dbeae8c10f1ace19ad..a4f4d39814febf0285c780ef48346867615f2a27 100644 (file)
@@ -1,10 +1,9 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_shutdown_sources = files('''
-        shutdown.c
-        umount.c
-        umount.h
-'''.split())
+systemd_shutdown_sources = files(
+        'shutdown.c',
+        'umount.c',
+        'umount.h')
 
 tests += [
         [files('test-umount.c',
index 1517df414e8c84442543377c42c379650023dfe2..f159adb8cc07330e6c655d524e3a0d3b9e8196ff 100644 (file)
@@ -1,5 +1,3 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_sysext_sources = files('''
-        sysext.c
-'''.split())
+systemd_sysext_sources = files('sysext.c')
index 4f40b9f57f7f91b801ad8c8be85d142ebcfd99c1..324e7cfd0cb5b1a5620422d72fb5305c38744ebc 100644 (file)
@@ -1,43 +1,41 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-_systemd_headers = '''
-        sd-bus.h
-        sd-bus-protocol.h
-        sd-bus-vtable.h
-        sd-daemon.h
-        sd-device.h
-        sd-event.h
-        sd-hwdb.h
-        sd-id128.h
-        sd-journal.h
-        sd-login.h
-        sd-messages.h
-        sd-path.h
-'''.split()
+_systemd_headers = [
+        'sd-bus.h',
+        'sd-bus-protocol.h',
+        'sd-bus-vtable.h',
+        'sd-daemon.h',
+        'sd-device.h',
+        'sd-event.h',
+        'sd-hwdb.h',
+        'sd-id128.h',
+        'sd-journal.h',
+        'sd-login.h',
+        'sd-messages.h',
+        'sd-path.h']
 
 # https://github.com/mesonbuild/meson/issues/1633
 systemd_headers = files(_systemd_headers)
 
-_not_installed_headers = '''
-        sd-dhcp6-client.h
-        sd-dhcp6-lease.h
-        sd-dhcp-client.h
-        sd-dhcp-lease.h
-        sd-dhcp-option.h
-        sd-dhcp6-option.h
-        sd-dhcp-server.h
-        sd-ipv4acd.h
-        sd-ipv4ll.h
-        sd-lldp-rx.h
-        sd-lldp-tx.h
-        sd-lldp.h
-        sd-ndisc.h
-        sd-netlink.h
-        sd-network.h
-        sd-radv.h
-        sd-resolve.h
-        sd-utf8.h
-'''.split()
+_not_installed_headers = [
+        'sd-dhcp6-client.h',
+        'sd-dhcp6-lease.h',
+        'sd-dhcp-client.h',
+        'sd-dhcp-lease.h',
+        'sd-dhcp-option.h',
+        'sd-dhcp6-option.h',
+        'sd-dhcp-server.h',
+        'sd-ipv4acd.h',
+        'sd-ipv4ll.h',
+        'sd-lldp-rx.h',
+        'sd-lldp-tx.h',
+        'sd-lldp.h',
+        'sd-ndisc.h',
+        'sd-netlink.h',
+        'sd-network.h',
+        'sd-radv.h',
+        'sd-resolve.h',
+        'sd-utf8.h']
 
 install_headers(
         systemd_headers,
index 7d1e6d06bf523cf31c154a6cb785616cc6a58049..ada367c85a25ff9202cd7159d32a0a5d32e64f51 100644 (file)
@@ -1,47 +1,45 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-udevadm_sources = files('''
-        udevadm.c
-        udevadm.h
-        udevadm-control.c
-        udevadm-hwdb.c
-        udevadm-info.c
-        udevadm-monitor.c
-        udevadm-settle.c
-        udevadm-test.c
-        udevadm-test-builtin.c
-        udevadm-trigger.c
-        udevadm-util.c
-        udevadm-util.h
-        udevd.c
-'''.split())
-
-libudevd_core_sources = '''
-        udev-ctrl.c
-        udev-ctrl.h
-        udev-event.c
-        udev-event.h
-        udev-node.c
-        udev-node.h
-        udev-rules.c
-        udev-rules.h
-        udev-watch.c
-        udev-watch.h
-        udev-builtin.c
-        udev-builtin.h
-        udev-builtin-btrfs.c
-        udev-builtin-hwdb.c
-        udev-builtin-input_id.c
-        udev-builtin-keyboard.c
-        udev-builtin-net_id.c
-        udev-builtin-net_setup_link.c
-        udev-builtin-path_id.c
-        udev-builtin-usb_id.c
-        udev-netlink.c
-        udev-netlink.h
-        net/link-config.c
-        net/link-config.h
-'''.split()
+udevadm_sources = files(
+        'udevadm.c',
+        'udevadm.h',
+        'udevadm-control.c',
+        'udevadm-hwdb.c',
+        'udevadm-info.c',
+        'udevadm-monitor.c',
+        'udevadm-settle.c',
+        'udevadm-test.c',
+        'udevadm-test-builtin.c',
+        'udevadm-trigger.c',
+        'udevadm-util.c',
+        'udevadm-util.h',
+        'udevd.c')
+
+libudevd_core_sources = [
+        'udev-ctrl.c',
+        'udev-ctrl.h',
+        'udev-event.c',
+        'udev-event.h',
+        'udev-node.c',
+        'udev-node.h',
+        'udev-rules.c',
+        'udev-rules.h',
+        'udev-watch.c',
+        'udev-watch.h',
+        'udev-builtin.c',
+        'udev-builtin.h',
+        'udev-builtin-btrfs.c',
+        'udev-builtin-hwdb.c',
+        'udev-builtin-input_id.c',
+        'udev-builtin-keyboard.c',
+        'udev-builtin-net_id.c',
+        'udev-builtin-net_setup_link.c',
+        'udev-builtin-path_id.c',
+        'udev-builtin-usb_id.c',
+        'udev-netlink.c',
+        'udev-netlink.h',
+        'net/link-config.c',
+        'net/link-config.h']
 
 if conf.get('HAVE_KMOD') == 1
         libudevd_core_sources += ['udev-builtin-kmod.c']
index 3a6225e01eaae6c9ea9ebc6ee00357ec10533fff..a17d7bb32838f4906ddfc5a09e2e376559145f39 100644 (file)
@@ -1,15 +1,10 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
-systemd_userwork_sources = files('''
-        userwork.c
-'''.split())
+systemd_userwork_sources = files('userwork.c')
 
-systemd_userdbd_sources = files('''
-        userdbd-manager.c
-        userdbd-manager.h
-        userdbd.c
-'''.split())
+systemd_userdbd_sources = files(
+        'userdbd-manager.c',
+        'userdbd-manager.h',
+        'userdbd.c')
 
-userdbctl_sources = files('''
-        userdbctl.c
-'''.split())
+userdbctl_sources = files('userdbctl.c')