| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
if conf.get('ENABLE_TMPFILES') != 1 |
| 4 |
subdir_done() |
| 5 |
endif |
| 6 |
|
| 7 |
offline_passwd_c = files('offline-passwd.c') |
| 8 |
|
| 9 |
executables += [ |
| 10 |
executable_template + { |
| 11 |
'name' : 'systemd-tmpfiles', |
| 12 |
'public' : true, |
| 13 |
'extract' : files('tmpfiles.c') + |
| 14 |
offline_passwd_c, |
| 15 |
'dependencies' : libacl_cflags, |
| 16 |
}, |
| 17 |
executable_template + { |
| 18 |
'name' : 'systemd-tmpfiles.standalone', |
| 19 |
'public' : true, |
| 20 |
'objects' : ['systemd-tmpfiles'], |
| 21 |
'link_with' : [ |
| 22 |
libc_wrapper_static, |
| 23 |
libbasic_static, |
| 24 |
libshared_static, |
| 25 |
libsystemd_static, |
| 26 |
], |
| 27 |
'dependencies' : libacl_cflags, |
| 28 |
}, |
| 29 |
test_template + { |
| 30 |
'sources' : files('test-offline-passwd.c') + |
| 31 |
offline_passwd_c, |
| 32 |
}, |
| 33 |
] |