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/viraccessapicheck.h \
access/viraccessapicheck.c \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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