mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Move all XML configuration handling to src/conf/
* src/capabilities.c, src/capabilities.h, src/domain_conf.c, src/domain_conf.h, src/domain_event.c, src/domain_event.h, src/interface_conf.c, src/interface_conf.h, src/network_conf.c, src/network_conf.h, src/node_device_conf.c, src/node_device_conf.h, src/secret_conf.c, src/secret_conf.h, src/storage_conf.c, src/storage_conf.h, src/storage_encryption_conf.c, src/storage_encryption_conf.h: Move to src/conf/ * src/Makefile.am: Add -Isrc/conf to the individual build targets which need to use XML config APIs. Remove LIBXML_CFLAGS, LIBSSH2_CFLAGS and SELINUX_CFLAGS from global INCLUDES and only have them in build targets which actually need them. Create a libvirt_conf.la convenience library for all config parsers * src/hostusb.h: Remove bogus include of domain_conf.h * tests/Makefile.am: Add -Isrc/conf. Remove bogus -I$builddir/src since it never has any generated header files * daemon/Makefile.am: Add -Isrc/conf * proxy/Makefile.am: Add -Isrc/conf and cope with renamed files * src/hash.c: Remove bogus include of libxml/threads.h
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
if WITH_PROXY
|
||||
INCLUDES = -I$(top_srcdir)/gnulib/lib -I../gnulib/lib \
|
||||
-I$(top_builddir)/include -I@top_srcdir@/include \
|
||||
-I@top_srcdir@/proxy -I@top_srcdir@/src -I@top_srcdir@/src/xen @LIBXML_CFLAGS@ \
|
||||
-I@top_srcdir@/proxy -I@top_srcdir@/src \
|
||||
-I@top_srcdir@/src/conf \
|
||||
-I@top_srcdir@/src/xen \
|
||||
@LIBXML_CFLAGS@ \
|
||||
-DPROXY -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
|
||||
-DGETTEXT_PACKAGE=\"$(PACKAGE)\" $(WARN_CFLAGS) $(XEN_CFLAGS)
|
||||
|
||||
@@ -14,10 +17,10 @@ libvirt_proxy_SOURCES = libvirt_proxy.c @top_srcdir@/src/xen/xend_internal.c \
|
||||
@top_srcdir@/src/xen/sexpr.c \
|
||||
@top_srcdir@/src/threads.c \
|
||||
@top_srcdir@/src/xen/xs_internal.c @top_srcdir@/src/buf.c \
|
||||
@top_srcdir@/src/capabilities.c \
|
||||
@top_srcdir@/src/conf/capabilities.c \
|
||||
@top_srcdir@/src/memory.c \
|
||||
@top_srcdir@/src/storage_encryption_conf.c \
|
||||
@top_srcdir@/src/domain_conf.c \
|
||||
@top_srcdir@/src/conf/storage_encryption_conf.c \
|
||||
@top_srcdir@/src/conf/domain_conf.c \
|
||||
@top_srcdir@/src/util.c \
|
||||
@top_srcdir@/src/event.c \
|
||||
@top_srcdir@/src/uuid.c \
|
||||
|
||||
Reference in New Issue
Block a user