aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-08-16 07:00:50 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-08-16 07:00:50 +0000
commit246d0c1e84aff515501fe23b285fdb3b648a5c7f (patch)
tree1567573234bf4ec342ab1f13ecdc4a58f29d86f7
parentb782333f20619dd823e6e25f7ef42fc8c22c46a7 (diff)
Fix makefiles and a comment.
svn path=/trunk/; revision=22525
-rw-r--r--asn1/ansi_map/Makefile7
-rw-r--r--asn1/ansi_map/ansi_map.cnf6
-rw-r--r--asn1/camel/Makefile2
3 files changed, 11 insertions, 4 deletions
diff --git a/asn1/ansi_map/Makefile b/asn1/ansi_map/Makefile
index b7abfec4a9..62686168e3 100644
--- a/asn1/ansi_map/Makefile
+++ b/asn1/ansi_map/Makefile
@@ -1,13 +1,14 @@
# $Id$
-DISSECTOR_FILES=packet-ansi_map.c packet-ansi_map.h
+PROTOCOL_NAME=ansi_map
+DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h
all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
-$(DISSECTOR_FILES): ../../tools/asn2wrs.py ansi_map.asn packet-ansi_map-template.c packet-ansi_map-template.h ansi_map.cnf
- python ../../tools/asn2wrs.py -b -X -T -e -p ansi_map -c ansi_map.cnf -s packet-ansi_map-template ansi_map.asn
+$(DISSECTOR_FILES): ../../tools/asn2wrs.py ansi_map.asn packet-$(PROTOCOL_NAME)-template.c packet-$(PROTOCOL_NAME)-template.h ansi_map.cnf
+ python ../../tools/asn2wrs.py -b -X -e -p $(PROTOCOL_NAME) -c ansi_map.cnf -s packet-$(PROTOCOL_NAME)-template ansi_map.asn
clean:
rm -f parsetab.py parsetab.pyc $(DISSECTOR_FILES)
diff --git a/asn1/ansi_map/ansi_map.cnf b/asn1/ansi_map/ansi_map.cnf
index 264cadbe6c..c3ecac318f 100644
--- a/asn1/ansi_map/ansi_map.cnf
+++ b/asn1/ansi_map/ansi_map.cnf
@@ -86,6 +86,12 @@
#.FN_BODY RejectParameters
+# N.S0005-0 v 1.0 TCAP Formats and Procedures 5-16 Application Services
+# 6.3.2 Component Portion
+# The Operation Code is partitioned into an Operation Family followed by a
+# Specifier associated with each Operation Family member. For TIA/EIA-41 the
+# Operation Family is coded as decimal 9. Bit H of the Operation Family is always
+# coded as 0.
#.FN_BODY PrivateOperationCode VAL_PTR = &OperationCode
%(DEFAULT_BODY)s
proto_tree_add_item(tree, hf_ansi_map_op_code_fam, tvb, offset-2,1,FALSE);
diff --git a/asn1/camel/Makefile b/asn1/camel/Makefile
index c19ea9400d..00bba6f27a 100644
--- a/asn1/camel/Makefile
+++ b/asn1/camel/Makefile
@@ -13,7 +13,7 @@ $(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-$(PROTOCOL_NA
python ../../tools/asn2wrs.py -b -X -T -L -e -k -p $(PROTOCOL_NAME) -c camel.cnf -s packet-$(PROTOCOL_NAME)-template $(ASN_FILE_LIST)
clean:
- rm -f parsetab.py $(DISSECTOR_FILES)
+ rm -f parsetab.py parsetab.pyc $(DISSECTOR_FILES)
copy_files: generate_dissector
cp $(DISSECTOR_FILES) ../../epan/dissectors