From Stig Bjorlykke:
[obnox/wireshark/wip.git] / asn1 / x420 / Makefile
1 # $Id$
2
3 DISSECTOR_FILES=packet-x420.c packet-x420.h
4
5 ASN_FILE_LIST=x420.asn ftbp.asn
6
7 all: generate_dissector
8
9 generate_dissector: $(DISSECTOR_FILES)
10
11 $(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-x420-template.c packet-x420-template.h x420.cnf
12         python ../../tools/asn2wrs.py -b -e -p x420 -c x420.cnf -s packet-x420-template $(ASN_FILE_LIST) 
13
14 clean:
15         rm -f parsetab.py $(DISSECTOR_FILES)
16
17 copy_files: generate_dissector
18         cp $(DISSECTOR_FILES) ../../epan/dissectors
19