maint: Add filetype annotations to Makefile.inc.am

Vim has trouble figuring out the filetype automatically because
the name doesn't follow existing conventions; annotations like
the ones we already have in Makefile.ci help it out.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-04-12 14:41:10 +02:00
parent dfe06e6202
commit 03a07357e1
32 changed files with 64 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
ACCESS_DRIVER_GENERATED = \ ACCESS_DRIVER_GENERATED = \
access/viraccessapicheck.h \ access/viraccessapicheck.h \
access/viraccessapicheck.c \ access/viraccessapicheck.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
ADMIN_PROTOCOL = $(srcdir)/admin/admin_protocol.x ADMIN_PROTOCOL = $(srcdir)/admin/admin_protocol.x
ADMIN_PROTOCOL_GENERATED = \ ADMIN_PROTOCOL_GENERATED = \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
BHYVE_DRIVER_SOURCES = \ BHYVE_DRIVER_SOURCES = \
bhyve/bhyve_capabilities.c \ bhyve/bhyve_capabilities.c \
bhyve/bhyve_capabilities.h \ bhyve/bhyve_capabilities.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
NETDEV_CONF_SOURCES = \ NETDEV_CONF_SOURCES = \
conf/netdev_bandwidth_conf.h \ conf/netdev_bandwidth_conf.h \
conf/netdev_bandwidth_conf.c \ conf/netdev_bandwidth_conf.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
CPU_SOURCES = \ CPU_SOURCES = \
cpu/cpu.h \ cpu/cpu.h \
cpu/cpu.c \ cpu/cpu.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
cpumapdir = $(pkgdatadir)/cpu_map cpumapdir = $(pkgdatadir)/cpu_map
cpumap_DATA = \ cpumap_DATA = \
cpu_map/index.xml \ cpu_map/index.xml \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
ESX_DRIVER_SOURCES = \ ESX_DRIVER_SOURCES = \
esx/esx_private.h \ esx/esx_private.h \
esx/esx_driver.c \ esx/esx_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
HYPERV_DRIVER_SOURCES = \ HYPERV_DRIVER_SOURCES = \
hyperv/hyperv_private.h \ hyperv/hyperv_private.h \
hyperv/hyperv_driver.c \ hyperv/hyperv_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
INTERFACE_DRIVER_SOURCES = \ INTERFACE_DRIVER_SOURCES = \
interface/interface_driver.h \ interface/interface_driver.h \
interface/interface_driver.c \ interface/interface_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
LIBXL_DRIVER_SOURCES = \ LIBXL_DRIVER_SOURCES = \
libxl/libxl_conf.c \ libxl/libxl_conf.c \
libxl/libxl_conf.h \ libxl/libxl_conf.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
DRIVER_SOURCES += \ DRIVER_SOURCES += \
locking/lock_manager.c \ locking/lock_manager.c \
locking/lock_manager.h \ locking/lock_manager.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
LOG_PROTOCOL_GENERATED = \ LOG_PROTOCOL_GENERATED = \
logging/log_protocol.h \ logging/log_protocol.h \
logging/log_protocol.c \ logging/log_protocol.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
LXC_MONITOR_PROTOCOL_GENERATED = \ LXC_MONITOR_PROTOCOL_GENERATED = \
lxc/lxc_monitor_protocol.h \ lxc/lxc_monitor_protocol.h \
lxc/lxc_monitor_protocol.c \ lxc/lxc_monitor_protocol.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
NETWORK_DRIVER_SOURCES = \ NETWORK_DRIVER_SOURCES = \
network/bridge_driver.h \ network/bridge_driver.h \
network/bridge_driver.c \ network/bridge_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
NODE_DEVICE_DRIVER_SOURCES = \ NODE_DEVICE_DRIVER_SOURCES = \
node_device/node_device_driver.c \ node_device/node_device_driver.c \
node_device/node_device_driver.h \ node_device/node_device_driver.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
NWFILTER_DRIVER_SOURCES = \ NWFILTER_DRIVER_SOURCES = \
nwfilter/nwfilter_driver.h \ nwfilter/nwfilter_driver.h \
nwfilter/nwfilter_driver.c \ nwfilter/nwfilter_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
OPENVZ_DRIVER_SOURCES = \ OPENVZ_DRIVER_SOURCES = \
openvz/openvz_conf.c \ openvz/openvz_conf.c \
openvz/openvz_conf.h \ openvz/openvz_conf.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
PHYP_DRIVER_SOURCES = \ PHYP_DRIVER_SOURCES = \
phyp/phyp_driver.c \ phyp/phyp_driver.c \
phyp/phyp_driver.h \ phyp/phyp_driver.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
QEMU_DRIVER_SOURCES = \ QEMU_DRIVER_SOURCES = \
qemu/qemu_agent.c \ qemu/qemu_agent.c \
qemu/qemu_agent.h \ qemu/qemu_agent.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
REMOTE_DRIVER_GENERATED = \ REMOTE_DRIVER_GENERATED = \
remote/remote_protocol.c \ remote/remote_protocol.c \
remote/remote_protocol.h \ remote/remote_protocol.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
EXTRA_DIST += \ EXTRA_DIST += \
rpc/gendispatch.pl \ rpc/gendispatch.pl \
rpc/genprotocol.pl \ rpc/genprotocol.pl \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
SECRET_DRIVER_SOURCES = \ SECRET_DRIVER_SOURCES = \
secret/secret_driver.h \ secret/secret_driver.h \
secret/secret_driver.c \ secret/secret_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
SECURITY_DRIVER_APPARMOR_HELPER_SOURCES = \ SECURITY_DRIVER_APPARMOR_HELPER_SOURCES = \
$(DATATYPES_SOURCES) \ $(DATATYPES_SOURCES) \
security/virt-aa-helper.c \ security/virt-aa-helper.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
STORAGE_DRIVER_BACKEND_SOURCES = \ STORAGE_DRIVER_BACKEND_SOURCES = \
storage/storage_backend.h \ storage/storage_backend.h \
storage/storage_backend.c \ storage/storage_backend.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
TEST_DRIVER_SOURCES = \ TEST_DRIVER_SOURCES = \
test/test_driver.c \ test/test_driver.c \
test/test_driver.h \ test/test_driver.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
# These files are not related to driver APIs. Simply generic # These files are not related to driver APIs. Simply generic
# helper APIs for various purposes # helper APIs for various purposes
UTIL_SOURCES = \ UTIL_SOURCES = \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
VBOX_DRIVER_SOURCES = \ VBOX_DRIVER_SOURCES = \
vbox/vbox_glue.c \ vbox/vbox_glue.c \
vbox/vbox_glue.h \ vbox/vbox_glue.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
VMWARE_DRIVER_SOURCES = \ VMWARE_DRIVER_SOURCES = \
vmware/vmware_driver.c \ vmware/vmware_driver.c \
vmware/vmware_driver.h \ vmware/vmware_driver.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
VMX_SOURCES = \ VMX_SOURCES = \
vmx/vmx.c \ vmx/vmx.c \
vmx/vmx.h \ vmx/vmx.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
VZ_DRIVER_SOURCES = \ VZ_DRIVER_SOURCES = \
vz/vz_driver.h \ vz/vz_driver.h \
vz/vz_driver.c \ vz/vz_driver.c \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
XENAPI_DRIVER_SOURCES = \ XENAPI_DRIVER_SOURCES = \
xenapi/xenapi_driver.c \ xenapi/xenapi_driver.c \
xenapi/xenapi_driver.h \ xenapi/xenapi_driver.h \

View File

@ -1,3 +1,5 @@
# vim: filetype=automake
XENCONFIG_SOURCES = \ XENCONFIG_SOURCES = \
xenconfig/xenxs_private.h \ xenconfig/xenxs_private.h \
xenconfig/xen_common.c \ xenconfig/xen_common.c \