2006-09-05 09:50:45 +00:00
|
|
|
# CMakeLists.txt
|
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
2018-03-06 14:31:02 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2006-09-05 09:50:45 +00:00
|
|
|
#
|
|
|
|
|
2017-09-23 20:47:02 +00:00
|
|
|
set(WIRETAP_PUBLIC_HEADERS
|
|
|
|
file_wrappers.h
|
2022-10-02 00:55:51 +00:00
|
|
|
introspection.h
|
2017-09-23 20:47:02 +00:00
|
|
|
merge.h
|
|
|
|
pcap-encap.h
|
|
|
|
pcapng_module.h
|
2018-11-17 12:56:12 +00:00
|
|
|
secrets-types.h
|
2017-09-23 20:47:02 +00:00
|
|
|
wtap.h
|
2021-02-07 01:54:19 +00:00
|
|
|
wtap_modules.h
|
2017-09-23 20:47:02 +00:00
|
|
|
wtap_opttypes.h
|
|
|
|
)
|
|
|
|
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
#
|
|
|
|
# Files that implement reading and possibly writing one or more
|
|
|
|
# file types. (For cases where more than one source file is
|
|
|
|
# used, this should be the one that contains a registration routine.)
|
|
|
|
#
|
2021-02-23 09:18:31 +00:00
|
|
|
# This does not include libpcap.c and pcapng.c; those are listed below,
|
|
|
|
# and we don't scan them to see whether they have registration
|
|
|
|
# routines, we *require* them to have registration routines named
|
|
|
|
# register_pcap() and register_pcapng(), and directly call those routines.
|
|
|
|
#
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
set(WIRETAP_C_MODULE_FILES
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/5views.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/aethra.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ascendtext.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/atm.c
|
2022-08-23 18:05:36 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/autosar_dlt.c
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ber.c
|
2021-07-15 15:41:50 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/blf.c
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/btsnoop.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/busmaster.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/camins.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/candump.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/capsa.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/catapult_dct2000.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/commview.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cosine.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/csids.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/daintree-sna.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dbs-etherwatch.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dpa400.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dct3trace.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/erf.c
|
2021-09-30 05:27:08 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/eri_enb_log.c
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/eyesdn.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hcidump.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/i4btrace.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ipfix.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/iptrace.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/iseries.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/json.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/k12.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lanalyzer.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/log3gpp.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/logcat.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/logcat_text.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mp4.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mpeg.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mplog.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mime_file.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mp2t.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/netmon.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/netscaler.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/netscreen.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/nettl.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/nettrace_3gpp_32_423.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/netxray.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ngsniffer.c
|
2021-03-13 07:31:08 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/observer.c
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/packetlogger.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pcap-common.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/peekclassic.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/peektagged.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/rfc7468.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pppdump.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/radcom.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ruby_marshal.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/snoop.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/stanag4607.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/systemd_journal.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tnef.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/toshiba.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/visual.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vms.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/vwr.c
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(WIRETAP_LEX_MODULE_FILES
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/k12text.l
|
|
|
|
)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Files to scan for registration routines.
|
|
|
|
#
|
|
|
|
set(WIRETAP_MODULE_FILES
|
|
|
|
${WIRETAP_C_MODULE_FILES}
|
|
|
|
${WIRETAP_LEX_MODULE_FILES}
|
|
|
|
)
|
|
|
|
|
|
|
|
#
|
|
|
|
# C source files that aren't generated.
|
|
|
|
#
|
|
|
|
set(WIRETAP_NONGENERATED_C_FILES
|
|
|
|
${WIRETAP_C_MODULE_FILES}
|
2021-02-23 09:18:31 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pcapng.c
|
2022-10-02 00:55:51 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/introspection.c
|
2021-02-23 09:18:31 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/libpcap.c
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/file_access.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/file_wrappers.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/merge.c
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wtap.c
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wtap_opttypes.c
|
2009-05-29 10:57:47 +00:00
|
|
|
)
|
|
|
|
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
#
|
|
|
|
# All C files to compile.
|
|
|
|
#
|
|
|
|
set(WIRETAP_FILES ${WIRETAP_NONGENERATED_C_FILES} wtap_modules.c)
|
2009-11-07 10:07:00 +00:00
|
|
|
|
2018-02-16 03:38:36 +00:00
|
|
|
add_lex_files(LEX_FILES WIRETAP_FILES
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
${WIRETAP_LEX_MODULE_FILES}
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ascend_scanner.l
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/busmaster_scanner.l
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/candump_scanner.l
|
2015-12-05 17:12:50 +00:00
|
|
|
)
|
|
|
|
|
2019-06-27 18:19:53 +00:00
|
|
|
add_lemon_files(LEMON_FILES WIRETAP_FILES
|
2021-02-07 01:54:19 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ascend_parser.lemon
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/busmaster_parser.lemon
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/candump_parser.lemon
|
|
|
|
)
|
|
|
|
|
|
|
|
#
|
|
|
|
# We pass the arguments to make-regs.py in a file to avoid limitations
|
|
|
|
# with the number of arguments handled by main().
|
|
|
|
#
|
|
|
|
file(GENERATE
|
|
|
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/wtap_modules.in.txt"
|
wiretap: register most built-in file types from its module.
Remove most of the built-in file types from the table in
wiretap/file_access.c and, instead, have the file types register
themselves, using wtap_register_file_type_subtypes().
This reduces the source code changes needed to add a new file type from
three (add the handler, add the file type to the table in file_access.c,
add a #define for the file type in wiretap/wtap.h) to one (add the
handler). (It also requires adding the handler's source file to
wiretap/CMakeLists.txt, but that's required in both cases.)
A few remain because the WTAP_FILE_TYPE_SUBTYPE_ #define is used
elsewhere; that needs to be fixed.
Fix the wiretap/CMakefile.txt file to scan k12text.l, as that now
contains a registration routine. In the process, avoid scanning files
that don't implement a file type and won't ever have a registration
routine.
Add a Lua routine to fetch the total number of file types; we use that
in some code to construct the wtap_filetypes table, which we need to do
in order to continue to have all the values that used to come from the
WTAP_FILE_TYPE_SUBTYPE_ types.
While we're at it, add modelines to a file that lacked them.
2021-02-14 08:34:10 +00:00
|
|
|
CONTENT "$<JOIN:${WIRETAP_MODULE_FILES},\n>\n"
|
2021-02-07 01:54:19 +00:00
|
|
|
)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT wtap_modules.c
|
|
|
|
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/make-regs.py wtap_modules wtap_modules.c @wtap_modules.in.txt
|
2021-02-22 11:37:51 +00:00
|
|
|
DEPENDS ${CMAKE_SOURCE_DIR}/tools/make-regs.py ${WIRETAP_MODULE_FILES}
|
2021-02-07 01:54:19 +00:00
|
|
|
"${CMAKE_CURRENT_BINARY_DIR}/wtap_modules.in.txt"
|
|
|
|
COMMENT "Making wtap_modules.c"
|
2019-06-27 18:19:53 +00:00
|
|
|
)
|
|
|
|
|
2018-02-16 03:38:36 +00:00
|
|
|
#
|
|
|
|
# All files are warning-clean. (Let's keep it that way.)
|
|
|
|
#
|
|
|
|
set_source_files_properties(
|
2022-11-17 10:18:31 +00:00
|
|
|
${WIRETAP_NONGENERATED_C_FILES}
|
2018-02-16 03:38:36 +00:00
|
|
|
PROPERTIES
|
|
|
|
COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
|
|
|
|
)
|
|
|
|
|
2017-11-01 20:22:32 +00:00
|
|
|
add_library(wiretap
|
2009-05-29 10:57:47 +00:00
|
|
|
${WIRETAP_FILES}
|
2022-03-06 22:16:36 +00:00
|
|
|
${CMAKE_BINARY_DIR}/resources/libwiretap.rc
|
2006-09-05 09:27:22 +00:00
|
|
|
)
|
2013-02-25 18:12:20 +00:00
|
|
|
|
2014-07-09 13:39:41 +00:00
|
|
|
set_target_properties(wiretap PROPERTIES
|
2016-06-21 13:31:39 +00:00
|
|
|
PREFIX "lib"
|
2014-07-09 13:39:41 +00:00
|
|
|
COMPILE_DEFINITIONS "WS_BUILD_DLL"
|
|
|
|
LINK_FLAGS "${WS_LINK_FLAGS}"
|
2018-06-06 19:01:44 +00:00
|
|
|
VERSION "0.0.0" SOVERSION 0
|
2014-07-09 13:39:41 +00:00
|
|
|
FOLDER "DLLs"
|
2019-01-21 10:56:57 +00:00
|
|
|
INSTALL_RPATH "${LIBRARY_INSTALL_RPATH}"
|
2014-07-09 13:39:41 +00:00
|
|
|
)
|
2021-03-29 10:10:16 +00:00
|
|
|
if(MSVC)
|
|
|
|
set_target_properties(wiretap PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
|
|
|
|
endif()
|
2006-09-05 09:27:22 +00:00
|
|
|
|
2018-11-27 19:37:33 +00:00
|
|
|
target_link_libraries(wiretap
|
|
|
|
PUBLIC
|
2019-01-10 01:45:00 +00:00
|
|
|
wsutil
|
2023-01-30 20:27:06 +00:00
|
|
|
${GLIB2_LIBRARIES}
|
2018-11-27 19:37:33 +00:00
|
|
|
PRIVATE
|
2019-01-10 01:45:00 +00:00
|
|
|
${ZLIB_LIBRARIES}
|
2021-08-19 12:48:52 +00:00
|
|
|
${ZSTD_LIBRARIES}
|
|
|
|
${LZ4_LIBRARIES}
|
2019-01-10 01:45:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(wiretap SYSTEM
|
|
|
|
PRIVATE
|
|
|
|
${ZLIB_INCLUDE_DIRS}
|
2021-08-19 12:48:52 +00:00
|
|
|
${ZSTD_INCLUDE_DIRS}
|
|
|
|
${LZ4_INCLUDE_DIRS}
|
2018-11-27 19:37:33 +00:00
|
|
|
)
|
2009-09-23 15:56:44 +00:00
|
|
|
|
2021-03-27 03:34:51 +00:00
|
|
|
target_include_directories(wiretap PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
|
|
)
|
|
|
|
|
2017-11-01 20:22:32 +00:00
|
|
|
install(TARGETS wiretap
|
2018-08-23 21:03:28 +00:00
|
|
|
EXPORT WiresharkTargets
|
2018-11-26 02:08:59 +00:00
|
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
2017-11-01 20:22:32 +00:00
|
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
)
|
2017-09-23 20:47:02 +00:00
|
|
|
|
2018-11-23 20:39:48 +00:00
|
|
|
install(FILES ${WIRETAP_PUBLIC_HEADERS}
|
2019-02-01 16:25:24 +00:00
|
|
|
DESTINATION "${PROJECT_INSTALL_INCLUDEDIR}/wiretap"
|
2023-01-18 00:46:21 +00:00
|
|
|
COMPONENT "Development"
|
|
|
|
EXCLUDE_FROM_ALL
|
2018-11-23 20:39:48 +00:00
|
|
|
)
|
2016-03-11 19:51:39 +00:00
|
|
|
|
|
|
|
CHECKAPI(
|
|
|
|
NAME
|
|
|
|
wiretap
|
|
|
|
SWITCHES
|
|
|
|
SOURCES
|
2018-02-16 03:38:36 +00:00
|
|
|
${WIRETAP_NONGENERATED_FILES}
|
2016-03-11 19:51:39 +00:00
|
|
|
# LEX files commented out due to use of malloc, free etc.
|
|
|
|
# ${LEX_FILES}
|
2019-06-27 18:20:02 +00:00
|
|
|
${LEMON_FILES}
|
2016-03-11 19:51:39 +00:00
|
|
|
)
|
2016-09-30 14:06:15 +00:00
|
|
|
|
|
|
|
#
|
2019-07-26 18:43:17 +00:00
|
|
|
# Editor modelines - https://www.wireshark.org/tools/modelines.html
|
2016-09-30 14:06:15 +00:00
|
|
|
#
|
|
|
|
# Local variables:
|
|
|
|
# c-basic-offset: 8
|
|
|
|
# tab-width: 8
|
|
|
|
# indent-tabs-mode: t
|
|
|
|
# End:
|
|
|
|
#
|
|
|
|
# vi: set shiftwidth=8 tabstop=8 noexpandtab:
|
|
|
|
# :indentSize=8:tabSize=8:noTabs=false:
|
|
|
|
#
|