From 97c5c65bd50420ea333372160e238545e282a5e0 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Fri, 9 Oct 2009 08:55:59 +0000 Subject: Introduce intermediate variables: PROTOCOL_NAME and IDL2WRS svn path=/trunk/; revision=30417 --- epan/dissectors/dcerpc/budb/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/epan/dissectors/dcerpc/budb/Makefile b/epan/dissectors/dcerpc/budb/Makefile index db6adb9f5b..84a8b7b1ee 100644 --- a/epan/dissectors/dcerpc/budb/Makefile +++ b/epan/dissectors/dcerpc/budb/Makefile @@ -1,13 +1,16 @@ # $Id$ -DISSECTOR_FILES=packet-dcerpc-budb.c packet-dcerpc-budb.h +PROTOCOL_NAME=budb +IDL2WRS=../idl2wrs + +DISSECTOR_FILES=packet-dcerpc-$(PROTOCOL_NAME).c packet-dcerpc-$(PROTOCOL_NAME).h all: generate_dissector generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../idl2wrs budb.idl budb.cnf template.c template.h - ../idl2wrs budb +$(DISSECTOR_FILES): $(IDL2WRS) $(PROTOCOL_NAME).idl $(PROTOCOL_NAME).cnf template.c template.h + $(IDL2WRS) $(PROTOCOL_NAME) clean: rm -f ETH_* $(DISSECTOR_FILES) -- cgit v1.2.3