summaryrefslogtreecommitdiffstats
path: root/src/xdg-autostart-generator/meson.build
blob: c938932c6215415571cb6f03214095e0ea8d29c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# SPDX-License-Identifier: LGPL-2.1-or-later

systemd_xdg_autostart_generator_sources = files(
        'xdg-autostart-generator.c',
        'xdg-autostart-service.c',
)

executables += [
        executable_template + {
                'name' : 'systemd-xdg-autostart-generator',
                'conditions' : ['ENABLE_XDG_AUTOSTART'],
                'sources' : systemd_xdg_autostart_generator_sources,
                'install_dir' : usergeneratordir,
        },
        libexec_template + {
                'name' : 'systemd-xdg-autostart-condition',
                'conditions' : ['ENABLE_XDG_AUTOSTART'],
                'sources' : files('xdg-autostart-condition.c'),
        },
        test_template + {
                'sources' : files(
                        'test-xdg-autostart.c',
                        'xdg-autostart-service.c',
                ),
        },
        fuzz_template + {
                'sources' : files(
                        'fuzz-xdg-desktop.c',
                        'xdg-autostart-service.c',
                ),
        },
]