VirtualBox

Changeset 42154 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 13, 2012 11:00:53 PM (13 years ago)
Author:
vboxsync
Message:

VS2010 preps.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r42084 r42154  
    3939 BLDDIRS += $(VBoxCOM_0_OUTDIR) $(PATH_STAGE_BIN)/components
    4040 include $(KBUILD_PATH)/tools/VCC70.kmk
    41  include $(KBUILD_PATH)/sdks/WINPSDK.kmk
     41 include $(KBUILD_PATH)/sdks/$(VBOX_WINPSDK).kmk
    4242endif # !VBOX_ONLY_SDK
    4343
     
    245245endif
    246246VBoxSVC_DEFS.win += VBOX_COM_OUTOFPROC_MODULE
    247 VBoxSVC_DEFS.win.x86 += _WIN32_WINNT=0x0500
    248 VBoxSVC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
     247VBoxSVC_DEFS.win += _WIN32_WINNT=0x0510
    249248# Try to load and use libhal at runtime for probing removable media
    250249# VBoxSVC_DEFS.linux += VBOX_USE_LIBHAL
     
    376375
    377376ifdef VBOX_WITH_NETFLT
    378  # Note! The includes from the TOOL has lower priority than the SDKs,
    379  #       since comdef.h is in both the DDK and VCC we want to make sure
    380  #       we're using the VCC since we're not using the DDK compiler/crt.
    381  #       Since this is potentially risky, restrict it to the source file
    382  #       needing it.
    383  src-server/win/NetIf-win.cpp_INCS.win += $(PATH_TOOL_$(VBOX_VCC_TOOL)_INC)
    384377 VBoxSVC_LIBS.win += \
    385378        $(PATH_STAGE_LIB)/WinNetConfig$(VBOX_SUFF_LIB) \
    386379        $(PATH_STAGE_LIB)/VBoxDrvCfg$(VBOX_SUFF_LIB) \
    387         $(PATH_SDK_W2K3DDK_LIB)/Newdev.lib \
     380        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib \
    388381        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \
    389         $(PATH_SDK_WINPSDK_LIB)/WbemUuid.Lib
     382        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib
    390383endif
    391384VBoxSVC_LDFLAGS.darwin    = -framework IOKit -framework SystemConfiguration
     
    566559        -framework IOKit
    567560VBoxC_LDFLAGS.win += /DELAYLOAD:VBoxVMM.dll
    568 ifdef VBOX_USE_VCC80
     561ifndef VBOX_USE_VCC70
    569562 VBoxC_LDFLAGS.win += /MANIFEST
    570563endif
     
    577570 VBoxC_LIBS.win += \
    578571        $(PATH_STAGE_LIB)/VBoxDrvCfg$(VBOX_SUFF_LIB) \
    579         $(PATH_SDK_W2K3DDK_LIB)/Newdev.lib \
     572        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib \
    580573        $(PATH_STAGE_LIB)/WinNetConfig$(VBOX_SUFF_LIB) \
    581574        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \
    582         $(PATH_SDK_WINPSDK_LIB)/WbemUuid.Lib \
     575        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib \
    583576        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
    584577endif
     
    803796
    804797VBOX_MAIN_IDL ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard \
     798        $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/Midl.Exe\
     799        $(PATH_SDK_$(VBOX_WINPSDK))/Bin/Midl.Exe\
    805800        $(PATH_SDK_WINPSDK_BIN)/Midl.Exe\
    806801        $(PATH_SDK_WINPSDK)/Bin/Midl.Exe\
     
    828823                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM_0_OUTDIR)) \
    829824                /cpp_cmd $(subst $(EXEC_X86_WIN32),,$(call VBOX_FN_MAKE_WIN_PATH,$(TOOL_$(VBOX_VCC_TOOL)_CC))) \
    830                 /I $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_SDK_WINPSDK_INC)) \
     825                /I $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_SDK_$(VBOX_WINPSDK)_INC)) \
    831826                /I idl \
    832827                $(call VBOX_FN_MAKE_WIN_PATH,$<)
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r41477 r42154  
    207207 LIBRARIES += vboxsoap
    208208 vboxsoap_TEMPLATE = VBOXWEBR3EXE
    209  ifdef VBOX_USE_VCC80
     209 ifndef VBOX_USE_VCC70
    210210  vboxsoap_CXXFLAGS.win += -bigobj
    211211 endif
     
    292292        $(VBOXWEB_OUT_DIR) \
    293293        .
    294  ifdef VBOX_USE_VCC80
     294 ifndef VBOX_USE_VCC70
    295295  vboxwebsrv_CXXFLAGS.win += -bigobj
    296296 endif
     
    435435 PROGRAMS += webtest
    436436 webtest_TEMPLATE = VBOXWEBR3EXE
    437  ifdef VBOX_USE_VCC80
     437 ifndef VBOX_USE_VCC70
    438438  webtest_CXXFLAGS.win += -bigobj
    439439 endif
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