Supply Makefile.nmake files.
[obnox/wireshark/wip.git] / asn1 / ocsp / Makefile.nmake
1 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
2 #
3 # $Id$
4
5 include ../../config.nmake
6
7 DISSECTOR_FILES=packet-ocsp.c packet-ocsp.h
8
9 all: generate_dissector
10
11 generate_dissector: $(DISSECTOR_FILES)
12
13 $(DISSECTOR_FILES): ../../tools/asn2eth.py OCSP.asn packet-ocsp-template.c packet-ocsp-template.h ocsp.cnf
14 !IFDEF PYTHON
15         $(PYTHON) ../../tools/asn2eth.py -X -b -e -p ocsp -c ocsp.cnf -s packet-ocsp-template OCSP.asn
16 !ENDIF
17
18 clean:
19         rm -f parsetab.py $(DISSECTOR_FILES)
20
21 copy_files: generate_dissector
22         xcopy packet-ocsp.c ..\..\epan\dissectors /d /y
23         xcopy packet-ocsp.h ..\..\epan\dissectors /d /y