]>
Commit | Line | Data |
---|---|---|
a81df1b6 | 1 | util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c')) |
10218ae6 | 2 | util_ss.add(files('thread-context.c'), numa) |
bd87a367 PB |
3 | if not config_host_data.get('CONFIG_ATOMIC64') |
4 | util_ss.add(files('atomic64.c')) | |
5 | endif | |
c891c24b | 6 | util_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c')) |
a81df1b6 PB |
7 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c')) |
8 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('fdmon-poll.c')) | |
e66420ac PB |
9 | if config_host_data.get('CONFIG_EPOLL_CREATE1') |
10 | util_ss.add(files('fdmon-epoll.c')) | |
11 | endif | |
63a7f853 | 12 | util_ss.add(when: linux_io_uring, if_true: files('fdmon-io_uring.c')) |
a81df1b6 PB |
13 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('compatfd.c')) |
14 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('event_notifier-posix.c')) | |
15 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('mmap-alloc.c')) | |
7f74e8ac MAL |
16 | freebsd_dep = [] |
17 | if targetos == 'freebsd' | |
18 | freebsd_dep = util | |
19 | endif | |
20 | util_ss.add(when: 'CONFIG_POSIX', if_true: [files('oslib-posix.c'), freebsd_dep]) | |
a81df1b6 PB |
21 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('qemu-thread-posix.c')) |
22 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('memfd.c')) | |
23 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('aio-win32.c')) | |
24 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('event_notifier-win32.c')) | |
25 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('oslib-win32.c')) | |
26 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('qemu-thread-win32.c')) | |
27 | util_ss.add(when: 'CONFIG_WIN32', if_true: winmm) | |
cf60ccc3 | 28 | util_ss.add(when: 'CONFIG_WIN32', if_true: pathcch) |
fc9a809e PB |
29 | if glib_has_gslice |
30 | util_ss.add(files('qtree.c')) | |
31 | endif | |
a81df1b6 PB |
32 | util_ss.add(files('envlist.c', 'path.c', 'module.c')) |
33 | util_ss.add(files('host-utils.c')) | |
34 | util_ss.add(files('bitmap.c', 'bitops.c')) | |
35 | util_ss.add(files('fifo8.c')) | |
79713752 | 36 | util_ss.add(files('cacheflush.c')) |
15002f60 | 37 | util_ss.add(files('error.c', 'error-report.c')) |
a81df1b6 PB |
38 | util_ss.add(files('qemu-print.c')) |
39 | util_ss.add(files('id.c')) | |
40 | util_ss.add(files('qemu-config.c', 'notify.c')) | |
41 | util_ss.add(files('qemu-option.c', 'qemu-progress.c')) | |
42 | util_ss.add(files('keyval.c')) | |
43 | util_ss.add(files('crc32c.c')) | |
44 | util_ss.add(files('uuid.c')) | |
45 | util_ss.add(files('getauxval.c')) | |
46 | util_ss.add(files('rcu.c')) | |
b87df904 PB |
47 | if have_membarrier |
48 | util_ss.add(files('sys_membarrier.c')) | |
49 | endif | |
a81df1b6 | 50 | util_ss.add(files('log.c')) |
a81df1b6 PB |
51 | util_ss.add(files('qdist.c')) |
52 | util_ss.add(files('qht.c')) | |
53 | util_ss.add(files('qsp.c')) | |
54 | util_ss.add(files('range.c')) | |
55 | util_ss.add(files('stats64.c')) | |
56 | util_ss.add(files('systemd.c')) | |
8cad15b1 | 57 | util_ss.add(files('transactions.c')) |
a81df1b6 PB |
58 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('drm.c')) |
59 | util_ss.add(files('guest-random.c')) | |
e0150291 | 60 | util_ss.add(files('yank.c')) |
e9d07601 | 61 | util_ss.add(files('int128.c')) |
ac8057a1 | 62 | util_ss.add(files('memalign.c')) |
0d99d37a | 63 | util_ss.add(files('interval-tree.c')) |
bd688fc9 | 64 | util_ss.add(files('lockcnt.c')) |
a81df1b6 PB |
65 | |
66 | if have_user | |
67 | util_ss.add(files('selfmap.c')) | |
68 | endif | |
69 | ||
70 | if have_system | |
0b73ce30 | 71 | util_ss.add(files('crc-ccitt.c')) |
7544060e | 72 | util_ss.add(when: gio, if_true: files('dbus.c')) |
0e9b5cd6 | 73 | util_ss.add(when: 'CONFIG_LINUX', if_true: files('userfaultfd.c')) |
a81df1b6 PB |
74 | endif |
75 | ||
e0091133 TH |
76 | if have_block or have_ga |
77 | util_ss.add(files('aiocb.c', 'async.c')) | |
a81df1b6 | 78 | util_ss.add(files('base64.c')) |
e0091133 TH |
79 | util_ss.add(files('main-loop.c')) |
80 | util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c')) | |
6739825a | 81 | util_ss.add(files(f'coroutine-@coroutine_backend@.c')) |
e0091133 TH |
82 | util_ss.add(files('thread-pool.c', 'qemu-timer.c')) |
83 | util_ss.add(files('qemu-sockets.c')) | |
84 | endif | |
85 | if have_block | |
86 | util_ss.add(files('aio-wait.c')) | |
a81df1b6 PB |
87 | util_ss.add(files('buffer.c')) |
88 | util_ss.add(files('bufferiszero.c')) | |
a81df1b6 PB |
89 | util_ss.add(files('hbitmap.c')) |
90 | util_ss.add(files('hexdump.c')) | |
91 | util_ss.add(files('iova-tree.c')) | |
e0091133 | 92 | util_ss.add(files('iov.c', 'uri.c')) |
a81df1b6 | 93 | util_ss.add(files('nvdimm-utils.c')) |
bc15e44c | 94 | util_ss.add(when: 'CONFIG_LINUX', if_true: [ |
3a213f83 SH |
95 | files('vhost-user-server.c'), vhost_user |
96 | ]) | |
5937835a | 97 | util_ss.add(files('block-helpers.c')) |
a81df1b6 PB |
98 | util_ss.add(files('qemu-coroutine-sleep.c')) |
99 | util_ss.add(files('qemu-co-shared-resource.c')) | |
e1878eb5 | 100 | util_ss.add(files('qemu-co-timeout.c')) |
a81df1b6 PB |
101 | util_ss.add(files('readline.c')) |
102 | util_ss.add(files('throttle.c')) | |
103 | util_ss.add(files('timed-average.c')) | |
9d30c78c VR |
104 | if config_host_data.get('CONFIG_INOTIFY1') |
105 | util_ss.add(files('filemonitor-inotify.c')) | |
106 | else | |
107 | util_ss.add(files('filemonitor-stub.c')) | |
108 | endif | |
a81df1b6 PB |
109 | util_ss.add(when: 'CONFIG_LINUX', if_true: files('vfio-helpers.c')) |
110 | endif | |
6bc12fd0 | 111 | |
0dd0c7fa RH |
112 | if cpu == 'aarch64' |
113 | util_ss.add(files('cpuinfo-aarch64.c')) | |
114 | elif cpu in ['x86', 'x86_64'] | |
6bc12fd0 RH |
115 | util_ss.add(files('cpuinfo-i386.c')) |
116 | endif |