mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
make: split vmware driver build rules into vmware/Makefile.inc.am
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
253b528c3f
commit
af04f5c023
@ -78,6 +78,7 @@ include phyp/Makefile.inc.am
|
|||||||
include test/Makefile.inc.am
|
include test/Makefile.inc.am
|
||||||
include esx/Makefile.inc.am
|
include esx/Makefile.inc.am
|
||||||
include hyperv/Makefile.inc.am
|
include hyperv/Makefile.inc.am
|
||||||
|
include vmware/Makefile.inc.am
|
||||||
|
|
||||||
install-data-extra: $(INSTALL_DATA_DIRS:%=install-data-%)
|
install-data-extra: $(INSTALL_DATA_DIRS:%=install-data-%)
|
||||||
uninstall-data-extra: $(INSTALL_DATA_DIRS:%=install-data-%)
|
uninstall-data-extra: $(INSTALL_DATA_DIRS:%=install-data-%)
|
||||||
@ -782,7 +783,6 @@ DRIVER_SOURCE_FILES += \
|
|||||||
$(STORAGE_DRIVER_SOURCES) \
|
$(STORAGE_DRIVER_SOURCES) \
|
||||||
$(VBOX_DRIVER_SOURCES) \
|
$(VBOX_DRIVER_SOURCES) \
|
||||||
vbox/vbox_tmpl.c \
|
vbox/vbox_tmpl.c \
|
||||||
$(VMWARE_DRIVER_SOURCES) \
|
|
||||||
$(XEN_DRIVER_SOURCES) \
|
$(XEN_DRIVER_SOURCES) \
|
||||||
$(XENAPI_DRIVER_SOURCES) \
|
$(XENAPI_DRIVER_SOURCES) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
@ -914,10 +914,6 @@ OPENVZ_DRIVER_SOURCES = \
|
|||||||
openvz/openvz_driver.c openvz/openvz_driver.h \
|
openvz/openvz_driver.c openvz/openvz_driver.h \
|
||||||
openvz/openvz_util.c openvz/openvz_util.h
|
openvz/openvz_util.c openvz/openvz_util.h
|
||||||
|
|
||||||
VMWARE_DRIVER_SOURCES = \
|
|
||||||
vmware/vmware_driver.c vmware/vmware_driver.h \
|
|
||||||
vmware/vmware_conf.c vmware/vmware_conf.h
|
|
||||||
|
|
||||||
VBOX_DRIVER_SOURCES = \
|
VBOX_DRIVER_SOURCES = \
|
||||||
vbox/vbox_glue.c vbox/vbox_glue.h \
|
vbox/vbox_glue.c vbox/vbox_glue.h \
|
||||||
vbox/vbox_driver.c vbox/vbox_driver.h \
|
vbox/vbox_driver.c vbox/vbox_driver.h \
|
||||||
@ -1420,14 +1416,6 @@ libvirt_driver_openvz_la_CFLAGS = \
|
|||||||
libvirt_driver_openvz_la_SOURCES = $(OPENVZ_DRIVER_SOURCES)
|
libvirt_driver_openvz_la_SOURCES = $(OPENVZ_DRIVER_SOURCES)
|
||||||
endif WITH_OPENVZ
|
endif WITH_OPENVZ
|
||||||
|
|
||||||
if WITH_VMWARE
|
|
||||||
noinst_LTLIBRARIES += libvirt_driver_vmware.la
|
|
||||||
libvirt_la_BUILT_LIBADD += libvirt_driver_vmware.la
|
|
||||||
libvirt_driver_vmware_la_CFLAGS = \
|
|
||||||
-I$(srcdir)/conf -I$(srcdir)/vmx $(AM_CFLAGS)
|
|
||||||
libvirt_driver_vmware_la_SOURCES = $(VMWARE_DRIVER_SOURCES)
|
|
||||||
endif WITH_VMWARE
|
|
||||||
|
|
||||||
if WITH_VBOX
|
if WITH_VBOX
|
||||||
noinst_LTLIBRARIES += \
|
noinst_LTLIBRARIES += \
|
||||||
libvirt_driver_vbox_impl.la
|
libvirt_driver_vbox_impl.la
|
||||||
@ -2023,7 +2011,6 @@ EXTRA_DIST += \
|
|||||||
$(SECRET_DRIVER_SOURCES) \
|
$(SECRET_DRIVER_SOURCES) \
|
||||||
$(SECRET_UTIL_SOURCES) \
|
$(SECRET_UTIL_SOURCES) \
|
||||||
$(VBOX_DRIVER_EXTRA_DIST) \
|
$(VBOX_DRIVER_EXTRA_DIST) \
|
||||||
$(VMWARE_DRIVER_SOURCES) \
|
|
||||||
$(XENCONFIG_SOURCES) \
|
$(XENCONFIG_SOURCES) \
|
||||||
$(XENCONFIG_LIBXL_SOURCES) \
|
$(XENCONFIG_LIBXL_SOURCES) \
|
||||||
$(ACCESS_DRIVER_POLKIT_POLICY)
|
$(ACCESS_DRIVER_POLKIT_POLICY)
|
||||||
@ -2204,12 +2191,6 @@ else ! WITH_VMX
|
|||||||
SYM_FILES += $(srcdir)/libvirt_vmx.syms
|
SYM_FILES += $(srcdir)/libvirt_vmx.syms
|
||||||
endif ! WITH_VMX
|
endif ! WITH_VMX
|
||||||
|
|
||||||
if WITH_VMWARE
|
|
||||||
USED_SYM_FILES += $(srcdir)/libvirt_vmware.syms
|
|
||||||
else ! WITH_VMWARE
|
|
||||||
SYM_FILES += $(srcdir)/libvirt_vmware.syms
|
|
||||||
endif ! WITH_VMWARE
|
|
||||||
|
|
||||||
if WITH_XENCONFIG
|
if WITH_XENCONFIG
|
||||||
USED_SYM_FILES += $(srcdir)/libvirt_xenconfig.syms
|
USED_SYM_FILES += $(srcdir)/libvirt_xenconfig.syms
|
||||||
else ! WITH_XENCONFIG
|
else ! WITH_XENCONFIG
|
||||||
|
27
src/vmware/Makefile.inc.am
Normal file
27
src/vmware/Makefile.inc.am
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
VMWARE_DRIVER_SOURCES = \
|
||||||
|
vmware/vmware_driver.c \
|
||||||
|
vmware/vmware_driver.h \
|
||||||
|
vmware/vmware_conf.c \
|
||||||
|
vmware/vmware_conf.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
DRIVER_SOURCE_FILES += $(VMWARE_DRIVER_SOURCES)
|
||||||
|
|
||||||
|
EXTRA_DIST += $(VMWARE_DRIVER_SOURCES)
|
||||||
|
|
||||||
|
if WITH_VMWARE
|
||||||
|
noinst_LTLIBRARIES += libvirt_driver_vmware.la
|
||||||
|
libvirt_la_BUILT_LIBADD += libvirt_driver_vmware.la
|
||||||
|
libvirt_driver_vmware_la_CFLAGS = \
|
||||||
|
-I$(srcdir)/conf \
|
||||||
|
-I$(srcdir)/vmx \
|
||||||
|
$(AM_CFLAGS) \
|
||||||
|
$(NULL)
|
||||||
|
libvirt_driver_vmware_la_SOURCES = $(VMWARE_DRIVER_SOURCES)
|
||||||
|
endif WITH_VMWARE
|
||||||
|
|
||||||
|
if WITH_VMWARE
|
||||||
|
USED_SYM_FILES += $(srcdir)/libvirt_vmware.syms
|
||||||
|
else ! WITH_VMWARE
|
||||||
|
SYM_FILES += $(srcdir)/libvirt_vmware.syms
|
||||||
|
endif ! WITH_VMWARE
|
Loading…
Reference in New Issue
Block a user