forked from osmocom/wireshark
24 lines
599 B
Makefile
24 lines
599 B
Makefile
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
||
|
#
|
||
|
# $Id$
|
||
|
|
||
|
include ../../config.nmake
|
||
|
|
||
|
DISSECTOR_FILES=packet-h235.c packet-h235.h
|
||
|
|
||
|
all: generate_dissector
|
||
|
|
||
|
generate_dissector: $(DISSECTOR_FILES)
|
||
|
|
||
|
$(DISSECTOR_FILES): ../../tools/asn2eth.py packet-h235-template.c packet-h235-template.h h235.cnf
|
||
|
!IFDEF PYTHON
|
||
|
$(PYTHON) ../../tools/asn2eth.py -X -p h235 -c h235.cnf -s packet-h235-template H235-SECURITY-MESSAGES.asn
|
||
|
!ENDIF
|
||
|
|
||
|
clean:
|
||
|
rm -f parsetab.py $(DISSECTOR_FILES)
|
||
|
|
||
|
copy_files: generate_dissector
|
||
|
xcopy packet-h235.c ..\..\epan\dissectors /d /y
|
||
|
xcopy packet-h235.h ..\..\epan\dissectors /d /y
|