]>
Commit | Line | Data |
---|---|---|
a81df1b6 PB |
1 | util_ss.add(dependency('threads')) |
2 | util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c')) | |
3 | util_ss.add(when: 'CONFIG_ATOMIC64', if_false: files('atomic64.c')) | |
4 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c')) | |
5 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('fdmon-poll.c')) | |
6 | util_ss.add(when: 'CONFIG_EPOLL_CREATE1', if_true: files('fdmon-epoll.c')) | |
6dd93c2b | 7 | util_ss.add(when: ['CONFIG_LINUX_IO_URING', linux_io_uring], if_true: files('fdmon-io_uring.c')) |
a81df1b6 PB |
8 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('compatfd.c')) |
9 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('event_notifier-posix.c')) | |
10 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('mmap-alloc.c')) | |
11 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('oslib-posix.c')) | |
12 | util_ss.add(when: 'CONFIG_POSIX', if_true: [files('qemu-openpty.c'), util]) | |
13 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('qemu-thread-posix.c')) | |
14 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('memfd.c')) | |
15 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('aio-win32.c')) | |
16 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('event_notifier-win32.c')) | |
17 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('oslib-win32.c')) | |
18 | util_ss.add(when: 'CONFIG_WIN32', if_true: files('qemu-thread-win32.c')) | |
19 | util_ss.add(when: 'CONFIG_WIN32', if_true: winmm) | |
20 | util_ss.add(files('envlist.c', 'path.c', 'module.c')) | |
21 | util_ss.add(files('host-utils.c')) | |
22 | util_ss.add(files('bitmap.c', 'bitops.c')) | |
23 | util_ss.add(files('fifo8.c')) | |
084cfca1 | 24 | util_ss.add(files('cacheinfo.c', 'cacheflush.c')) |
a81df1b6 PB |
25 | util_ss.add(files('error.c', 'qemu-error.c')) |
26 | util_ss.add(files('qemu-print.c')) | |
27 | util_ss.add(files('id.c')) | |
28 | util_ss.add(files('qemu-config.c', 'notify.c')) | |
29 | util_ss.add(files('qemu-option.c', 'qemu-progress.c')) | |
30 | util_ss.add(files('keyval.c')) | |
31 | util_ss.add(files('crc32c.c')) | |
32 | util_ss.add(files('uuid.c')) | |
33 | util_ss.add(files('getauxval.c')) | |
34 | util_ss.add(files('rcu.c')) | |
35 | util_ss.add(when: 'CONFIG_MEMBARRIER', if_true: files('sys_membarrier.c')) | |
36 | util_ss.add(files('log.c')) | |
37 | util_ss.add(files('pagesize.c')) | |
38 | util_ss.add(files('qdist.c')) | |
39 | util_ss.add(files('qht.c')) | |
40 | util_ss.add(files('qsp.c')) | |
41 | util_ss.add(files('range.c')) | |
42 | util_ss.add(files('stats64.c')) | |
43 | util_ss.add(files('systemd.c')) | |
8cad15b1 | 44 | util_ss.add(files('transactions.c')) |
a81df1b6 PB |
45 | util_ss.add(when: 'CONFIG_POSIX', if_true: files('drm.c')) |
46 | util_ss.add(files('guest-random.c')) | |
e0150291 | 47 | util_ss.add(files('yank.c')) |
a81df1b6 PB |
48 | |
49 | if have_user | |
50 | util_ss.add(files('selfmap.c')) | |
51 | endif | |
52 | ||
53 | if have_system | |
0b73ce30 | 54 | util_ss.add(files('crc-ccitt.c')) |
a81df1b6 | 55 | util_ss.add(when: 'CONFIG_GIO', if_true: [files('dbus.c'), gio]) |
0e9b5cd6 | 56 | util_ss.add(when: 'CONFIG_LINUX', if_true: files('userfaultfd.c')) |
a81df1b6 PB |
57 | endif |
58 | ||
59 | if have_block | |
60 | util_ss.add(files('aiocb.c', 'async.c', 'aio-wait.c')) | |
61 | util_ss.add(files('base64.c')) | |
62 | util_ss.add(files('buffer.c')) | |
63 | util_ss.add(files('bufferiszero.c')) | |
64 | util_ss.add(files('coroutine-@0@.c'.format(config_host['CONFIG_COROUTINE_BACKEND']))) | |
65 | util_ss.add(files('hbitmap.c')) | |
66 | util_ss.add(files('hexdump.c')) | |
67 | util_ss.add(files('iova-tree.c')) | |
68 | util_ss.add(files('iov.c', 'qemu-sockets.c', 'uri.c')) | |
69 | util_ss.add(files('lockcnt.c')) | |
70 | util_ss.add(files('main-loop.c')) | |
71 | util_ss.add(files('nvdimm-utils.c')) | |
72 | util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c')) | |
bc15e44c | 73 | util_ss.add(when: 'CONFIG_LINUX', if_true: [ |
3a213f83 SH |
74 | files('vhost-user-server.c'), vhost_user |
75 | ]) | |
5937835a | 76 | util_ss.add(files('block-helpers.c')) |
a81df1b6 PB |
77 | util_ss.add(files('qemu-coroutine-sleep.c')) |
78 | util_ss.add(files('qemu-co-shared-resource.c')) | |
79 | util_ss.add(files('thread-pool.c', 'qemu-timer.c')) | |
80 | util_ss.add(files('readline.c')) | |
81 | util_ss.add(files('throttle.c')) | |
82 | util_ss.add(files('timed-average.c')) | |
83 | util_ss.add(when: 'CONFIG_INOTIFY1', if_true: files('filemonitor-inotify.c'), | |
84 | if_false: files('filemonitor-stub.c')) | |
85 | util_ss.add(when: 'CONFIG_LINUX', if_true: files('vfio-helpers.c')) | |
86 | endif |