version 1.44, 2007/07/06 17:46:32
|
version 1.46, 2007/07/27 17:42:55
|
|
|
# | # |
# Determine the version of Windows being used. | # Determine the version of Windows being used. |
# IPv6 is not supported on Windows 2000 (earliest Windows version supported | # 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). |
# 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). |
# | # |
WIN_VERSION := $(shell ver) |
|
ifeq ($(findstring [Version 5.0.,$(WIN_VERSION)),[Version 5.0.) |
|
PEGASUS_ENABLE_IPV6 = false |
|
endif |
|
ifeq ($(CL_MAJOR_VERSION), 12) | ifeq ($(CL_MAJOR_VERSION), 12) |
PEGASUS_ENABLE_IPV6 = false | PEGASUS_ENABLE_IPV6 = false |
endif | endif |
|
|
endif | endif |
endif | endif |
| |
|
################################## |
|
## |
|
## The newer compiler versions need neither MS Platform SDK installed nor MSSdk variable defined. |
|
## |
|
################################## |
ifeq ($(PEGASUS_BUILD_WMIMAPPER),true) | 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 | ifndef MSSdk |
$(error MSSdk environment variable undefined) | $(error MSSdk environment variable undefined) |
endif | endif |
endif | endif |
|
endif |
|
|
|
|
| |
| |