aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ldap/Makefile.nmake
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-05-29 19:08:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-05-29 19:08:26 +0000
commit4b2284cc35d719eea3dd15121159fe5eadda6c18 (patch)
tree3257c5679df08c6462e636b50d6a365e036876d7 /asn1/ldap/Makefile.nmake
parent2c1e75d51911c02cbf142602c19405c9ba6050a8 (diff)
Clean up the .cnf file a bit.
svn path=/trunk/; revision=21992
Diffstat (limited to 'asn1/ldap/Makefile.nmake')
-rw-r--r--asn1/ldap/Makefile.nmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/asn1/ldap/Makefile.nmake b/asn1/ldap/Makefile.nmake
index 3f64472080..69be41f506 100644
--- a/asn1/ldap/Makefile.nmake
+++ b/asn1/ldap/Makefile.nmake
@@ -8,14 +8,15 @@ UNIX2DOS=$(PERL) ../../tools/unix2dos.pl
PROTOCOL_NAME=ldap
DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h
+ASN_FILE_LIST=Lightweight-Directory-Access-Protocol-V3.asn
all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
-$(DISSECTOR_FILES): ../../tools/asn2wrs.py Lightweight-Directory-Access-Protocol-V3.asn packet-ldap-template.c packet-ldap-template.h ldap.cnf
+$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-ldap-template.c packet-ldap-template.h ldap.cnf
!IFDEF PYTHON
- $(PYTHON) "../../tools/asn2wrs.py" -b -e -p $(PROTOCOL_NAME) -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn
+ $(PYTHON) "../../tools/asn2wrs.py" -b -e -p $(PROTOCOL_NAME) -c ldap.cnf -s packet-ldap-template $(ASN_FILE_LIST)
!ELSE
@echo Error: You need Python to use asn2wrs.py
@exit 1