diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-04-15 23:40:36 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-04-18 03:46:17 +0000 |
commit | 4a156da068269aae75d79cd08e579754c52a0c43 (patch) | |
tree | 9637e57f0ceaaac66f6c47410c27054106d7d21a /doc/README.dissector | |
parent | 2e639570318018871e934fb7a397ba8a2bdcfbe8 (diff) |
Remove autotools build system.
It has been replaced by cmake.
Change-Id: I83a5eddb8645dbbf6bca9f026066d2e995d8e87a
Reviewed-on: https://code.wireshark.org/review/26969
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc/README.dissector')
-rw-r--r-- | doc/README.dissector | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 70a6875d1b..1096588297 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -67,8 +67,7 @@ Usually, you will put your newly created dissector file into the directory epan/dissectors/, just like all the other packet-*.c files already in there. Also, please add your dissector file to the corresponding makefiles, -described in section "1.8 Editing Makefile.am and CMakeLists.txt -to add your dissector" below. +described in section "1.8 Editing CMakeLists.txt to add your dissector" below. Dissectors that use the dissector registration API to register with a lower level protocol (this is the vast majority) don't need to define a prototype in @@ -654,8 +653,7 @@ generated automatically; to arrange that a protocol's register routine be called at startup: the file containing a dissector's "register" routine must be - added to "DISSECTOR_SRC" in "epan/dissectors/Makefile.am" - (and in "epan/dissectors/CMakeLists.txt"); + added to "DISSECTOR_SRC" in "epan/dissectors/CMakeLists.txt"; the "register" routine must have a name of the form "proto_register_XXX"; @@ -2406,23 +2404,11 @@ This allows dissection of a packet to be expanded outside of dissector without having to modify the dissector directly. -1.8 Editing Makefile.am and CMakeLists.txt to add your dissector. +1.8 Editing CMakeLists.txt to add your dissector. To arrange that your dissector will be built as part of Wireshark, you -must add the name of the source file for your dissector to the -'DISSECTOR_SRC' macro in the 'Makefile.am' file in the 'epan/dissectors' -directory. (Note that this is for modern versions of UNIX, so there -is no 14-character limitation on file names, and for modern versions of -Windows, so there is no 8.3-character limitation on file names.) - -If your dissector also has its own header file or files, you must add -them to the 'DISSECTOR_INCLUDES' macro in the 'Makefile.am' file in -the 'epan/dissectors' directory, so that it's included when release source -tarballs are built (otherwise, the source in the release tarballs won't -compile). - -In addition to the above, you should add your dissector source file name -to the DISSECTOR_SRC section of epan/dissectors/CMakeLists.txt +must add the name of the source file for your dissector to the DISSECTOR_SRC +section of epan/dissectors/CMakeLists.txt 1.9 Using the git source code tree. |