aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/camel
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-06-02 09:36:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-06-02 09:36:26 +0000
commit38adb4cf94dab5da22d4c09538e4b7a4a6d6714d (patch)
tree0e96c67316dc737bcd73fb4b6adb9012086383a6 /asn1/camel
parent16453761cae0426cb451baf76ee89faf058fb50a (diff)
Camel regenerated with the -X option
svn path=/trunk/; revision=22024
Diffstat (limited to 'asn1/camel')
-rw-r--r--asn1/camel/Makefile8
-rw-r--r--asn1/camel/Makefile.nmake5
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