3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
7 # SPDX-License-Identifier: GPL-2.0-or-later
10 include(WiresharkPlugin)
12 # Plugin name and version info (major minor micro extra)
13 set_module_info(mate 1 0 1 0)
19 set(DISSECTOR_SUPPORT_SRC
25 add_lemon_files(LEMON_FILES GENERATED_FILES
28 add_lex_files(LEX_FILES GENERATED_FILES
35 ${DISSECTOR_SUPPORT_SRC}
39 set_source_files_properties(
41 ${DISSECTOR_SUPPORT_SRC}
43 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
46 register_plugin_files(plugin.c
49 ${DISSECTOR_SUPPORT_SRC}
52 add_wireshark_plugin_library(mate epan)
54 target_link_libraries(mate epan)
56 install_plugin(mate epan)
58 file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
63 --group dissectors-prohibited
64 --group dissectors-restricted
67 ${DISSECTOR_SUPPORT_SRC}
69 # LEX files commented out due to use of malloc, free etc.
75 # Editor modelines - https://www.wireshark.org/tools/modelines.html
83 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
84 # :indentSize=8:tabSize=8:noTabs=false: