aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/gnm
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-31 20:02:06 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-31 20:02:06 +0000
commitdc7c32454703d551df94ee7683ab70a08b7996f8 (patch)
tree87c1453d7ffc2c60ef91112a0b6366d76e9cfad9 /asn1/gnm
parent50a0cfd477f68ba55e17b41801f5181d52b38272 (diff)
Add a Makefile.
svn path=/trunk/; revision=15642
Diffstat (limited to 'asn1/gnm')
-rw-r--r--asn1/gnm/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/asn1/gnm/Makefile b/asn1/gnm/Makefile
new file mode 100644
index 0000000000..3342f79c35
--- /dev/null
+++ b/asn1/gnm/Makefile
@@ -0,0 +1,16 @@
+# $Id$
+
+DISSECTOR_FILES=packet-gnm.c packet-gnm.h
+
+all: generate_dissector
+
+generate_dissector: $(DISSECTOR_FILES)
+
+$(DISSECTOR_FILES): ../../tools/asn2eth.py GNM.asn packet-gnm-template.c packet-gnm-template.h gnm.cnf
+ python ../../tools/asn2eth.py -X -b -e -p gnm -c gnm.cnf -s packet-gnm-template GNM.asn
+
+clean:
+ rm -f parsetab.py $(DISSECTOR_FILES)
+
+copy_files: generate_dissector
+ cp $(DISSECTOR_FILES) ../../epan/dissectors