2005-11-26 10:05:14 +00:00
|
|
|
# $Id$
|
2005-11-16 22:53:33 +00:00
|
|
|
|
|
|
|
DISSECTOR_FILES=packet-disp.c packet-disp.h
|
|
|
|
|
|
|
|
all: generate_dissector
|
|
|
|
|
|
|
|
generate_dissector: $(DISSECTOR_FILES)
|
|
|
|
|
2006-05-21 14:36:05 +00:00
|
|
|
$(DISSECTOR_FILES): ../../tools/asn2wrs.py disp.asn packet-disp-template.c packet-disp-template.h disp.cnf
|
|
|
|
python ../../tools/asn2wrs.py -b -e -p disp -c disp.cnf -s packet-disp-template disp.asn
|
2005-11-16 22:53:33 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f parsetab.py $(DISSECTOR_FILES) *~
|
|
|
|
|
|
|
|
copy_files: generate_dissector
|
|
|
|
cp $(DISSECTOR_FILES) ../../epan/dissectors
|
|
|
|
|