version 1.200, 2012/01/13 15:45:24
|
version 1.207, 2013/04/01 06:27:27
|
|
|
## NOTE: If the default below is changed, please update the definition | ## NOTE: If the default below is changed, please update the definition |
## of default for this variable in pegasus/doc/BuildAndReleaseOptions.html | ## of default for this variable in pegasus/doc/BuildAndReleaseOptions.html |
ifndef PEGASUS_CIM_SCHEMA | ifndef PEGASUS_CIM_SCHEMA |
PEGASUS_CIM_SCHEMA=CIM228 |
PEGASUS_CIM_SCHEMA=CIM231 |
endif | endif |
| |
CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA) | CIM_SCHEMA_DIR=$(PEGASUS_ROOT)/Schemas/$(PEGASUS_CIM_SCHEMA) |
|
|
ifeq ($(PEGASUS_HAS_ICU),true) | ifeq ($(PEGASUS_HAS_ICU),true) |
DEFINES += -DPEGASUS_HAS_ICU | DEFINES += -DPEGASUS_HAS_ICU |
| |
################################## |
|
## |
|
## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root |
|
## resource bundle, default is to uppercase the root resource bundle |
|
## |
|
################################## |
|
|
|
ifdef ICU_NO_UPPERCASE_ROOT |
|
CNV_ROOT_FLAGS = |
|
else |
|
CNV_ROOT_FLAGS = -u |
|
endif |
|
|
|
#################################### | #################################### |
## | ## |
## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root | ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root |
|
|
DEFINES += -DMAX_THREADS_PER_SVC_QUEUE=$(PEGASUS_MAX_THREADS_PER_SVC_QUEUE) | DEFINES += -DMAX_THREADS_PER_SVC_QUEUE=$(PEGASUS_MAX_THREADS_PER_SVC_QUEUE) |
endif | endif |
| |
############################################################################## |
|
## |
|
## PEGASUS_INDICATIONS_Q_THRESHOLD |
|
## |
|
## Controls if indications providers are stalled if the indications |
|
## service queue is too large. |
|
## |
|
## defaults to not set. |
|
## |
|
## It can be set to any positive value. |
|
## |
|
## If not set providers are never stalled. This implies that the |
|
## indications service queue may become as large as neccesary to hold all |
|
## the indicaitons generated. |
|
## |
|
## If set to any value then providers are stalled by forcing them to sleep |
|
## when they try to deliver an indication and the indications service queue |
|
## exceeds this value. They are resumed when the queue count falls 10 percent |
|
## below this value. |
|
## |
|
## Stall and resume log entries are made to inform the administrator |
|
## the condition has occured. |
|
## |
|
## WARNING: This also affects the Out of Process Providers (OOP Providers) |
|
## The OOP Providers use two one way pipes for communication. |
|
## By stalling the Provider this prevents the pipe from being read |
|
## which will cause the pipe to fill up and the remote side will block. |
|
## OOP Prividers mix indications and operations on these two pipes. |
|
## This means the operations will also be blocked as a side effect of |
|
## the indications being stalled. |
|
## |
|
## |
|
|
|
ifdef PEGASUS_INDICATIONS_Q_THRESHOLD |
|
DEFINES += -DPEGASUS_INDICATIONS_Q_THRESHOLD=$(PEGASUS_INDICATIONS_Q_THRESHOLD) |
|
endif |
|
|
|
|
|
# Allow PEGASUS_ASSERT statements to be disabled. | # Allow PEGASUS_ASSERT statements to be disabled. |
ifdef PEGASUS_NOASSERTS | ifdef PEGASUS_NOASSERTS |
DEFINES += -DNDEBUG |
DEFINES += -DNDEBUG -DPEGASUS_NOASSERTS |
endif | endif |
| |
# do not compile trace code. sometimes it causes problems debugging | # do not compile trace code. sometimes it causes problems debugging |
|
|
DEFINES += -DPEGASUS_ENABLE_REMOTE_CMPI | DEFINES += -DPEGASUS_ENABLE_REMOTE_CMPI |
endif | endif |
| |
############################################################ |
|
# |
|
# Set any vendor-specific compile flags |
|
# |
|
############################################################ |
|
|
|
ifdef PEGASUS_VENDOR_HP |
|
DEFINES+= -DPEGASUS_VENDOR_HP |
|
endif |
|
|
|
| |
############################################################ | ############################################################ |
# | # |
|
|
DEFINES += -DPEGASUS_INITIAL_THREADSTACK_SIZE=$(PEGASUS_INITIAL_THREADSTACK_SIZE) | DEFINES += -DPEGASUS_INITIAL_THREADSTACK_SIZE=$(PEGASUS_INITIAL_THREADSTACK_SIZE) |
endif | endif |
| |
|
ifndef PEGASUS_INTEROP_NAMESPACE |
|
PEGASUS_INTEROP_NAMESPACE=root/PG_InterOp |
|
else |
|
ifeq ($(PEGASUS_INTEROP_NAMESPACE),root/interop) |
|
DEFINES += -DNS_ROOT_INTEROP |
|
endif |
|
ifeq ($(PEGASUS_INTEROP_NAMESPACE),interop) |
|
DEFINES += -DNS_INTEROP |
|
endif |
|
endif |
|
|
|
##These namespaces will be used in Makefiles. |
|
|
|
NAMESPACE_INTEROP = interop |
|
|
|
NAMESPACE_ROOT_INTEROP = root/interop |