| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
if conf.get('ENABLE_MOUNTFSD') != 1 |
| 4 |
subdir_done() |
| 5 |
endif |
| 6 |
|
| 7 |
systemd_mountwork_sources = files( |
| 8 |
'mountwork.c', |
| 9 |
) |
| 10 |
|
| 11 |
systemd_mountfsd_sources = files( |
| 12 |
'mountfsd.c', |
| 13 |
'mountfsd-manager.c', |
| 14 |
) |
| 15 |
|
| 16 |
executables += [ |
| 17 |
libexec_template + { |
| 18 |
'name' : 'systemd-mountfsd', |
| 19 |
'sources' : systemd_mountfsd_sources, |
| 20 |
}, |
| 21 |
libexec_template + { |
| 22 |
'name' : 'systemd-mountwork', |
| 23 |
'sources' : systemd_mountwork_sources, |
| 24 |
}, |
| 25 |
] |
| 26 |
|
| 27 |
install_data('io.systemd.mount-file-system.policy', |
| 28 |
install_dir : polkitpolicydir) |