We have other subdirectories with just a single C file. And I expect
that systemd-measure will only grow over time, adding new functionality.
It's nicer to give its own subdirectory to maintain consistent structure.
subdir('src/login')
subdir('src/machine')
subdir('src/machine-id-setup')
+subdir('src/measure')
subdir('src/mountfsd')
subdir('src/modules-load')
subdir('src/mount')
# SPDX-License-Identifier: LGPL-2.1-or-later
executables += [
- libexec_template + {
- 'name' : 'systemd-measure',
- 'conditions' : [
- 'HAVE_BLKID',
- 'HAVE_OPENSSL',
- 'HAVE_TPM2',
- ],
- 'sources' : files('measure.c'),
- 'dependencies' : libopenssl,
- },
libexec_template + {
'name' : 'systemd-sbsign',
'conditions' : [
--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+executables += [
+ libexec_template + {
+ 'name' : 'systemd-measure',
+ 'conditions' : [
+ 'HAVE_BLKID',
+ 'HAVE_OPENSSL',
+ 'HAVE_TPM2',
+ ],
+ 'sources' : files('measure.c'),
+ 'dependencies' : libopenssl,
+ },
+]