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