version 1.36, 2003/08/12 14:56:14
|
version 1.42.4.2, 2004/04/23 18:23:41
|
|
|
ifdef PEGASUS_DISPLAYCONSUMER_DIR | ifdef PEGASUS_DISPLAYCONSUMER_DIR |
DISPLAYCONSUMER_DIR = $(subst \,/,$(PEGASUS_DISPLAYCONSUMER_DIR)) | DISPLAYCONSUMER_DIR = $(subst \,/,$(PEGASUS_DISPLAYCONSUMER_DIR)) |
else | else |
DISPLAYCONSUMER_DIR = $(PEGASUS_HOME) |
DISPLAYCONSUMER_DIR = $(subst \,/,$(PEGASUS_HOME)) |
endif | endif |
| |
VALID_PLATFORMS = \ | VALID_PLATFORMS = \ |
|
|
# Update the following two environment variables to | # Update the following two environment variables to |
# change the version. | # change the version. |
| |
CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/CIM27 |
# The environment variable PEGASUS_CIM_SCHEMA can be used |
CIM_SCHEMA_VER=27 |
# to change the values of CIM_SCHEMA_DIR, CIM_SCHEMA_VER |
|
# and ALLOW_EXPERIMENTAL. |
|
# |
|
# To use the PEGASUS_CIM_SCHEMA variable the Schema mof |
|
# files must be placed in the directory |
|
# $(PEGAUS_ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA) |
|
# |
|
# The value of PEGASUS_CIM_SCHEMA must conform to the |
|
# following syntax: |
|
# |
|
# CIM[Prelim]<CIM_SCHEMA_VER> |
|
# |
|
# The string "Prelim" should be included if the |
|
# Schema contains "Experimental" class definitions. |
|
# |
|
# The value of <CIM_SCHEMA_VER> must be the value |
|
# of the version string included by the DMTF as |
|
# part of the mof file names (e.g, CIM_Core27.mof). |
|
# Therefore, for example, the value of <CIM_SCHEMA_VER> |
|
# for CIM27 Schema directories MUST be 27. |
|
# |
|
# Examples of valid values of PEGASUS_CIM_SCHEMA |
|
# include CIMPrelim27, CIM27, CIMPrelim28, and CIM28. |
|
# |
|
# Note the CIMPrelim271 would NOT be a valid value |
|
# for PEGASUS_CIM_SCHEMA because the version string |
|
# portion of the mof files (e.g., CIM_Core27.mof) in |
|
# the CIMPrelimin271 directory is 27 not 271. |
| |
# ***** CIM_SCHEMA_DIR INFO **** | # ***** CIM_SCHEMA_DIR INFO **** |
# If CIM_SCHEMA_DIR changes to use a preliminary schema which | # If CIM_SCHEMA_DIR changes to use a preliminary schema which |
|
|
# experimental classes. Since experimental classes exist the -aE | # experimental classes. Since experimental classes exist the -aE |
# option of the mof compiler needs to be set. | # option of the mof compiler needs to be set. |
# ***** | # ***** |
ifeq ($(CIM_SCHEMA_DIR), $(PEGASUS_ROOT)/Schemas/CIMPrelim271) |
|
|
ifdef PEGASUS_CIM_SCHEMA |
|
CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA) |
|
CIM_SCHEMA_VER=$(patsubst CIM%,%,$(patsubst CIMPrelim%,%,$(PEGASUS_CIM_SCHEMA))) |
|
else |
|
CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/CIM27 |
|
CIM_SCHEMA_VER=27 |
|
endif |
|
|
|
ifneq (, $(findstring Prelim, $(CIM_SCHEMA_DIR))) |
ALLOW_EXPERIMENTAL = -aE | ALLOW_EXPERIMENTAL = -aE |
else | else |
ALLOW_EXPERIMENTAL = | ALLOW_EXPERIMENTAL = |
|
|
DEFINES+= -DPEGASUS_CLIENT_TRACE_ENABLE | DEFINES+= -DPEGASUS_CLIENT_TRACE_ENABLE |
endif | endif |
| |
|
# do not compile trace code. sometimes it causes problems debugging |
|
ifdef PEGASUS_REMOVE_TRACE |
|
DEFINES+= -DPEGASUS_REMOVE_TRACE |
|
endif |
|
|
|
|
|
# use monitor_2 |
|
ifdef PEGASUS_MONITOR2 |
|
DEFINES+= -DPEGASUS_MONITOR2 |
|
endif |
|
|
|
# setup function to enable SLP functions in the Pegasus standard compile |
|
# Set the environment varaible PEGASUS_ENABLE_SLP to enable SLP code. |
|
ifdef PEGASUS_ENABLE_SLP |
|
DEFINES+= -DPEGASUS_ENABLE_SLP |
|
endif |
|
|
|
# compile in the experimental APIs |
|
DEFINES+= -DPEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
|
|
|
|
############################################################ |
|
# |
|
# Set any vendor-specific compile flags |
|
# |
|
############################################################ |
|
|
|
ifdef PEGASUS_VENDOR_HP |
|
DEFINES+= -DPEGASUS_VENDOR_HP |
|
endif |
| |
| |
############################################################ | ############################################################ |