mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 05:17:54 +03:00
meson: tools/wireshark: build libvirt.so wireshark module
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
fd90c83585
commit
faf8dfc2d4
@ -20,7 +20,7 @@
|
|||||||
# so force it explicitly
|
# so force it explicitly
|
||||||
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
|
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
|
||||||
|
|
||||||
SUBDIRS = . tools docs \
|
SUBDIRS = . docs \
|
||||||
tests po examples
|
tests po examples
|
||||||
|
|
||||||
XZ_OPT ?= -v -T0
|
XZ_OPT ?= -v -T0
|
||||||
|
@ -116,6 +116,5 @@ AC_CONFIG_FILES([\
|
|||||||
libvirt.spec mingw-libvirt.spec \
|
libvirt.spec mingw-libvirt.spec \
|
||||||
po/Makefile \
|
po/Makefile \
|
||||||
examples/Makefile \
|
examples/Makefile \
|
||||||
tests/Makefile \
|
tests/Makefile])
|
||||||
tools/Makefile])
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
## Copyright (C) 2005-2016 Red Hat, Inc.
|
|
||||||
## Copyright (C) 2013 Yuto KAWAMURA(kawamuray) <kawamuray.dadada@gmail.com>
|
|
||||||
##
|
|
||||||
## This library is free software; you can redistribute it and/or
|
|
||||||
## modify it under the terms of the GNU Lesser General Public
|
|
||||||
## License as published by the Free Software Foundation; either
|
|
||||||
## version 2.1 of the License, or (at your option) any later version.
|
|
||||||
##
|
|
||||||
## This library is distributed in the hope that it will be useful,
|
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
## Lesser General Public License for more details.
|
|
||||||
##
|
|
||||||
## You should have received a copy of the GNU Lesser General Public
|
|
||||||
## License along with this library. If not, see
|
|
||||||
## <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
# We do not want to accidentally include stuff from src/
|
|
||||||
# dir or public API dir. Specific files can
|
|
||||||
# still be included via their path relative to the root if
|
|
||||||
# needed
|
|
||||||
if WITH_WIRESHARK_DISSECTOR
|
|
||||||
|
|
||||||
ws_plugin_LTLIBRARIES = wireshark/src/libvirt.la
|
|
||||||
wireshark_src_libvirt_la_CFLAGS = \
|
|
||||||
-I wireshark/src $(WIRESHARK_DISSECTOR_CFLAGS) $(XDR_CFLAGS) $(AM_CFLAGS)
|
|
||||||
wireshark_src_libvirt_la_LDFLAGS = -avoid-version -module
|
|
||||||
wireshark_src_libvirt_la_SOURCES = \
|
|
||||||
wireshark/src/packet-libvirt.h \
|
|
||||||
wireshark/src/packet-libvirt.c \
|
|
||||||
wireshark/src/plugin.c
|
|
||||||
|
|
||||||
wireshark/src/packet-libvirt.c: wireshark/src/packet-libvirt.h \
|
|
||||||
wireshark/src/libvirt/protocol.h
|
|
||||||
|
|
||||||
|
|
||||||
endif WITH_WIRESHARK_DISSECTOR
|
|
@ -1 +1,17 @@
|
|||||||
subdir('libvirt')
|
subdir('libvirt')
|
||||||
|
|
||||||
|
shared_library(
|
||||||
|
'virt',
|
||||||
|
[
|
||||||
|
'packet-libvirt.c',
|
||||||
|
'plugin.c',
|
||||||
|
wireshark_protocol,
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
wireshark_dep,
|
||||||
|
xdr_dep,
|
||||||
|
tools_dep,
|
||||||
|
],
|
||||||
|
install: true,
|
||||||
|
install_dir: wireshark_plugindir,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user