aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/dcerpc
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-09 08:57:10 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-09 08:57:10 +0000
commita6f2e12b3e2143cd0347f6feb9d690cfbc6407ca (patch)
tree81f969f89c36edba72b0ba8ddd61e23c2c3f2c71 /epan/dissectors/dcerpc
parent34b9cbc27f23d6cf19ffb4e7063f095f4eb2c947 (diff)
Introduce intermediate variables: PROTOCOL_NAME and IDL2WRS
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30418 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/dcerpc')
-rw-r--r--epan/dissectors/dcerpc/butc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/epan/dissectors/dcerpc/butc/Makefile b/epan/dissectors/dcerpc/butc/Makefile
index d2703afed7..a4b3ba68b9 100644
--- a/epan/dissectors/dcerpc/butc/Makefile
+++ b/epan/dissectors/dcerpc/butc/Makefile
@@ -1,13 +1,16 @@
# $Id$
-DISSECTOR_FILES=packet-dcerpc-butc.c packet-dcerpc-butc.h
+PROTOCOL_NAME=butc
+IDL2WRS=../idl2wrs
+
+DISSECTOR_FILES=packet-dcerpc-$(PROTOCOL_NAME).c packet-dcerpc-$(PROTOCOL_NAME).h
all: generate_dissector
generate_dissector: $(DISSECTOR_FILES)
-$(DISSECTOR_FILES): ../idl2wrs butc.idl butc.cnf template.c template.h
- ../idl2wrs butc
+$(DISSECTOR_FILES): $(IDL2WRS) $(PROTOCOL_NAME).idl $(PROTOCOL_NAME).cnf template.c template.h
+ $(IDL2WRS) $(PROTOCOL_NAME)
clean:
rm -f ETH_* $(DISSECTOR_FILES)