xref: /qemu/accel/tcg/meson.build (revision c4b45298a9b87dc8195aeb3f6439629be9881a17)
143e7a2d3SPhilippe Mathieu-Daudécommon_ss.add(when: 'CONFIG_TCG', if_true: files(
243e7a2d3SPhilippe Mathieu-Daudé  'cpu-exec-common.c',
36e9f9002SRichard Henderson  'tcg-runtime.c',
49e208076SRichard Henderson  'tcg-runtime-gvec.c',
543e7a2d3SPhilippe Mathieu-Daudé))
629c0e683SPhilippe Mathieu-Daudétcg_specific_ss = ss.source_set()
729c0e683SPhilippe Mathieu-Daudétcg_specific_ss.add(files(
8940e43aaSClaudio Fontana  'tcg-all.c',
91a82878aSMarc-André Lureau  'cpu-exec.c',
108a14b62cSRichard Henderson  'tb-maint.c',
111a82878aSMarc-André Lureau  'translate-all.c',
121a82878aSMarc-André Lureau  'translator.c',
131a82878aSMarc-André Lureau))
1429c0e683SPhilippe Mathieu-Daudétcg_specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
152c13c574SPaolo Bonziniif get_option('plugins')
1629c0e683SPhilippe Mathieu-Daudé  tcg_specific_ss.add(files('plugin-gen.c'))
172c13c574SPaolo Bonziniendif
1829c0e683SPhilippe Mathieu-Daudéspecific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss)
191a82878aSMarc-André Lureau
20c7b64948SPhilippe Mathieu-Daudéspecific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files(
2145e077d7SClaudio Fontana  'cputlb.c',
225934660fSPhilippe Mathieu-Daudé))
235934660fSPhilippe Mathieu-Daudé
24*c4b45298SRichard Hendersonuser_ss.add(when: ['CONFIG_TCG'], if_true: files(
25*c4b45298SRichard Henderson  'user-exec-stub.c',
26*c4b45298SRichard Henderson))
27*c4b45298SRichard Henderson
285934660fSPhilippe Mathieu-Daudésystem_ss.add(when: ['CONFIG_TCG'], if_true: files(
29467bf3fcSPhilippe Mathieu-Daudé  'icount-common.c',
3000c9a5c2SPhilippe Mathieu-Daudé  'monitor.c',
31ab6d7297SRichard Henderson  'tcg-accel-ops.c',
3229172ec5SRichard Henderson  'tcg-accel-ops-icount.c',
333fd60df2SRichard Henderson  'tcg-accel-ops-mttcg.c',
343b9aec10SRichard Henderson  'tcg-accel-ops-rr.c',
3554699338SRichard Henderson  'watchpoint.c',
36dae0ec15SGerd Hoffmann))
37