Add a Makefile to generate the dissectors from UN*X.

svn path=/trunk/; revision=18060
This commit is contained in:
Guy Harris 2006-05-01 17:42:01 +00:00
parent f27830e9f5
commit 53e371e8a7
1 changed files with 16 additions and 0 deletions

16
asn1/ldap/Makefile Normal file
View File

@ -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