| 1 | if not have_tcg |
| 2 | subdir_done() |
| 3 | endif |
| 4 | |
| 5 | tcg_ss = ss.source_set() |
| 6 | |
| 7 | tcg_ss.add(files( |
| 8 | 'cpu-exec.c', |
| 9 | 'cpu-exec-common.c', |
| 10 | 'tcg-runtime.c', |
| 11 | 'tcg-runtime-gvec.c', |
| 12 | 'tb-maint.c', |
| 13 | 'tcg-all.c', |
| 14 | 'tcg-stats.c', |
| 15 | 'translate-all.c', |
| 16 | 'translator.c', |
| 17 | )) |
| 18 | if get_option('plugins') |
| 19 | tcg_ss.add(files('plugin-gen.c')) |
| 20 | endif |
| 21 | |
| 22 | user_ss.add_all(tcg_ss) |
| 23 | system_ss.add_all(tcg_ss) |
| 24 | |
| 25 | user_ss.add(files( |
| 26 | 'user-exec.c', |
| 27 | 'user-exec-stub.c', |
| 28 | )) |
| 29 | |
| 30 | system_ss.add(files( |
| 31 | 'cputlb.c', |
| 32 | 'icount-common.c', |
| 33 | 'monitor.c', |
| 34 | 'tcg-accel-ops.c', |
| 35 | 'tcg-accel-ops-icount.c', |
| 36 | 'tcg-accel-ops-mttcg.c', |
| 37 | 'tcg-accel-ops-rr.c', |
| 38 | 'watchpoint.c', |
| 39 | )) |