VirtualBox

Changeset 42306 in vbox


Ignore:
Timestamp:
Jul 22, 2012 2:06:22 AM (13 years ago)
Author:
vboxsync
Message:

Only find a suitable midl.exe once (Main and VBoxNetFlt was doing it).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r42289 r42306  
    18121812 PATH_TOOL_YASM ?= $(PATH_DEVTOOLS_BLD)/bin
    18131813endif
     1814
     1815# The Microsoft IDL compiler (the SDK build needs this on non-Windows).
     1816VBOX_WIN_MIDL ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard \
     1817        $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
     1818        $(PATH_SDK_$(VBOX_WINPSDK))/[Bb][Ii][Nn]/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
     1819        $(PATH_SDK_WINPSDK_BIN)/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
     1820        $(PATH_SDK_WINPSDK)/[Bb][Ii][Nn]/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
     1821        $(PATH_DEVTOOLS)/win.x86/bin/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
     1822        ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK))
    18141823
    18151824# XPCOM setup for all but win32.
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r42154 r42306  
    237237 VBoxNetFltNobj_CLEAN      = $(VBoxNetFltNobj_DEPS)
    238238
    239  VBOXNETFLT_NOBJ_IDL      ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard \
    240         $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/Midl.Exe\
    241         $(PATH_SDK_$(VBOX_WINPSDK))/Bin/Midl.Exe\
    242         $(PATH_DEVTOOLS)/win.x86/bin/midl.exe\
    243         ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK))
    244 
    245239$$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_i.c \
    246240+ $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_p.c \
     
    250244                $(PATH_SUB_CURRENT)/win/nobj/VBoxNetFltNobjT.idl \
    251245                | $$(dir $$@)
    252         $(VBOXNETFLT_NOBJ_IDL) /nologo \
     246        $(VBOX_WIN_MIDL) /nologo \
    253247                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxNetFltNobj_0_OUTDIR)) \
    254248                /cpp_cmd $(subst $(EXEC_X86_WIN32),,$(call VBOX_FN_MAKE_WIN_PATH,$(TOOL_$(VBOX_VCC_TOOL)_CC))) \
  • trunk/src/VBox/Main/Makefile.kmk

    r42305 r42306  
    793793        $(QUIET)$(VBOX_XPIDL_ENV)$(VBOX_XPIDL) -m header  -I $(VBOX_PATH_XPCOM_IDL) -e $@ $<
    794794
    795 
    796 VBOX_MAIN_IDL ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard \
    797         $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
    798         $(PATH_SDK_$(VBOX_WINPSDK))/[Bb][Ii][Nn]/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
    799         $(PATH_SDK_WINPSDK_BIN)/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
    800         $(PATH_SDK_WINPSDK)/[Bb][Ii][Nn]/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
    801         $(PATH_DEVTOOLS)/win.x86/bin/[Mm][Ii][Dd][Ll].[Ee][Xx][Ee]\
    802         ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK))
    803 IDL_DEFS = /nologo
    804 
    805795$(VBOX_IDL_FILE.MSCOM): $(VBOX_PATH_MAIN_SRC)/idl/midl.xsl $(VBOX_XIDL_FILE) | $$(dir $$@)
    806796        $(call MSG_TOOL,xsltproc,VBoxSVC,$<,$@)
     
    819809+ $(VBoxCOM_0_OUTDIR)/VirtualBox.h \
    820810+ $(VBoxCOM_0_OUTDIR)/VirtualBox.tlb: $(VBOX_IDL_FILE.MSCOM) | $$(dir $$@)
    821         $(VBOX_MAIN_IDL) $(IDL_DEFS) \
     811        $(VBOX_WIN_MIDL) /nologo \
    822812                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM_0_OUTDIR)) \
    823813                /cpp_cmd $(subst $(EXEC_X86_WIN32),,$(call VBOX_FN_MAKE_WIN_PATH,$(TOOL_$(VBOX_VCC_TOOL)_CC))) \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette