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 <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Asanka Herath 2010-05-26 12:34:08 -04:00 committed by Jeffrey Altman
parent 57d7b5ccf0
commit d263fb1507

View File

@ -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