VirtualBox

Changeset 9954

Show
Ignore:
Timestamp:
06/26/08 16:01:49 (2 months ago)
Author:
vboxsync
Message:

Added VBOXR3STATIC (it's for EXEs and LIBs only).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Config.kmk

    r9947 r9954  
    19991999 
    20002000# 
     2001# Template for building static R3 executables and any static  
     2002# libraries they link with. 
     2003# 
     2004TEMPLATE_VBOXR3STATIC           = VBox Static Ring 3 EXE  
     2005TEMPLATE_VBOXR3STATIC_EXTENDS   = VBOXR3EXE 
     2006ifeq ($(KBUILD_TARGET),win) 
     2007 TEMPLATE_VBOXR3STATIC_CFLAGS   = $(filter-out -MD, $(TEMPLATE_VBOXR3EXE_CFLAGS)) -MT 
     2008 TEMPLATE_VBOXR3STATIC_CXXFLAGS = $(filter-out -MD, $(TEMPLATE_VBOXR3EXE_CFLAGS)) -MT 
     2009 TEMPLATE_VBOXR3STATIC_LDFLAGS  = $(filter-out /DISALLOWLIB:libcmt.lib, $(TEMPLATE_VBOXR3EXE_LDFLAGS)) \ 
     2010        /DISALLOWLIB:msvcrt.lib \ 
     2011        /DISALLOWLIB:msvcprt.lib 
     2012 TEMPLATE_VBOXR3STATIC_LIBS     = \ 
     2013        $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL)_LIB)/oldnames.lib \ 
     2014        $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL)_LIB)/libcmt.lib \ 
     2015        $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL)_LIB)/libcpmt.lib 
     2016else # the gcc guys (untested!) 
     2017 TEMPLATE_VBOXR3STATIC_CFLAGS   = $(TEMPLATE_VBOXR3EXE_CFLAGS) -static 
     2018 TEMPLATE_VBOXR3STATIC_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -static 
     2019 TEMPLATE_VBOXR3STATIC_OBJCFLAGS= $(TEMPLATE_VBOXR3EXE_OBJCFLAGS) -static 
     2020 TEMPLATE_VBOXR3STATIC_LDFLAGS  = $(TEMPLATE_VBOXR3EXE_LDFLAGS) -static 
     2021endif 
     2022 
     2023# 
    20012024# Ring-3 testcase. 
    20022025# This is the VBOXR3EXE template only with a different install dir. 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy