(file) Return to platform_WIN32_IX86_MSVC.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

Diff for /pegasus/mak/platform_WIN32_IX86_MSVC.mak between version 1.32 and 1.47

version 1.32, 2005/04/07 20:11:27 version 1.47, 2008/04/09 04:38:36
Line 1 
Line 1 
   #//%2006////////////////////////////////////////////////////////////////////////
   #//
   #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
   #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   #// IBM Corp.; EMC Corporation, The Open Group.
   #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   #// EMC Corporation; VERITAS Software Corporation; The Open Group.
   #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   #// EMC Corporation; Symantec Corporation; The Open Group.
   #//
   #// Permission is hereby granted, free of charge, to any person obtaining a copy
   #// of this software and associated documentation files (the "Software"), to
   #// deal in the Software without restriction, including without limitation the
   #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
   #// sell copies of the Software, and to permit persons to whom the Software is
   #// furnished to do so, subject to the following conditions:
   #//
   #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
   #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
   #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
   #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
   #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
   #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   #//
   #//==============================================================================
 OS_TYPE = windows OS_TYPE = windows
 OS = win32 OS = win32
 ARCHITECTURE = iX86 ARCHITECTURE = iX86
Line 19 
Line 49 
  
  
 # #
   # Determine the version of Windows being used.
   # IPv6 is not supported on Windows 2000 (earliest Windows version supported
   # by Pegasus), but we don't enforce that here.
   # IPv6 is not supported by the VC 6 compiler (CL_MAJOR_VERSION is 12 for VC 6).
   #
   ifeq ($(CL_MAJOR_VERSION), 12)
       PEGASUS_ENABLE_IPV6 = false
   endif
   
   
   #
 # The flags set here should be valid for VC 6. # The flags set here should be valid for VC 6.
 # #
 VERSION_FLAGS := -GX  # The -Zm105 flag was added as part of bug 4418 to resolve this compile error:
 VERSION_DEBUG_FLAGS :=  #   C:\Program Files\Microsoft Visual Studio\VC98\include\xlocale(467) :
 VERSION_RELEASE_FLAGS :=  #   fatal error C1076: compiler limit : internal heap limit reached; use /Zm to
   #   specify a higher limit
   #
   CXX_VERSION_FLAGS := -GX -Zm105
   CXX_VERSION_DEBUG_FLAGS :=
   CXX_VERSION_RELEASE_FLAGS :=
   LINK_VERSION_RELEASE_FLAGS :=
  
  
 # #
 # CL_MAJOR_VERSION 13 is VC 7 # CL_MAJOR_VERSION 13 is VC 7
 # #
 ifeq ($(CL_MAJOR_VERSION), 13) ifeq ($(CL_MAJOR_VERSION), 13)
     VERSION_FLAGS := -Wp64 -EHsc      CXX_VERSION_FLAGS := -Wp64 -EHsc
     VERSION_DEBUG_FLAGS := -Gs      CXX_VERSION_DEBUG_FLAGS := -Gs
     VERSION_RELEASE_FLAGS := -Gs -GF      CXX_VERSION_RELEASE_FLAGS := -Gs -GF -Gy
       LINK_VERSION_RELEASE_FLAGS := /LTCG /OPT:REF /OPT:ICF=5 /OPT:NOWIN98
 endif endif
  
  
Line 40 
Line 88 
 # CL_MAJOR_VERSION 14 is VC 8 # CL_MAJOR_VERSION 14 is VC 8
 # #
 ifeq ($(CL_MAJOR_VERSION), 14) ifeq ($(CL_MAJOR_VERSION), 14)
     VERSION_FLAGS := -Wp64 -EHsc      CXX_VERSION_FLAGS := -Wp64 -EHsc
     VERSION_DEBUG_FLAGS := -RTCc -RTCsu      CXX_VERSION_DEBUG_FLAGS := -RTCc -RTCsu
     VERSION_RELEASE_FLAGS := -GF -GL      CXX_VERSION_RELEASE_FLAGS := -GF -GL -Gy
       LINK_VERSION_RELEASE_FLAGS := /LTCG /OPT:REF /OPT:ICF=5 /OPT:NOWIN98
     DEFINES += -D_CRT_SECURE_NO_DEPRECATE     DEFINES += -D_CRT_SECURE_NO_DEPRECATE
 endif endif
  
  
 ifdef PEGASUS_DEBUG  ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
     FLAGS = $(VERSION_FLAGS) $(VERSION_DEBUG_FLAGS) -GR -W3 -Od -Zi -MDd -DDEBUG -Fd$(OBJ_DIR)/      FLAGS = $(CXX_VERSION_FLAGS) $(CXX_VERSION_DEBUG_FLAGS) -GR -W3 -Od -Zi -MDd -DDEBUG -Fd$(OBJ_DIR)/
     LINK_FLAGS := -debug      LINK_FLAGS += -debug
 else else
     FLAGS = $(VERSION_FLAGS) $(VERSION_RELEASE_FLAGS) -GR -W3 -O2 -MD      FLAGS = $(CXX_VERSION_FLAGS) $(CXX_VERSION_RELEASE_FLAGS) -GR -W3 -O2 -MD
       LINK_FLAGS += $(LINK_VERSION_RELEASE_FLAGS) -map
 endif endif
  
  
