qemu/target/arm
Paolo Bonzini 139c1837db meson: rename included C source files to .c.inc
With Makefiles that have automatically generated dependencies, you
generated includes are set as dependencies of the Makefile, so that they
are built before everything else and they are available when first
building the .c files.

Alternatively you can use a fine-grained dependency, e.g.

        target/arm/translate.o: target/arm/decode-neon-shared.inc.c

With Meson you have only one choice and it is a third option, namely
"build at the beginning of the corresponding target"; the way you
express it is to list the includes in the sources of that target.

The problem is that Meson decides if something is a source vs. a
generated include by looking at the extension: '.c', '.cc', '.m', '.C'
are sources, while everything else is considered an include---including
'.inc.c'.

Use '.c.inc' to avoid this, as it is consistent with our other convention
of using '.rst.inc' for included reStructuredText files.  The editorconfig
file is adjusted.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-21 06:18:30 -04:00
..
a32-uncond.decode
a32.decode
arch_dump.c
arm-powerctl.c
arm-powerctl.h
arm-semi.c
arm_ldst.h
cpu-param.h
cpu-qom.h
cpu.c
cpu.h
cpu64.c
cpu_tcg.c
crypto_helper.c
debug_helper.c
gdbstub.c
gdbstub64.c
helper-a64.c
helper-a64.h
helper-sve.h
helper.c
helper.h
idau.h
internals.h
iwmmxt_helper.c
kvm-consts.h
kvm-stub.c
kvm.c
kvm32.c
kvm64.c
kvm_arm.h
m_helper.c
machine.c
Makefile.objs meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
monitor.c
mte_helper.c
neon-dp.decode
neon-ls.decode
neon-shared.decode
neon_helper.c
op_addsub.h
op_helper.c
pauth_helper.c
psci.c
sve.decode
sve_helper.c
t16.decode
t32.decode
tlb_helper.c
trace-events
trace.h
translate-a64.c
translate-a64.h
translate-neon.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
translate-sve.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
translate-vfp.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
translate.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
translate.h
vec_helper.c
vec_internal.h
vfp-uncond.decode
vfp.decode
vfp_helper.c