From Stig Bjorlykke:
[obnox/wireshark/wip.git] / asn1 / x420 / Makefile
index 5fe5006adb880744fe4b349583a29fb5a2e49a52..0b06e127bc9357c0325e31aeaae42b50252ae3e5 100644 (file)
@@ -2,12 +2,14 @@
 
 DISSECTOR_FILES=packet-x420.c packet-x420.h
 
+ASN_FILE_LIST=x420.asn ftbp.asn
+
 all: generate_dissector
 
 generate_dissector: $(DISSECTOR_FILES)
 
-$(DISSECTOR_FILES): ../../tools/asn2wrs.py x420.asn packet-x420-template.c packet-x420-template.h x420.cnf
-       python ../../tools/asn2wrs.py -b -e -p x420 -c x420.cnf -s packet-x420-template  x420.asn
+$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-x420-template.c packet-x420-template.h x420.cnf
+       python ../../tools/asn2wrs.py -b -e -p x420 -c x420.cnf -s packet-x420-template $(ASN_FILE_LIST) 
 
 clean:
        rm -f parsetab.py $(DISSECTOR_FILES)