From eaf9490e04ad1d93f5c53d2f2beee8ffa7debd97 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Jan 2005 10:19:21 +0000 Subject: 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 --- asn1/pkcs1/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) mode change 100755 => 100644 asn1/pkcs1/Makefile (limited to 'asn1/pkcs1') diff --git a/asn1/pkcs1/Makefile b/asn1/pkcs1/Makefile old mode 100755 new mode 100644 index 17a493cf52..fb90672ebd --- a/asn1/pkcs1/Makefile +++ b/asn1/pkcs1/Makefile @@ -1,4 +1,16 @@ -../../epan/dissectors/packet-pkcs1.c : ../../tools/asn2eth.py PKCS1.asn packet-pkcs1-template.c packet-pkcs1-template.h pkcs1.cnf +# $Id$ + +DISSECTOR_FILES=packet-pkcs1.c packet-pkcs1.h + +all: generate_dissector + +generate_dissector: $(DISSECTOR_FILES) + +$(DISSECTOR_FILES): ../../tools/asn2eth.py PKCS1.asn packet-pkcs1-template.c packet-pkcs1-template.h pkcs1.cnf python ../../tools/asn2eth.py -X -b -p pkcs1 -c pkcs1.cnf -s packet-pkcs1-template PKCS1.asn - cp packet-pkcs1.* ../../epan/dissectors +clean: + rm -f parsetab.py $(DISSECTOR_FILES) + +copy_files: generate_dissector + cp $(DISSECTOR_FILES) ../../epan/dissectors -- cgit v1.2.3