forked from osmocom/wireshark
Camel regenerated with the -X option
svn path=/trunk/; revision=22024
This commit is contained in:
parent
16453761ca
commit
38adb4cf94
|
@ -1,13 +1,15 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
DISSECTOR_FILES=packet-camel.c packet-camel.h
|
PROTOCOL_NAME=camel
|
||||||
|
DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h
|
||||||
|
ASN_FILE_LIST=camel.asn
|
||||||
|
|
||||||
all: generate_dissector
|
all: generate_dissector
|
||||||
|
|
||||||
generate_dissector: $(DISSECTOR_FILES)
|
generate_dissector: $(DISSECTOR_FILES)
|
||||||
|
|
||||||
$(DISSECTOR_FILES): ../../tools/asn2wrs.py camel.asn packet-camel-template.c packet-camel-template.h camel.cnf
|
$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-$(PROTOCOL_NAME)-template.c packet-$(PROTOCOL_NAME)-template.h camel.cnf
|
||||||
python ../../tools/asn2wrs.py -b -e -p camel -c camel.cnf -s packet-camel-template camel.asn
|
python ../../tools/asn2wrs.py -b -e -p camel -c camel.cnf -s packet-$(PROTOCOL_NAME)-template $(ASN_FILE_LIST)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f parsetab.py $(DISSECTOR_FILES)
|
rm -f parsetab.py $(DISSECTOR_FILES)
|
||||||
|
|
|
@ -8,14 +8,15 @@ UNIX2DOS=$(PERL) ../../tools/unix2dos.pl
|
||||||
|
|
||||||
PROTOCOL_NAME=camel
|
PROTOCOL_NAME=camel
|
||||||
DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h
|
DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h
|
||||||
|
ASN_FILE_LIST=camel.asn
|
||||||
|
|
||||||
all: generate_dissector
|
all: generate_dissector
|
||||||
|
|
||||||
generate_dissector: $(DISSECTOR_FILES)
|
generate_dissector: $(DISSECTOR_FILES)
|
||||||
|
|
||||||
$(DISSECTOR_FILES): ../../tools/asn2wrs.py camel.asn packet-$(PROTOCOL_NAME)-template.c packet-$(PROTOCOL_NAME)-template.h camel.cnf
|
$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-$(PROTOCOL_NAME)-template.c packet-$(PROTOCOL_NAME)-template.h camel.cnf
|
||||||
!IFDEF PYTHON
|
!IFDEF PYTHON
|
||||||
$(PYTHON) "../../tools/asn2wrs.py" -b -e -p $(PROTOCOL_NAME) -c camel.cnf -s packet-$(PROTOCOL_NAME)-template camel.asn
|
$(PYTHON) "../../tools/asn2wrs.py" -b -X -e -p $(PROTOCOL_NAME) -c camel.cnf -s packet-$(PROTOCOL_NAME)-template $(ASN_FILE_LIST)
|
||||||
!ELSE
|
!ELSE
|
||||||
@echo Error: You need Python to use asn2wrs.py
|
@echo Error: You need Python to use asn2wrs.py
|
||||||
@exit 1
|
@exit 1
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
||||||
/* Do not modify this file. */
|
/* Do not modify this file. */
|
||||||
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
|
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
|
||||||
/* .\packet-camel.h */
|
/* .\packet-camel.h */
|
||||||
/* ../../tools/asn2wrs.py -b -e -p camel -c camel.cnf -s packet-camel-template camel.asn */
|
/* ../../tools/asn2wrs.py -b -X -e -p camel -c camel.cnf -s packet-camel-template camel.asn */
|
||||||
|
|
||||||
/* Input file: packet-camel-template.h */
|
/* Input file: packet-camel-template.h */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue