mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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
|
||||
/build/
|
||||
/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_server_dispatch_stubs.h
|
||||
/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/regcomp.c
|
||||
@SRCDIR@/src/access/viraccessdriverpolkit.c
|
||||
|
@ -38,7 +38,7 @@ ACCESS_DRIVER_POLKIT_SOURCES = \
|
||||
access/viraccessdriverpolkit.c \
|
||||
$(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)
|
||||
|
||||
@ -122,31 +122,31 @@ access/viraccessapicheck.h: $(srcdir)/rpc/gendispatch.pl \
|
||||
$(REMOTE_PROTOCOL) Makefile.am
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
||||
remote REMOTE $(REMOTE_PROTOCOL) \
|
||||
> $(srcdir)/access/viraccessapicheck.h
|
||||
> access/viraccessapicheck.h
|
||||
access/viraccessapicheck.c: $(srcdir)/rpc/gendispatch.pl \
|
||||
$(REMOTE_PROTOCOL) Makefile.am
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
||||
remote REMOTE $(REMOTE_PROTOCOL) access/viraccessapicheck.h \
|
||||
> $(srcdir)/access/viraccessapicheck.c
|
||||
> access/viraccessapicheck.c
|
||||
|
||||
access/viraccessapicheckqemu.h: $(srcdir)/rpc/gendispatch.pl \
|
||||
$(QEMU_PROTOCOL) Makefile.am
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
||||
qemu QEMU $(QEMU_PROTOCOL) \
|
||||
> $(srcdir)/access/viraccessapicheckqemu.h
|
||||
> access/viraccessapicheckqemu.h
|
||||
access/viraccessapicheckqemu.c: $(srcdir)/rpc/gendispatch.pl \
|
||||
$(QEMU_PROTOCOL) Makefile.am
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
||||
qemu QEMU $(QEMU_PROTOCOL) access/viraccessapicheckqemu.h \
|
||||
> $(srcdir)/access/viraccessapicheckqemu.c
|
||||
> access/viraccessapicheckqemu.c
|
||||
|
||||
access/viraccessapichecklxc.h: $(srcdir)/rpc/gendispatch.pl \
|
||||
$(LXC_PROTOCOL) Makefile.am
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclheader \
|
||||
lxc LXC $(LXC_PROTOCOL) \
|
||||
> $(srcdir)/access/viraccessapichecklxc.h
|
||||
> access/viraccessapichecklxc.h
|
||||
access/viraccessapichecklxc.c: $(srcdir)/rpc/gendispatch.pl \
|
||||
$(LXC_PROTOCOL) Makefile.am
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=aclbody \
|
||||
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 = \
|
||||
$(AM_CFLAGS) \
|
||||
-I$(builddir)/admin \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/remote \
|
||||
-I$(srcdir)/rpc \
|
||||
-I$(builddir)/rpc \
|
||||
|
@ -21,6 +21,7 @@ if WITH_INTERFACE
|
||||
mod_LTLIBRARIES += libvirt_driver_interface.la
|
||||
libvirt_driver_interface_la_CFLAGS = \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
$(AM_CFLAGS) \
|
||||
$(LIBNL_CFLAGS) \
|
||||
|
@ -44,6 +44,7 @@ libvirt_driver_libxl_impl_la_CFLAGS = \
|
||||
$(LIBXL_CFLAGS) \
|
||||
$(LIBXML_CFLAGS) \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
-I$(srcdir)/secret \
|
||||
$(AM_CFLAGS) \
|
||||
|
@ -94,6 +94,7 @@ libvirt_driver_lxc_impl_la_CFLAGS = \
|
||||
$(FUSE_CFLAGS) \
|
||||
$(XDR_CFLAGS) \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
-I$(builddir)/lxc \
|
||||
-I$(builddir)/rpc \
|
||||
|
@ -44,6 +44,7 @@ libvirt_driver_network_impl_la_CFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(DBUS_CFLAGS) \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
$(AM_CFLAGS) \
|
||||
$(NULL)
|
||||
|
@ -39,6 +39,7 @@ libvirt_driver_nodedev_la_SOURCES = $(NODE_DEVICE_DRIVER_SOURCES)
|
||||
|
||||
libvirt_driver_nodedev_la_CFLAGS = \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
$(AM_CFLAGS) \
|
||||
$(LIBNL_CFLAGS) \
|
||||
|
@ -37,6 +37,7 @@ libvirt_driver_nwfilter_impl_la_CFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(DBUS_CFLAGS) \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
$(AM_CFLAGS) \
|
||||
$(NULL)
|
||||
|
@ -95,6 +95,7 @@ libvirt_driver_qemu_impl_la_CFLAGS = \
|
||||
$(SELINUX_CFLAGS) \
|
||||
$(XDR_CFLAGS) \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
-I$(srcdir)/secret \
|
||||
$(AM_CFLAGS) \
|
||||
|
@ -48,6 +48,7 @@ REMOTE_DAEMON_CFLAGS = \
|
||||
$(PIE_CFLAGS) \
|
||||
$(COVERAGE_CFLAGS) \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
-I$(srcdir)/rpc \
|
||||
-I$(builddir)/rpc \
|
||||
|
@ -28,6 +28,7 @@ if WITH_SECRETS
|
||||
mod_LTLIBRARIES += libvirt_driver_secret.la
|
||||
libvirt_driver_secret_la_CFLAGS = \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
$(AM_CFLAGS) \
|
||||
$(NULL)
|
||||
|
@ -119,6 +119,7 @@ storagefile_LTLIBRARIES =
|
||||
libvirt_driver_storage_impl_la_SOURCES =
|
||||
libvirt_driver_storage_impl_la_CFLAGS = \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
-I$(srcdir)/conf \
|
||||
-I$(srcdir)/secret \
|
||||
$(AM_CFLAGS) \
|
||||
|
Loading…
Reference in New Issue
Block a user