mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
src: access: generate source files into build directory
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
7b9cd113dc
commit
b98f90cf91
7
.gitignore
vendored
7
.gitignore
vendored
@ -41,13 +41,6 @@ Makefile.in
|
|||||||
# libvirt related ignores
|
# libvirt related ignores
|
||||||
/build/
|
/build/
|
||||||
/ci/scratch/
|
/ci/scratch/
|
||||||
/src/access/org.libvirt.api.policy
|
|
||||||
/src/access/viraccessapicheck.c
|
|
||||||
/src/access/viraccessapicheck.h
|
|
||||||
/src/access/viraccessapichecklxc.c
|
|
||||||
/src/access/viraccessapichecklxc.h
|
|
||||||
/src/access/viraccessapicheckqemu.c
|
|
||||||
/src/access/viraccessapicheckqemu.h
|
|
||||||
/src/admin/admin_client.h
|
/src/admin/admin_client.h
|
||||||
/src/admin/admin_server_dispatch_stubs.h
|
/src/admin/admin_server_dispatch_stubs.h
|
||||||
/src/esx/*.generated.*
|
/src/esx/*.generated.*
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
@BUILDDIR@/src/access/viraccessapicheck.c
|
||||||
|
@BUILDDIR@/src/access/viraccessapichecklxc.c
|
||||||
|
@BUILDDIR@/src/access/viraccessapicheckqemu.c
|
||||||
@SRCDIR@/gnulib/lib/gai_strerror.c
|
@SRCDIR@/gnulib/lib/gai_strerror.c
|
||||||
@SRCDIR@/gnulib/lib/regcomp.c
|
@SRCDIR@/gnulib/lib/regcomp.c
|
||||||
@SRCDIR@/src/access/viraccessdriverpolkit.c
|
@SRCDIR@/src/access/viraccessdriverpolkit.c
|
||||||
|
@ -38,7 +38,7 @@ ACCESS_DRIVER_POLKIT_SOURCES = \
|
|||||||
access/viraccessdriverpolkit.c \
|
access/viraccessdriverpolkit.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ACCESS_DRIVER_POLKIT_POLICY = $(srcdir)/access/org.libvirt.api.policy
|
ACCESS_DRIVER_POLKIT_POLICY = access/org.libvirt.api.policy
|
||||||
|
|
||||||
GENERATED_SYM_FILES += $(ACCESS_DRIVER_SYM_FILES)
|
GENERATED_SYM_FILES += $(ACCESS_DRIVER_SYM_FILES)
|
||||||
|
|
||||||
@ -122,31 +122,31 @@ access/viraccessapicheck.h: $(srcdir)/rpc/gendispatch.pl \
|
|||||||
$(REMOTE_PROTOCOL) Makefile.am
|
$(REMOTE_PROTOCOL) Makefile.am
|
||||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
||||||
remote REMOTE $(REMOTE_PROTOCOL) \
|
remote REMOTE $(REMOTE_PROTOCOL) \
|
||||||
> $(srcdir)/access/viraccessapicheck.h
|
> access/viraccessapicheck.h
|
||||||
access/viraccessapicheck.c: $(srcdir)/rpc/gendispatch.pl \
|
access/viraccessapicheck.c: $(srcdir)/rpc/gendispatch.pl \
|
||||||
$(REMOTE_PROTOCOL) Makefile.am
|
$(REMOTE_PROTOCOL) Makefile.am
|
||||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
||||||
remote REMOTE $(REMOTE_PROTOCOL) access/viraccessapicheck.h \
|
remote REMOTE $(REMOTE_PROTOCOL) access/viraccessapicheck.h \
|
||||||
> $(srcdir)/access/viraccessapicheck.c
|
> access/viraccessapicheck.c
|
||||||
|
|
||||||
access/viraccessapicheckqemu.h: $(srcdir)/rpc/gendispatch.pl \
|
access/viraccessapicheckqemu.h: $(srcdir)/rpc/gendispatch.pl \
|
||||||
$(QEMU_PROTOCOL) Makefile.am
|
$(QEMU_PROTOCOL) Makefile.am
|
||||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
||||||
qemu QEMU $(QEMU_PROTOCOL) \
|
qemu QEMU $(QEMU_PROTOCOL) \
|
||||||
> $(srcdir)/access/viraccessapicheckqemu.h
|
> access/viraccessapicheckqemu.h
|
||||||
access/viraccessapicheckqemu.c: $(srcdir)/rpc/gendispatch.pl \
|
access/viraccessapicheckqemu.c: $(srcdir)/rpc/gendispatch.pl \
|
||||||
$(QEMU_PROTOCOL) Makefile.am
|
$(QEMU_PROTOCOL) Makefile.am
|
||||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
||||||
qemu QEMU $(QEMU_PROTOCOL) access/viraccessapicheckqemu.h \
|
qemu QEMU $(QEMU_PROTOCOL) access/viraccessapicheckqemu.h \
|
||||||
> $(srcdir)/access/viraccessapicheckqemu.c
|
> access/viraccessapicheckqemu.c
|
||||||
|
|
||||||
access/viraccessapichecklxc.h: $(srcdir)/rpc/gendispatch.pl \
|
access/viraccessapichecklxc.h: $(srcdir)/rpc/gendispatch.pl \
|
||||||
$(LXC_PROTOCOL) Makefile.am
|
$(LXC_PROTOCOL) Makefile.am
|
||||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
||||||
lxc LXC $(LXC_PROTOCOL) \
|
lxc LXC $(LXC_PROTOCOL) \
|
||||||
> $(srcdir)/access/viraccessapichecklxc.h
|
> access/viraccessapichecklxc.h
|
||||||
access/viraccessapichecklxc.c: $(srcdir)/rpc/gendispatch.pl \
|
access/viraccessapichecklxc.c: $(srcdir)/rpc/gendispatch.pl \
|
||||||
$(LXC_PROTOCOL) Makefile.am
|
$(LXC_PROTOCOL) Makefile.am
|
||||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
||||||
lxc LXC $(LXC_PROTOCOL) access/viraccessapichecklxc.h \
|
lxc LXC $(LXC_PROTOCOL) access/viraccessapichecklxc.h \
|
||||||
> $(srcdir)/access/viraccessapichecklxc.c
|
> access/viraccessapichecklxc.c
|
||||||
|
@ -89,6 +89,7 @@ endif WITH_DTRACE_PROBES
|
|||||||
libvirt_admin_la_CFLAGS = \
|
libvirt_admin_la_CFLAGS = \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
-I$(builddir)/admin \
|
-I$(builddir)/admin \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/remote \
|
-I$(srcdir)/remote \
|
||||||
-I$(srcdir)/rpc \
|
-I$(srcdir)/rpc \
|
||||||
-I$(builddir)/rpc \
|
-I$(builddir)/rpc \
|
||||||
|
@ -21,6 +21,7 @@ if WITH_INTERFACE
|
|||||||
mod_LTLIBRARIES += libvirt_driver_interface.la
|
mod_LTLIBRARIES += libvirt_driver_interface.la
|
||||||
libvirt_driver_interface_la_CFLAGS = \
|
libvirt_driver_interface_la_CFLAGS = \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
$(LIBNL_CFLAGS) \
|
$(LIBNL_CFLAGS) \
|
||||||
|
@ -44,6 +44,7 @@ libvirt_driver_libxl_impl_la_CFLAGS = \
|
|||||||
$(LIBXL_CFLAGS) \
|
$(LIBXL_CFLAGS) \
|
||||||
$(LIBXML_CFLAGS) \
|
$(LIBXML_CFLAGS) \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
-I$(srcdir)/secret \
|
-I$(srcdir)/secret \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
|
@ -94,6 +94,7 @@ libvirt_driver_lxc_impl_la_CFLAGS = \
|
|||||||
$(FUSE_CFLAGS) \
|
$(FUSE_CFLAGS) \
|
||||||
$(XDR_CFLAGS) \
|
$(XDR_CFLAGS) \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
-I$(builddir)/lxc \
|
-I$(builddir)/lxc \
|
||||||
-I$(builddir)/rpc \
|
-I$(builddir)/rpc \
|
||||||
|
@ -44,6 +44,7 @@ libvirt_driver_network_impl_la_CFLAGS = \
|
|||||||
$(LIBNL_CFLAGS) \
|
$(LIBNL_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
$(DBUS_CFLAGS) \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
@ -39,6 +39,7 @@ libvirt_driver_nodedev_la_SOURCES = $(NODE_DEVICE_DRIVER_SOURCES)
|
|||||||
|
|
||||||
libvirt_driver_nodedev_la_CFLAGS = \
|
libvirt_driver_nodedev_la_CFLAGS = \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
$(LIBNL_CFLAGS) \
|
$(LIBNL_CFLAGS) \
|
||||||
|
@ -37,6 +37,7 @@ libvirt_driver_nwfilter_impl_la_CFLAGS = \
|
|||||||
$(LIBNL_CFLAGS) \
|
$(LIBNL_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
$(DBUS_CFLAGS) \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
@ -95,6 +95,7 @@ libvirt_driver_qemu_impl_la_CFLAGS = \
|
|||||||
$(SELINUX_CFLAGS) \
|
$(SELINUX_CFLAGS) \
|
||||||
$(XDR_CFLAGS) \
|
$(XDR_CFLAGS) \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
-I$(srcdir)/secret \
|
-I$(srcdir)/secret \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
|
@ -48,6 +48,7 @@ REMOTE_DAEMON_CFLAGS = \
|
|||||||
$(PIE_CFLAGS) \
|
$(PIE_CFLAGS) \
|
||||||
$(COVERAGE_CFLAGS) \
|
$(COVERAGE_CFLAGS) \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
-I$(srcdir)/rpc \
|
-I$(srcdir)/rpc \
|
||||||
-I$(builddir)/rpc \
|
-I$(builddir)/rpc \
|
||||||
|
@ -28,6 +28,7 @@ if WITH_SECRETS
|
|||||||
mod_LTLIBRARIES += libvirt_driver_secret.la
|
mod_LTLIBRARIES += libvirt_driver_secret.la
|
||||||
libvirt_driver_secret_la_CFLAGS = \
|
libvirt_driver_secret_la_CFLAGS = \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
@ -119,6 +119,7 @@ storagefile_LTLIBRARIES =
|
|||||||
libvirt_driver_storage_impl_la_SOURCES =
|
libvirt_driver_storage_impl_la_SOURCES =
|
||||||
libvirt_driver_storage_impl_la_CFLAGS = \
|
libvirt_driver_storage_impl_la_CFLAGS = \
|
||||||
-I$(srcdir)/access \
|
-I$(srcdir)/access \
|
||||||
|
-I$(builddir)/access \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
-I$(srcdir)/secret \
|
-I$(srcdir)/secret \
|
||||||
$(AM_CFLAGS) \
|
$(AM_CFLAGS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user