aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/t38
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/t38')
-rw-r--r--asn1/t38/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/asn1/t38/Makefile b/asn1/t38/Makefile
index a64f77deb4..95ca7afc77 100644
--- a/asn1/t38/Makefile
+++ b/asn1/t38/Makefile
@@ -1,13 +1,15 @@
# $Id$
-DISSECTOR_FILES=packet-t38.c packet-t38.h
+PROTOCOL_NAME=t38
+DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).h
+T38_ASN=T38\(2002\).asn
all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
$(DISSECTOR_FILES): ../../tools/asn2wrs.py packet-t38-template.c packet-t38-template.h t38.cnf
- python ../../tools/asn2wrs.py -p t38 -c t38.cnf -s packet-t38-template T38(2002).asn
+ python ../../tools/asn2wrs.py -p $(PROTOCOL_NAME) -c t38.cnf -s packet-t38-template $(T38_ASN)
clean:
rm -f parsetab.py $(DISSECTOR_FILES)