aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-05-03 19:09:03 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-05-03 19:09:03 +0000
commitabbbc2c4da7f2f758ea5a667faa51cf0145e9d8b (patch)
tree1d89fa259247fb28a911394870a9ca2f8ea8c93a /asn1
parent0a007827043e1084a075c805c00d2b4601ea8762 (diff)
Use the asn2eth generated snmp dissector.
svn path=/trunk/; revision=18086
Diffstat (limited to 'asn1')
-rw-r--r--asn1/Makefile.nmake10
-rw-r--r--asn1/snmp/Makefile8
2 files changed, 14 insertions, 4 deletions
diff --git a/asn1/Makefile.nmake b/asn1/Makefile.nmake
index 6a25a432e2..b1363ec8d9 100644
--- a/asn1/Makefile.nmake
+++ b/asn1/Makefile.nmake
@@ -49,6 +49,7 @@ all: \
rtse \
s4406 \
smrse \
+ snmp \
spnego \
tcap \
ulp \
@@ -196,6 +197,9 @@ clean:
cd smrse
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ..
+ cd snmp
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
+ cd ..
cd spnego
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ..
@@ -269,6 +273,7 @@ ber: \
rtse \
s4406 \
smrse \
+ snmp \
spnego \
tcap \
wlancertextn \
@@ -513,6 +518,11 @@ smrse::
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake copy_files
cd ..
+snmp::
+ cd snmp
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake copy_files
+ cd ..
+
spnego::
cd spnego
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake copy_files
diff --git a/asn1/snmp/Makefile b/asn1/snmp/Makefile
index f91fdc645a..2c203ea813 100644
--- a/asn1/snmp/Makefile
+++ b/asn1/snmp/Makefile
@@ -1,16 +1,16 @@
# $Id: Makefile 13071 2005-01-16 10:19:21Z guy $
-DISSECTOR_FILES=packet-MAP_DialoguePDU.c packet-MAP_DialoguePDU.h
+DISSECTOR_FILES=packet-snmp.c packet-snmp.h
all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
-$(DISSECTOR_FILES): ../../tools/asn2eth.py MAP_DialoguePDU.asn packet-MAP-DialoguePDU-template.c packet-MAP-DialoguePDU-template.h MAP_DialoguePDU.cnf
- python ../../tools/asn2eth.py -X -b -e -p MAP_DialoguePDU -c MAP_DialoguePDU.cnf -s packet-MAP-DialoguePDU-template MAP_DialoguePDU.asn
+$(DISSECTOR_FILES): ../../tools/asn2eth.py snmp.asn packet-snmp-template.c packet-snmp-template.h snmp.cnf
+ python ../../tools/asn2eth.py -X -b -e -p snmp -c snmp.cnf -s packet-snmp-template snmp.asn
clean:
- rm -f parsetab.py $(DISSECTOR_FILES)
+ rm -f parsetab.py parsetab.pyc $(DISSECTOR_FILES)
copy_files: generate_dissector
cp $(DISSECTOR_FILES) ../../epan/dissectors