qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

meson.build (1695B)


      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',
     10   'filter-rewriter.c',
     11   'filter.c',
     12   'hub.c',
     13   'net.c',
     14   'queue.c',
     15   'socket.c',
     16   'stream.c',
     17   'dgram.c',
     18   'util.c',
     19 ))
     20 
     21 softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c'))
     22 
     23 if have_l2tpv3
     24   softmmu_ss.add(files('l2tpv3.c'))
     25 endif
     26 softmmu_ss.add(when: slirp, if_true: files('slirp.c'))
     27 softmmu_ss.add(when: vde, if_true: files('vde.c'))
     28 if have_netmap
     29   softmmu_ss.add(files('netmap.c'))
     30 endif
     31 if have_vhost_net_user
     32   softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'), if_false: files('vhost-user-stub.c'))
     33   softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-user-stub.c'))
     34 endif
     35 
     36 softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('tap-linux.c'))
     37 softmmu_ss.add(when: 'CONFIG_BSD', if_true: files('tap-bsd.c'))
     38 softmmu_ss.add(when: 'CONFIG_SOLARIS', if_true: files('tap-solaris.c'))
     39 tap_posix = ['tap.c']
     40 if not config_host.has_key('CONFIG_LINUX') and not config_host.has_key('CONFIG_BSD') and not config_host.has_key('CONFIG_SOLARIS')
     41   tap_posix += 'tap-stub.c'
     42 endif
     43 softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files(tap_posix))
     44 softmmu_ss.add(when: 'CONFIG_WIN32', if_true: files('tap-win32.c'))
     45 if have_vhost_net_vdpa
     46   softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'), if_false: files('vhost-vdpa-stub.c'))
     47   softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-vdpa-stub.c'))
     48 endif
     49 
     50 vmnet_files = files(
     51   'vmnet-common.m',
     52   'vmnet-bridged.m',
     53   'vmnet-host.c',
     54   'vmnet-shared.c'
     55 )
     56 softmmu_ss.add(when: vmnet, if_true: vmnet_files)
     57 subdir('can')