Supply Makefile.nmake files.
[obnox/wireshark/wip.git] / asn1 / x509ce / Makefile.nmake
diff --git a/asn1/x509ce/Makefile.nmake b/asn1/x509ce/Makefile.nmake
new file mode 100644 (file)
index 0000000..aa7ef73
--- /dev/null
@@ -0,0 +1,23 @@
+## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
+#
+# $Id$
+
+include ../../config.nmake
+
+DISSECTOR_FILES=packet-x509ce.c packet-x509ce.h
+
+all: generate_dissector
+
+generate_dissector: $(DISSECTOR_FILES)
+
+$(DISSECTOR_FILES): ../../tools/asn2eth.py CertificateExtensions.asn packet-x509ce-template.c packet-x509ce-template.h x509ce.cnf ../x509if/x509if-exp.cnf ../x509sat/x509sat-exp.cnf ../x509af/x509af-exp.cnf
+!IFDEF PYTHON
+       $(PYTHON) ../../tools/asn2eth.py -X -b -e -p x509ce -c x509ce.cnf -s packet-x509ce-template CertificateExtensions.asn
+!ENDIF
+
+clean:
+       rm -f parsetab.py $(DISSECTOR_FILES)
+
+copy_files: generate_dissector
+       xcopy packet-x509ce.c ..\..\epan\dissectors /d /y
+       xcopy packet-x509ce.h ..\..\epan\dissectors /d /y