1
0

Replace list of driver source files with variables

Update the DRIVER_SOURCE_FILES variable to reference the
other various XXX_SOURCES variables, instead of duplicating
the filename lists. This results in a bunch of extra files
being processed, but the test scripts can easily skip those

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2013-04-29 14:39:44 +01:00
parent b9c1315f48
commit c6c1e0074b

View File

@ -438,44 +438,30 @@ check-drivername:
EXTRA_DIST += check-drivername.pl EXTRA_DIST += check-drivername.pl
DRIVER_SOURCE_FILES = \ DRIVER_SOURCE_FILES = \
esx/esx_device_monitor.c \ $(ESX_DRIVER_SOURCES) \
esx/esx_driver.c \ $(HYPERV_DRIVER_SORUCES) \
esx/esx_interface_driver.c \ $(INTERFACE_DRIVER_SOURCES) \
esx/esx_network_driver.c \ $(LIBXL_DRIVER_SOURCES) \
esx/esx_nwfilter_driver.c \ $(LXC_DRIVER_SOURCES) \
esx/esx_secret_driver.c \ $(NETWORK_DRIVER_SOURCES) \
esx/esx_storage_driver.c \ $(NODE_DEVICE_DRIVER_SOURCES) \
hyperv/hyperv_device_monitor.c \ $(NODE_DEVICE_DRIVER_HAL_SOURCES) \
hyperv/hyperv_driver.c \ $(NODE_DEVICE_DRIVER_UDEV_SOURCES) \
hyperv/hyperv_interface_driver.c \ $(NWFILTER_DRIVER_SOURCES) \
hyperv/hyperv_network_driver.c \ $(OPENVZ_DRIVER_SOURCES) \
hyperv/hyperv_nwfilter_driver.c \ $(PARALLELS_DRIVER_SOURCES) \
hyperv/hyperv_secret_driver.c \ $(PHYP_DRIVER_SOURCES) \
hyperv/hyperv_storage_driver.c \ $(QEMU_DRIVER_SOURCES) \
interface/interface_backend_netcf.c \ $(REMOTE_DRIVER_SOURCES) \
interface/interface_backend_udev.c \ $(SECRET_DRIVER_SOURCES) \
libxl/libxl_driver.c \ $(STORAGE_DRIVER_SOURCES) \
lxc/lxc_driver.c \ $(TEST_DRIVER_SOURCES) \
network/bridge_driver.c \ $(UML_DRIVER_SOURCES) \
node_device/node_device_hal.c \ $(VBOX_DRIVER_SOURCES) \
node_device/node_device_udev.c \
nwfilter/nwfilter_driver.c \
openvz/openvz_driver.c \
parallels/parallels_driver.c \
parallels/parallels_network.c \
parallels/parallels_storage.c \
phyp/phyp_driver.c \
qemu/qemu_driver.c \
remote/remote_driver.c \
secret/secret_driver.c \
storage/storage_driver.c \
test/test_driver.c \
uml/uml_driver.c \
vbox/vbox_driver.c \
vbox/vbox_tmpl.c \ vbox/vbox_tmpl.c \
vmware/vmware_driver.c \ $(VMWARE_DRIVER_SOURCES) \
xen/xen_driver.c \ $(XEN_DRIVER_SOURCES) \
xenapi/xenapi_driver.c \ $(XENAPI_DRIVER_SOURCES) \
$(NULL) $(NULL)