Add a Makefile.
authorGuy Harris <guy@alum.mit.edu>
Thu, 10 Feb 2005 03:10:08 +0000 (03:10 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 10 Feb 2005 03:10:08 +0000 (03:10 -0000)
svn path=/trunk/; revision=13370

asn1/inap/Makefile [new file with mode: 0644]

diff --git a/asn1/inap/Makefile b/asn1/inap/Makefile
new file mode 100644 (file)
index 0000000..8da0758
--- /dev/null
@@ -0,0 +1,16 @@
+# $Id$
+
+DISSECTOR_FILES=packet-inap.c packet-inap.h
+
+all: generate_dissector
+
+generate_dissector: $(DISSECTOR_FILES)
+
+$(DISSECTOR_FILES): ../../tools/asn2eth.py inap.asn packet-inap-template.c packet-inap-template.h inap.cnf 
+       python ../../tools/asn2eth.py -X -b -e -p inap -c inap.cnf -s packet-inap-template inap.asn
+
+clean:
+       rm -f parsetab.py $(DISSECTOR_FILES)
+
+copy_files: generate_dissector
+       cp $(DISSECTOR_FILES) ../../epan/dissectors