]> git.proxmox.com Git - mirror_qemu.git/blame - chardev/meson.build
block-coroutine-wrapper.py: introduce annotations that take the graph rdlock
[mirror_qemu.git] / chardev / meson.build
CommitLineData
848e8ff6
MAL
1chardev_ss.add(files(
2 'char-fe.c',
3 'char-file.c',
4 'char-io.c',
5 'char-mux.c',
6 'char-null.c',
7 'char-pipe.c',
8 'char-ringbuf.c',
9 'char-serial.c',
10 'char-socket.c',
11 'char-stdio.c',
12 'char-udp.c',
13 'char.c',
14))
3f6c2e8b 15chardev_ss.add(when: 'CONFIG_POSIX', if_true: [files(
848e8ff6
MAL
16 'char-fd.c',
17 'char-parallel.c',
18 'char-pty.c',
3f6c2e8b 19), util])
848e8ff6
MAL
20chardev_ss.add(when: 'CONFIG_WIN32', if_true: files(
21 'char-console.c',
22 'char-win-stdio.c',
23 'char-win.c',
24))
25
26chardev_ss = chardev_ss.apply(config_host, strict: false)
2634733c 27
5a1ee607 28softmmu_ss.add(files('msmouse.c', 'wctablet.c', 'testdev.c'))
2634733c
PB
29
30chardev_modules = {}
31
8c6d4ff4 32if brlapi.found()
2634733c 33 module_ss = ss.source_set()
fd6c986d 34 module_ss.add(when: [brlapi], if_true: [files('baum.c'), pixman])
48e33de5 35 chardev_modules += { 'baum': module_ss }
2634733c
PB
36endif
37
3f0a5d55 38if spice.found()
23ebeaae
GH
39 module_ss = ss.source_set()
40 module_ss.add(when: [spice], if_true: files('spice.c'))
41 chardev_modules += { 'spice': module_ss }
42endif
43
2634733c 44modules += { 'chardev': chardev_modules }