mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
meson: src: build virtxend daemon binary
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
1d4e6af169
commit
0d2b17a54c
@ -4,22 +4,11 @@ DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(LIBXL_DRIVER_SOURCES))
|
||||
STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(LIBXL_DRIVER_SOURCES))
|
||||
|
||||
if WITH_LIBXL
|
||||
sbin_PROGRAMS += virtxend
|
||||
|
||||
nodist_conf_DATA += libxl/virtxend.conf
|
||||
augeas_DATA += libxl/virtxend.aug
|
||||
augeastest_DATA += libxl/test_virtxend.aug
|
||||
|
||||
virtxend_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtxend_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtxend_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtxend\"" \
|
||||
-DMODULE_NAME="\"libxl\"" \
|
||||
$(NULL)
|
||||
virtxend_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtxend_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += libxl/virtxend.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -36,4 +36,12 @@ if conf.has('WITH_LIBXL')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtxend',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtxend"',
|
||||
'-DMODULE_NAME="libxl"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user