xref: /openbmc/qemu/disas/meson.build (revision 2e1cacfb)
1common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
2common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
3common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
4common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
5common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
6common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c', 'nanomips.c'))
7common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files(
8    'riscv.c',
9    'riscv-xthead.c',
10    'riscv-xventana.c'
11))
12common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
13common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
14common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
15common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
16common_ss.add(when: 'CONFIG_TCG', if_true: files(
17    'disas-host.c',
18    'disas-target.c',
19    'objdump.c'
20))
21common_ss.add(files('disas-common.c'))
22system_ss.add(files('disas-mon.c'))
23specific_ss.add(capstone)
24