Add a Makefile to generate the dissectors from UN*X.
svn path=/trunk/; revision=18060
This commit is contained in:
parent
f27830e9f5
commit
53e371e8a7
|
@ -0,0 +1,16 @@
|
|||
# $Id$
|
||||
|
||||
DISSECTOR_FILES=packet-ldap.c packet-ldap.h
|
||||
|
||||
all: generate_dissector
|
||||
|
||||
generate_dissector: $(DISSECTOR_FILES)
|
||||
|
||||
$(DISSECTOR_FILES): ../../tools/asn2eth.py Lightweight-Directory-Access-Protocol-V3.asn packet-ldap-template.c packet-ldap-template.h ldap.cnf $(ASN_EXPORTS)
|
||||
python ../../tools/asn2eth.py -X -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn
|
||||
|
||||
clean:
|
||||
rm -f parsetab.py $(DISSECTOR_FILES)
|
||||
|
||||
copy_files: generate_dissector
|
||||
cp $(DISSECTOR_FILES) ../../epan/dissectors
|
Loading…
Reference in New Issue