version 1.38, 2005/10/11 11:51:44
|
version 1.44, 2007/07/06 17:46:32
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// 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 | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
| |
| |
# | # |
|
# Determine the version of Windows being used. |
|
# IPv6 is not supported on Windows 2000 (earliest Windows version supported |
|
# by Pegasus), nor by the VC 6 compiler (CL_MAJOR_VERSION is 12 for VC 6). |
|
# |
|
WIN_VERSION := $(shell ver) |
|
ifeq ($(findstring [Version 5.0.,$(WIN_VERSION)),[Version 5.0.) |
|
PEGASUS_ENABLE_IPV6 = false |
|
endif |
|
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. |
# | # |
CXX_VERSION_FLAGS := -GX |
# The -Zm105 flag was added as part of bug 4418 to resolve this compile error: |
|
# C:\Program Files\Microsoft Visual Studio\VC98\include\xlocale(467) : |
|
# 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_DEBUG_FLAGS := |
CXX_VERSION_RELEASE_FLAGS := | CXX_VERSION_RELEASE_FLAGS := |
LINK_VERSION_RELEASE_FLAGS := | LINK_VERSION_RELEASE_FLAGS := |
|
|
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_DISABLE_SLP |
# |
|
ifndef PEGASUS_ENABLE_SLP |
PEGASUS_ENABLE_SLP = true | PEGASUS_ENABLE_SLP = true |
DEFINES += -DPEGASUS_ENABLE_SLP |
|
endif | endif |
| |
# ATTN KS 20020927 - Add flag to allow conditional testing of interoperability | # ATTN KS 20020927 - Add flag to allow conditional testing of interoperability |
|
|
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 |
|
|
|
ifeq ($(PEGASUS_BUILD_WMIMAPPER),true) |
|
ifndef MSSdk |
|
$(error MSSdk environment variable undefined) |
|
endif |
|
endif |
|
|
|
|