diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-11-15 15:44:56 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-11-15 15:44:56 +0000 |
commit | 0b297c0215580793ce9d53cdbfa075465b5b8243 (patch) | |
tree | 20e6c9435c83136093aa5a40b051c754efc9f543 | |
parent | 67986a1a5ffb9f3edb8243aceacd4be33ff9292c (diff) | |
download | wireshark-0b297c0215580793ce9d53cdbfa075465b5b8243.tar.gz |
Make it easy to add custom dissectors.
svn path=/trunk/; revision=26783
-rw-r--r-- | epan/dissectors/Custom.nmake | 8 | ||||
-rw-r--r-- | epan/dissectors/Makefile.common | 6 | ||||
-rw-r--r-- | epan/dissectors/Makefile.nmake | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/epan/dissectors/Custom.nmake b/epan/dissectors/Custom.nmake new file mode 100644 index 0000000000..6fcd1eeec1 --- /dev/null +++ b/epan/dissectors/Custom.nmake @@ -0,0 +1,8 @@ +## +## $Id$ +## Here you can add custom dissectors +# + +CUSTOM_DISSECTOR_SRC = \ + +CUSTOM_HEADER_FILES = \ diff --git a/epan/dissectors/Makefile.common b/epan/dissectors/Makefile.common index ea70cdf590..81ab73a244 100644 --- a/epan/dissectors/Makefile.common +++ b/epan/dissectors/Makefile.common @@ -1163,7 +1163,8 @@ DISSECTOR_INCLUDES = \ packet-ypserv.h \ packet-ypxfr.h \ rpc_defrag.h \ - $(GENERATED_HEADER_FILES) + $(GENERATED_HEADER_FILES) \ + $(CUSTOM_HEADER_FILES) # IPMI sub-parsers for each network function code IPMI_SUBPARSERS = \ @@ -1195,4 +1196,5 @@ ALL_DISSECTORS_SRC = \ $(PIDL_DISSECTOR_SRC) \ $(DIRTY_PIDL_DISSECTOR_SRC) \ $(ASN1_DISSECTOR_SRC) \ - $(DIRTY_ASN1_DISSECTOR_SRC) + $(DIRTY_ASN1_DISSECTOR_SRC) \ + $(CUSTOM_DISSECTOR_SRC) diff --git a/epan/dissectors/Makefile.nmake b/epan/dissectors/Makefile.nmake index 1db95ff6cb..3ee8a9f947 100644 --- a/epan/dissectors/Makefile.nmake +++ b/epan/dissectors/Makefile.nmake @@ -7,6 +7,8 @@ include ..\..\config.nmake ############### no need to modify below this line ######### +include Custom.nmake + include Makefile.common CFLAGS=-WX -DHAVE_CONFIG_H /I. /I.. /I../.. $(GLIB_CFLAGS) \ |