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