summaryrefslogtreecommitdiff
path: root/asn1/pkix1explicit
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-16 10:19:21 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-16 10:19:21 +0000
commiteaf9490e04ad1d93f5c53d2f2beee8ffa7debd97 (patch)
tree60b069d867770bd120745edba9ae9298d16f75f5 /asn1/pkix1explicit
parent7fe7cba1430e1dd78376667b29de30e6cb4133f9 (diff)
downloadwireshark-eaf9490e04ad1d93f5c53d2f2beee8ffa7debd97.tar.gz
Make the Makefile look like the h235 Makefiles, with the new rules.
Get rid of their "executable" property, and set svn:keywords to Id and svn:eol-style to native if they're not already set. svn path=/trunk/; revision=13071
Diffstat (limited to 'asn1/pkix1explicit')
-rw-r--r--[-rwxr-xr-x]asn1/pkix1explicit/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/asn1/pkix1explicit/Makefile b/asn1/pkix1explicit/Makefile
index 670de30c90..726d107927 100755..100644
--- a/asn1/pkix1explicit/Makefile
+++ b/asn1/pkix1explicit/Makefile
@@ -1,5 +1,16 @@
+# $Id$
-../../epan/dissectors/packet-pkix1explicit.c : ../../tools/asn2eth.py PKIX1EXPLICIT93.asn packet-pkix1explicit-template.c packet-pkix1explicit-template.h pkix1explicit.cnf
+DISSECTOR_FILES=packet-pkix1explicit.c packet-pkix1explicit.h
+
+all: generate_dissector
+
+generate_dissector: $(DISSECTOR_FILES)
+
+$(DISSECTOR_FILES): ../../tools/asn2eth.py PKIX1EXPLICIT93.asn packet-pkix1explicit-template.c packet-pkix1explicit-template.h pkix1explicit.cnf
python ../../tools/asn2eth.py -e -X -b -p pkix1explicit -c pkix1explicit.cnf -s packet-pkix1explicit-template PKIX1EXPLICIT93.asn
- cp packet-pkix1explicit.* ../../epan/dissectors
+clean:
+ rm -f pkix1explicit-exp.cnf parsetab.py $(DISSECTOR_FILES)
+
+copy_files: generate_dissector
+ cp $(DISSECTOR_FILES) ../../epan/dissectors