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