diff options
Diffstat (limited to 'asn1/h248/Makefile.nmake')
-rw-r--r-- | asn1/h248/Makefile.nmake | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/asn1/h248/Makefile.nmake b/asn1/h248/Makefile.nmake new file mode 100644 index 0000000000..f98043df7b --- /dev/null +++ b/asn1/h248/Makefile.nmake @@ -0,0 +1,23 @@ +## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake +# +# $Id$ + +include ../../config.nmake + +DISSECTOR_FILES=packet-h248.c packet-h248.h + +all: generate_dissector + +generate_dissector: $(DISSECTOR_FILES) + +$(DISSECTOR_FILES): ../../tools/asn2eth.py MEGACO.asn packet-h248-template.c packet-h248-template.h h248.cnf +!IFDEF PYTHON + $(PYTHON) ../../tools/asn2eth.py -X -b -e -p h248 -c h248.cnf -s packet-h248-template MEGACO.asn +!ENDIF + +clean: + rm -f parsetab.py $(DISSECTOR_FILES) + +copy_files: generate_dissector + xcopy packet-h248.c ..\..\epan\dissectors /d /y + xcopy packet-h248.h ..\..\epan\dissectors /d /y |