From d263fb1507a8c679fd92b5bd2b6af2f1fb8b3cbf Mon Sep 17 00:00:00 2001 From: Asanka Herath Date: Wed, 26 May 2010 12:34:08 -0400 Subject: [PATCH] Windows: Fix midl options for generating stub code MIDL is used to generate server stub code for implementing SMB RPC. Fix the invocation of MIDL so that MIDL can locate include files and respect AFSDEV_AUXMIDLFLAGS. Change-Id: I31e90897c8f0d8db6746dbc94a3fe4de53aab060 Reviewed-on: http://gerrit.openafs.org/2033 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsd/NTMakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WINNT/afsd/NTMakefile b/src/WINNT/afsd/NTMakefile index 2d4dbc3ebb..8e92bb23c9 100644 --- a/src/WINNT/afsd/NTMakefile +++ b/src/WINNT/afsd/NTMakefile @@ -93,10 +93,10 @@ $(IDLFILES):afsrpc.idl midl $(MIDL_FLAGS) $(AFSDEV_AUXMIDLFLAGS) /app_config $? ms-srvsvc.h ms-srvsvc_s.c: ms-srvsvc.idl - midl /Os ms-srvsvc.idl + midl $(MIDL_FLAGS) $(AFSDEV_AUXMIDLFLAGS) /Os ms-srvsvc.idl ms-wkssvc.h ms-wkssvc_s.c: ms-wkssvc.idl - midl /Os ms-wkssvc.idl + midl $(MIDL_FLAGS) $(AFSDEV_AUXMIDLFLAGS) /Os ms-wkssvc.idl $(OUT)\ms-srvsvc_s.obj: ms-srvsvc_s.c $(C2OBJ) /FImsrpc.h /Fo$@ $** @@ -179,7 +179,7 @@ ILIBDIR = $(DESTDIR)\lib # $(INCFILEDIR)\afsd_eventmessages.h: afsd_eventmessages.mc mc afsd_eventmessages.mc - + ############################################################################ # # Flags for linking LOGON DLL'S