-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathmeson.build
112 lines (89 loc) · 1.79 KB
/
meson.build
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
client_sources = [
'client.c',
'../lib/migration.c',
'../lib/tran.c',
'../lib/tran_sock.c',
]
client_deps = [
json_c_dep,
thread_dep,
]
client = executable(
'client',
client_sources,
c_args: common_cflags,
dependencies: client_deps,
include_directories: public_include_dir + lib_include_dir,
install: false,
)
server_sources = [
'server.c',
]
server_deps = [
libvfio_user_dep,
]
server = executable(
'server',
server_sources,
c_args: common_cflags,
dependencies: server_deps,
include_directories: lib_include_dir,
install: false,
)
null_sources = [
'null.c',
]
null_deps = [
libvfio_user_dep,
thread_dep,
]
null = executable(
'null',
null_sources,
c_args: common_cflags,
dependencies: null_deps,
include_directories: lib_include_dir,
install: false,
)
gpio_pci_idio_16_sources = [
'gpio-pci-idio-16.c',
]
gpio_pci_idio_16_deps = [
libvfio_user_dep,
]
gpio_pci_idio_16 = executable(
'gpio-pci-idio-16',
gpio_pci_idio_16_sources,
c_args: common_cflags,
dependencies: gpio_pci_idio_16_deps,
include_directories: lib_include_dir,
install: false,
)
lspci_sources = [
'lspci.c',
]
lspci_deps = [
libvfio_user_dep,
]
lspci = executable(
'lspci',
lspci_sources,
c_args: common_cflags,
dependencies: lspci_deps,
include_directories: lib_include_dir,
install: false,
)
shadow_ioeventfd_server_sources = [
'shadow_ioeventfd_server.c',
]
shadow_ioeventfd_server_deps = [
libvfio_user_dep,
]
shadow_ioeventfd_server = executable(
'shadow_ioeventfd_server',
shadow_ioeventfd_server_sources,
c_args: common_cflags,
dependencies: shadow_ioeventfd_server_deps,
include_directories: lib_include_dir,
install: false,
)