diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-06-02 09:36:26 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-06-02 09:36:26 +0000 |
commit | 25322779ca565eca68b3c8294edd48d979d446f4 (patch) | |
tree | 0e96c67316dc737bcd73fb4b6adb9012086383a6 /asn1/camel | |
parent | cac3ee687308ef02334285da030c645ab015254e (diff) |
Camel regenerated with the -X option
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22024 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/camel')
-rw-r--r-- | asn1/camel/Makefile | 8 | ||||
-rw-r--r-- | asn1/camel/Makefile.nmake | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/asn1/camel/Makefile b/asn1/camel/Makefile index 44401f121d..99a4f89ecd 100644 --- a/asn1/camel/Makefile +++ b/asn1/camel/Makefile @@ -1,13 +1,15 @@ # $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 generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../../tools/asn2wrs.py camel.asn packet-camel-template.c packet-camel-template.h camel.cnf - python ../../tools/asn2wrs.py -b -e -p camel -c camel.cnf -s packet-camel-template camel.asn +$(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-$(PROTOCOL_NAME)-template $(ASN_FILE_LIST) clean: rm -f parsetab.py $(DISSECTOR_FILES) diff --git a/asn1/camel/Makefile.nmake b/asn1/camel/Makefile.nmake index f327d6d5e5..a788c5cf1e 100644 --- a/asn1/camel/Makefile.nmake +++ b/asn1/camel/Makefile.nmake @@ -8,14 +8,15 @@ UNIX2DOS=$(PERL) ../../tools/unix2dos.pl PROTOCOL_NAME=camel DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h +ASN_FILE_LIST=camel.asn all: generate_dissector 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 - $(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 @echo Error: You need Python to use asn2wrs.py @exit 1 |