Line 59 
Line 109 
     DEFINES += -DPEGASUS_DEBUG_CIMEXCEPTION     DEFINES += -DPEGASUS_DEBUG_CIMEXCEPTION
 endif endif
  
   # if PEGASUS_ENABLE_SLP is already set then honor the users preference else
 # Enable the compilation of the SLP functions. # Enable the compilation of the SLP functions.
   #
   ifndef PEGASUS_ENABLE_SLP
 PEGASUS_ENABLE_SLP=true PEGASUS_ENABLE_SLP=true
   endif
  
 # ATTN KS 20020927 - Add flag to allow conditional testing of interoperability # ATTN KS 20020927 - Add flag to allow conditional testing of interoperability
 # changes during interoperability tests. # changes during interoperability tests.
Line 120 
Line 174 
  
 YACC = bison YACC = bison
  
   RC = rc
   
 # Windows DLLs are installed in the $(PEGASUS_HOME)/bin directory # Windows DLLs are installed in the $(PEGASUS_HOME)/bin directory
 PEGASUS_DEST_LIB_DIR = bin PEGASUS_DEST_LIB_DIR = bin
  
 # The Provider User Context feature (PEP 197) is not supported on Windows # The Provider User Context feature (PEP 197) is not supported on Windows
 PEGASUS_DISABLE_PROV_USERCTXT=1 PEGASUS_DISABLE_PROV_USERCTXT=1
  
 # Windows does not support local domain sockets or the equivalent Bug 2148  # Windows does not support local domain sockets or the equivalent Bug 2147
 DEFINES += -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET  PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
  
 # l10n # l10n
 ifdef PEGASUS_HAS_MESSAGES ifdef PEGASUS_HAS_MESSAGES
Line 171 
Line 227 
         SYS_INCLUDES += -I$(ICU_ROOT)/source/common -I$(ICU_ROOT)/source/i18n         SYS_INCLUDES += -I$(ICU_ROOT)/source/common -I$(ICU_ROOT)/source/i18n
     endif     endif
 endif endif
   
   PEGASUS_JAVA_CLASSPATH_DELIMITER = ;
   
   
   ##################################
   ##
   ## Pegasus WMIMapper
   ##
   ##################################
   
   ifeq ($(PEGASUS_BUILD_WMIMAPPER),true)
     FLAGS += -DPEGASUS_WMIMAPPER
   else
     ifdef PEGASUS_WMIMAPPER
       FLAGS += -DPEGASUS_WMIMAPPER
     endif
   endif
   
   ##################################
   ##
   ## The newer compiler versions need neither MS Platform SDK installed nor MSSdk variable defined.
   ##
   ##################################
   ifeq ($(PEGASUS_BUILD_WMIMAPPER),true)
     ifeq ($(CL_MAJOR_VERSION), 12)
       PEGASUS_WMIMAPPER_NEED_MSSDK=true
     endif
     ifeq ($(CL_MAJOR_VERSION), 13)
       PEGASUS_WMIMAPPER_NEED_MSSDK=true
     endif
     ifeq ($(PEGASUS_WMIMAPPER_NEED_MSSDK),true)
       ifndef MSSdk
         $(error MSSdk environment variable undefined)
       endif
     endif
   endif
   
   
   
   


Legend:
Removed from v.1.32  
changed lines
  Added in v.1.47

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2