]>
Commit | Line | Data |
---|---|---|
9de3cc14 SL |
1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
2 | ||
3 | libvmspawn_core_sources = files( | |
4 | 'vmspawn-settings.c', | |
5 | 'vmspawn-util.c', | |
cf3beb27 | 6 | 'vmspawn-scope.c', |
9de3cc14 SL |
7 | ) |
8 | libvmspawn_core = static_library( | |
9 | 'vmspawn-core', | |
10 | libvmspawn_core_sources, | |
11 | include_directories : includes, | |
12 | dependencies : [userspace], | |
13 | build_by_default : false) | |
14 | ||
15 | vmspawn_libs = [ | |
16 | libvmspawn_core, | |
17 | libshared, | |
18 | ] | |
19 | ||
20 | executables += [ | |
21 | executable_template + { | |
22 | 'name' : 'systemd-vmspawn', | |
23 | 'public' : true, | |
24 | 'conditions': ['ENABLE_VMSPAWN'], | |
25 | 'sources' : files('vmspawn.c'), | |
26 | 'link_with' : vmspawn_libs, | |
27 | } | |
28 | ] |