]>
Commit | Line | Data |
---|---|---|
cdaf0722 MAL |
1 | softmmu_ss.add(files( |
2 | 'announce.c', | |
3 | 'checksum.c', | |
4 | 'colo-compare.c', | |
5 | 'colo.c', | |
6 | 'dump.c', | |
7 | 'eth.c', | |
8 | 'filter-buffer.c', | |
9 | 'filter-mirror.c', | |
cdaf0722 MAL |
10 | 'filter-rewriter.c', |
11 | 'filter.c', | |
12 | 'hub.c', | |
2030ca36 | 13 | 'net-hmp-cmds.c', |
cdaf0722 MAL |
14 | 'net.c', |
15 | 'queue.c', | |
16 | 'socket.c', | |
5166fe0a LV |
17 | 'stream.c', |
18 | 'dgram.c', | |
cdaf0722 MAL |
19 | 'util.c', |
20 | )) | |
21 | ||
9b1c9116 CF |
22 | softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c')) |
23 | ||
eea9453a TH |
24 | if have_l2tpv3 |
25 | softmmu_ss.add(files('l2tpv3.c')) | |
26 | endif | |
4d34a86b | 27 | softmmu_ss.add(when: slirp, if_true: files('slirp.c')) |
e1723999 | 28 | softmmu_ss.add(when: vde, if_true: files('vde.c')) |
837b84b1 PB |
29 | if have_netmap |
30 | softmmu_ss.add(files('netmap.c')) | |
31 | endif | |
43b6d7ee PB |
32 | if have_vhost_net_user |
33 | softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'), if_false: files('vhost-user-stub.c')) | |
34 | softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-user-stub.c')) | |
35 | endif | |
cdaf0722 MAL |
36 | |
37 | softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('tap-linux.c')) | |
38 | softmmu_ss.add(when: 'CONFIG_BSD', if_true: files('tap-bsd.c')) | |
39 | softmmu_ss.add(when: 'CONFIG_SOLARIS', if_true: files('tap-solaris.c')) | |
40 | tap_posix = ['tap.c'] | |
41 | if not config_host.has_key('CONFIG_LINUX') and not config_host.has_key('CONFIG_BSD') and not config_host.has_key('CONFIG_SOLARIS') | |
42 | tap_posix += 'tap-stub.c' | |
43 | endif | |
44 | softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files(tap_posix)) | |
45 | softmmu_ss.add(when: 'CONFIG_WIN32', if_true: files('tap-win32.c')) | |
43b6d7ee | 46 | if have_vhost_net_vdpa |
94c64373 EP |
47 | softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'), if_false: files('vhost-vdpa-stub.c')) |
48 | softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-vdpa-stub.c')) | |
43b6d7ee | 49 | endif |
cdaf0722 | 50 | |
81ad2964 VY |
51 | vmnet_files = files( |
52 | 'vmnet-common.m', | |
53 | 'vmnet-bridged.m', | |
54 | 'vmnet-host.c', | |
55 | 'vmnet-shared.c' | |
56 | ) | |
57 | softmmu_ss.add(when: vmnet, if_true: vmnet_files) | |
cdaf0722 | 58 | subdir('can') |