summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
526be9b)
This patch fixes building x420 with ftbp on Unix platform and adds
ftbp.asn to the tarball.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22190
f5534014-38df-0310-8fa8-
9805f1628bb7
x420/packet-x420-template.c \
x420/packet-x420-template.h \
x420/x420.asn \
x420/packet-x420-template.c \
x420/packet-x420-template.h \
x420/x420.asn \
x420/x420.cnf \
x420/x420-exp.cnf \
x509af/AuthenticationFramework.asn \
x420/x420.cnf \
x420/x420-exp.cnf \
x509af/AuthenticationFramework.asn \
DISSECTOR_FILES=packet-x420.c packet-x420.h
DISSECTOR_FILES=packet-x420.c packet-x420.h
+ASN_FILE_LIST=x420.asn ftbp.asn
+
all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
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)
clean:
rm -f parsetab.py $(DISSECTOR_FILES)
generate_dissector: $(DISSECTOR_FILES)
generate_dissector: $(DISSECTOR_FILES)
-$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(PROTOCOL_NAME).asn packet-$(PROTOCOL_NAME)-template.c packet-$(PROTOCOL_NAME)-template.h $(PROTOCOL_NAME).cnf
+$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-$(PROTOCOL_NAME)-template.c packet-$(PROTOCOL_NAME)-template.h $(PROTOCOL_NAME).cnf
!IFDEF PYTHON
$(PYTHON) "../../tools/asn2wrs.py" -b -e -p $(PROTOCOL_NAME) -c $(PROTOCOL_NAME).cnf -s packet-$(PROTOCOL_NAME)-template $(ASN_FILE_LIST)
!ELSE
!IFDEF PYTHON
$(PYTHON) "../../tools/asn2wrs.py" -b -e -p $(PROTOCOL_NAME) -c $(PROTOCOL_NAME).cnf -s packet-$(PROTOCOL_NAME)-template $(ASN_FILE_LIST)
!ELSE