]>
Commit | Line | Data |
---|---|---|
848e8ff6 MAL |
1 | chardev_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 | )) | |
d0cda6f4 | 15 | if host_os == 'windows' |
dc495494 PB |
16 | chardev_ss.add(files( |
17 | 'char-console.c', | |
18 | 'char-win-stdio.c', | |
19 | 'char-win.c', | |
20 | )) | |
21 | else | |
22 | chardev_ss.add(files( | |
23 | 'char-fd.c', | |
24 | 'char-pty.c', | |
25 | ), util) | |
d0cda6f4 | 26 | if host_os in ['linux', 'gnu/kfreebsd', 'freebsd', 'dragonfly'] |
dc495494 PB |
27 | chardev_ss.add(files('char-parallel.c')) |
28 | endif | |
1baf34a1 PB |
29 | endif |
30 | ||
1220f581 | 31 | chardev_ss = chardev_ss.apply({}) |
2634733c | 32 | |
de6cd759 | 33 | system_ss.add(files( |
b7d75c0b MA |
34 | 'char-hmp-cmds.c', |
35 | 'msmouse.c', | |
36 | 'wctablet.c', | |
37 | 'testdev.c')) | |
2634733c PB |
38 | |
39 | chardev_modules = {} | |
40 | ||
8c6d4ff4 | 41 | if brlapi.found() |
2634733c | 42 | module_ss = ss.source_set() |
fd6c986d | 43 | module_ss.add(when: [brlapi], if_true: [files('baum.c'), pixman]) |
48e33de5 | 44 | chardev_modules += { 'baum': module_ss } |
2634733c PB |
45 | endif |
46 | ||
3f0a5d55 | 47 | if spice.found() |
23ebeaae GH |
48 | module_ss = ss.source_set() |
49 | module_ss.add(when: [spice], if_true: files('spice.c')) | |
50 | chardev_modules += { 'spice': module_ss } | |
51 | endif | |
52 | ||
2634733c | 53 | modules += { 'chardev': chardev_modules } |