qemu/contrib
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
..
elf2dmp contrib/elf2dmp: Build download.o with CURL_CFLAGS 2019-07-22 14:07:39 +01:00
gitdm meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
ivshmem-client Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
ivshmem-server qemu-option: Use returned bool to check for failure 2020-07-10 15:17:35 +02:00
libvhost-user libvhost-user: Report descriptor index on panic 2020-07-27 10:28:28 -04:00
rdmacm-mux contrib/rdmacm-mux: Remove superfluous semicolon 2020-02-18 20:20:49 +01:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk libvhost-user: advertise vring features 2020-06-12 10:17:06 -04:00
vhost-user-gpu vhost-user-gpu: Release memory returned by vu_queue_pop() with free() 2020-04-15 19:00:39 +01:00
vhost-user-input libvhost-user-glib: fix VugDev main fd cleanup 2020-02-27 03:46:10 -05:00
vhost-user-scsi vhost-user-scsi: fix printf format warning 2019-12-17 19:32:47 +01:00