Move make-taps and make-dissectors to tools/

make-taps and make dissectors are build tools so that is the natural
location for them.

See also 99ec2b58eb68ab8530245dd13485612695ba064a and bug 14622.

Change-Id: I754848ea1c614bfa7121c44d89136ac3cba8a734
Reviewed-on: https://code.wireshark.org/review/27928
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
This commit is contained in:
João Valverde 2018-05-31 00:35:44 +01:00 committed by João Valverde
parent 337b991cf0
commit 64a2b4101a
8 changed files with 36 additions and 15 deletions

4
.gitignore vendored
View File

@ -33,7 +33,6 @@ epan/dissectors/xcbproto
epan/dissectors/packet-ncp2222.c
epan/dissectors/dissectors.c
epan/dissectors/dissectors.in.txt
epan/dissectors/make-dissectors
epan/dtd_parse.c
epan/dtd_preparse.c
epan/uat_load.c
@ -49,13 +48,14 @@ plugins/codecs/*/plugin.c
plugins/epan/mate/mate_parser.c
version.h
tools/lemon/lemon
tools/make-dissectors
tools/make-taps
tshark-tap-register.c
wiretap/ascend.c
wiretap/ascend.h
wiretap/k12text.c
wiretap/version_info.c
wireshark-tap-register.c
ui/make-taps
# CMake #
##################

View File

@ -1267,7 +1267,7 @@ add_subdirectory( docbook EXCLUDE_FROM_ALL )
add_subdirectory( epan )
add_subdirectory( extcap )
add_subdirectory( randpkt_core )
add_subdirectory( tools/lemon )
add_subdirectory( tools )
add_subdirectory( ui )
add_subdirectory( wiretap )
add_subdirectory( writecap )
@ -1763,7 +1763,6 @@ if(WIN32)
)
endif(OPTIONAL_DLLS)
# This might not be needed since make-dissectors has the same dependency.
add_dependencies(epan copy_cli_dlls)
# We have a lot of choices for creating zip archives:

View File

@ -1891,13 +1891,6 @@ set(ALL_DISSECTOR_SRC
${CORBA_IDL_DISSECTOR_SRC}
)
add_executable(make-dissectors make-dissectors.c)
target_link_libraries(make-dissectors ${GLIB2_LIBRARIES})
if(WIN32)
add_dependencies(make-dissectors copy_cli_dlls)
endif()
#
# We pass the arguments to make-dissectors in a file to avoid limitations
# with the number of arguments handled by main().

32
tools/CMakeLists.txt Normal file
View File

@ -0,0 +1,32 @@
# CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
add_subdirectory(lemon)
add_executable(make-dissectors make-dissectors.c)
target_link_libraries(make-dissectors ${GLIB2_LIBRARIES})
if(WIN32)
add_dependencies(make-dissectors copy_cli_dlls)
endif()
add_executable(make-taps make-taps.c)
target_link_libraries(make-taps ${GLIB2_LIBRARIES})
#
# Editor modelines - http://www.wireshark.org/tools/modelines.html
#
# 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:
#

View File

@ -12,7 +12,6 @@
doc/packet-PROTOABBREV.c
epan/dissectors/asn1/*/packet-*-template.c
epan/dissectors/asn1/*/*asn
epan/dissectors/make-dissectors.c
epan/nghttp2/*
epan/wmem/wmem_strbuf.c
epan/wmem/wmem_strutil.c
@ -20,6 +19,7 @@ extcap/*
image/stock_icons/*
mmdbresolve.c
tools/lemon/*
tools/make-dissectors.c
wsutil/file_util.h
wsutil/strptime.c
wsutil/getopt_long.c

View File

@ -81,9 +81,6 @@ set_target_properties(ui PROPERTIES
FOLDER "UI"
)
add_executable(make-taps make-taps.c)
target_link_libraries(make-taps ${GLIB2_LIBRARIES})
if (HTML_HELP_COMPILER)
add_definitions(-DHHC_DIR)
target_link_libraries(ui Htmlhelp.lib)