version 1.42.30.1, 2007/06/22 03:53:03
|
version 1.47, 2008/04/09 04:38:36
|
|
|
# | # |
# 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 |
|
|
LINK_FLAGS += -debug | LINK_FLAGS += -debug |
else | else |
FLAGS = $(CXX_VERSION_FLAGS) $(CXX_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) |
LINK_FLAGS += $(LINK_VERSION_RELEASE_FLAGS) -map |
endif | endif |
| |
| |
|
|
| |
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 |
| |
|
|
endif | endif |
| |
PEGASUS_JAVA_CLASSPATH_DELIMITER = ; | 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 |
|
|
|
|
|
|
|
|