mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 17:18:01 +03:00
meson: src: build virtnwfilterd 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
5b6047945c
commit
c2fad2eb31
@ -11,22 +11,10 @@ if WITH_NWFILTER
|
||||
nwfilterxmldir = $(sysconfdir)/libvirt/nwfilter
|
||||
nwfilterxml_DATA = $(NWFILTER_XML_FILES)
|
||||
|
||||
sbin_PROGRAMS += virtnwfilterd
|
||||
|
||||
nodist_conf_DATA += nwfilter/virtnwfilterd.conf
|
||||
augeas_DATA += nwfilter/virtnwfilterd.aug
|
||||
augeastest_DATA += nwfilter/test_virtnwfilterd.aug
|
||||
|
||||
virtnwfilterd_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtnwfilterd_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtnwfilterd_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtnwfilterd\"" \
|
||||
-DMODULE_NAME="\"nwfilter\"" \
|
||||
$(NULL)
|
||||
virtnwfilterd_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtnwfilterd_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += nwfilter/virtnwfilterd.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -33,4 +33,12 @@ if conf.has('WITH_NWFILTER')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtnwfilterd',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtnwfilterd"',
|
||||
'-DMODULE_NAME="nwfilter"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user