- asn2eth renamed to asn2wrs
[obnox/wireshark/wip.git] / asn1 / x509sat / Makefile.nmake
index 25d633f0f147e1175bd6b8d6ab8fccd695fc9c2e..bf16494dcb6059fdc2ba89c007321ca6b92d0429 100644 (file)
@@ -13,16 +13,21 @@ all: generate_dissector
 
 generate_dissector: $(DISSECTOR_FILES)
 
-$(DISSECTOR_FILES): ../../tools/asn2eth.py SelectedAttributeTypes.asn packet-x509sat-template.c packet-x509sat-template.h x509sat.cnf ../x509if/x509if-exp.cnf
+$(DISSECTOR_FILES): ../../tools/asn2wrs.py SelectedAttributeTypes.asn packet-x509sat-template.c packet-x509sat-template.h x509sat.cnf ../x509if/x509if-exp.cnf
 !IFDEF PYTHON
-       $(PYTHON) ../../tools/asn2eth.py -X -b -e -p $(PROTOCOL_NAME) -c x509sat.cnf -s packet-x509sat-template SelectedAttributeTypes.asn
+       $(PYTHON) ../../tools/asn2wrs.py -b -e -p $(PROTOCOL_NAME) -c x509sat.cnf -s packet-x509sat-template SelectedAttributeTypes.asn
+#      sed -e "s/\([\"\.]\)Syntax/\1/g" -i.orig packet-x509sat.c
 !ELSE
-       @echo Error: You need Python to use asn2eth.py
+       @echo Error: You need Python to use asn2wrs.py
        @exit 1
 !ENDIF
 
 clean:
-       rm -f parsetab.py $(DISSECTOR_FILES)
+       rm -f parsetab.py parsetab.pyc $(DISSECTOR_FILES)
+
+distclean: clean
+
+maintainer-clean: distclean
 
 # Fix EOL in generated dissectors. Cygwin's python generates files with 
 # mixed EOL styles, which can't be commited to the SVN repository.