Make the dissector files depend on asn2eth.py, so they're regenerated if

it's modified.

svn path=/trunk/; revision=13069
This commit is contained in:
Guy Harris 2005-01-16 09:17:16 +00:00
parent 21667c248a
commit 9757ee05c8
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
$(DISSECTOR_FILES) : h225.asn h225.cnf packet-h225-template.c packet-h225-template.h
$(DISSECTOR_FILES): ../../tools/asn2eth.py h225.asn h225.cnf packet-h225-template.c packet-h225-template.h
!IFDEF PYTHON
$(PYTHON) ../../tools/asn2eth.py -X -e -p h225 -c h225.cnf -s packet-h225-template h225.asn
!ENDIF
@ -20,4 +20,4 @@ clean:
copy_files: generate_dissector
xcopy packet-h225.c ..\..\epan\dissectors /d /y
xcopy packet-h225.h ..\..\epan\dissectors /d /y
xcopy packet-h225.h ..\..\epan\dissectors /d /y