1if not get_option('tcg').allowed() 2 subdir_done() 3endif 4 5tcg_ss = ss.source_set() 6 7tcg_ss.add(files( 8 'optimize.c', 9 'region.c', 10 'tcg.c', 11 'tcg-common.c', 12 'tcg-op.c', 13 'tcg-op-ldst.c', 14 'tcg-op-gvec.c', 15 'tcg-op-vec.c', 16)) 17 18if get_option('tcg_interpreter') 19 libffi = dependency('libffi', version: '>=3.0', required: true, 20 method: 'pkg-config') 21 tcg_ss.add(libffi) 22 tcg_ss.add(files('tci.c')) 23endif 24 25tcg_ss.add(when: libdw, if_true: files('debuginfo.c')) 26if host_os == 'linux' 27 tcg_ss.add(files('perf.c')) 28endif 29 30libuser_ss.add_all(tcg_ss) 31libsystem_ss.add_all(tcg_ss) 32