version 1.122.2.4, 2006/08/02 21:31:08
|
version 1.133, 2006/10/03 18:18:43
|
|
|
endif | endif |
| |
| |
# Setup the conditional compile for client displays. |
|
# |
|
ifdef PEGASUS_CLIENT_TRACE_ENABLE |
|
DEFINES += -DPEGASUS_CLIENT_TRACE_ENABLE |
|
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 |
|
|
endif | endif |
endif | endif |
| |
|
# |
# Allow to define the default value for the Provider User Context | # Allow to define the default value for the Provider User Context |
# property as REQUESTOR. | # property as REQUESTOR. |
# If is set and true use REQUESTOR | # If is set and true use REQUESTOR |
|
|
DEFINES += -DPEGASUS_ENABLE_OBJECT_NORMALIZATION | DEFINES += -DPEGASUS_ENABLE_OBJECT_NORMALIZATION |
endif | endif |
| |
|
# PEP 233 |
|
# Controls support for EmbeddedInstance properties |
|
# and parameters |
|
ifndef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
PEGASUS_EMBEDDED_INSTANCE_SUPPORT = true |
|
endif |
|
|
|
ifeq ($(PEGASUS_EMBEDDED_INSTANCE_SUPPORT), true) |
|
DEFINES += -DPEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
else |
|
ifneq ($(PEGASUS_EMBEDDED_INSTANCE_SUPPORT), false) |
|
$(error PEGASUS_EMBEDDED_INSTANCE_SUPPORT ($(PEGASUS_EMBEDDED_INSTANCE_SUPPORT)) invalid, must be true or false) |
|
endif |
|
endif |
|
|
|
|
# Allow ExecQuery functionality to be enabled | # Allow ExecQuery functionality to be enabled |
ifndef PEGASUS_ENABLE_EXECQUERY | ifndef PEGASUS_ENABLE_EXECQUERY |
DEFINES += -DPEGASUS_DISABLE_EXECQUERY | DEFINES += -DPEGASUS_DISABLE_EXECQUERY |
|
|
DEFINES += -DPEGASUS_DISABLE_INSTANCE_QUALIFIERS | DEFINES += -DPEGASUS_DISABLE_INSTANCE_QUALIFIERS |
endif | endif |
| |
|
# Allow repository instance filtering to be disabled |
|
ifdef PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER |
|
ifeq ($(PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER), false) |
|
DEFINES += -DPEGASUS_DISABLE_REPOSITORY_INSTANCE_FILTER |
|
else |
|
ifneq ($(PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER), true) |
|
$(error PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER ($(PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER)) invalid, must be true or false) |
|
endif |
|
endif |
|
endif |
|
|
# Controls snmp indication handler to use NET-SNMP to deliver trap | # Controls snmp indication handler to use NET-SNMP to deliver trap |
ifdef PEGASUS_USE_NET_SNMP | ifdef PEGASUS_USE_NET_SNMP |
DEFINES += -DPEGASUS_USE_NET_SNMP | DEFINES += -DPEGASUS_USE_NET_SNMP |
|
|
ifdef PEGASUS_INDICATION_HASHTRACE | ifdef PEGASUS_INDICATION_HASHTRACE |
DEFINES += -DPEGASUS_INDICATION_HASHTRACE | DEFINES += -DPEGASUS_INDICATION_HASHTRACE |
endif | endif |
|
|
|
# Setup the conditional compile for client displays. |
|
ifdef PEGASUS_CLIENT_TRACE_ENABLE |
|
DEFINES += -DPEGASUS_CLIENT_TRACE_ENABLE |
|
endif |
endif | endif |
| |
# compile in the experimental APIs | # compile in the experimental APIs |
|
|
EXTRA_LINK_FLAGS = $(PEGASUS_EXTRA_LINK_FLAGS) | EXTRA_LINK_FLAGS = $(PEGASUS_EXTRA_LINK_FLAGS) |
endif | endif |
| |
|
##============================================================================== |
|
## |
|
## By definining PEGASUS_USE_STATIC_LIBRARIES in the environment and STATIC |
|
## in the Makefile, a static library is produced rather than a shared one. |
|
## PEGASUS_USE_STATIC_LIBRARIES should be "true" or "false". |
|
## |
|
##============================================================================== |
|
|
|
ifdef PEGASUS_USE_STATIC_LIBRARIES |
|
ifeq ($(PEGASUS_USE_STATIC_LIBRARIES),true) |
|
else |
|
ifneq ($(PEGASUS_USE_STATIC_LIBRARIES),false) |
|
$(error PEGASUS_USE_STATIC_LIBRARIES ($(PEGASUS_USE_STATIC_LIBRARIES)) invalid, must be true or false) |
|
endif |
|
endif |
|
endif |
|
|
|
|
ifndef PEGASUS_JAVA_CLASSPATH_DELIMITER | ifndef PEGASUS_JAVA_CLASSPATH_DELIMITER |
PEGASUS_JAVA_CLASSPATH_DELIMITER = : | PEGASUS_JAVA_CLASSPATH_DELIMITER = : |
endif | endif |
|
|
|
ifndef PEGASUS_JVM |
|
PEGASUS_JVM = sun |
|
endif |
|
ifeq ($(PEGASUS_JVM),gcj) |
|
PEGASUS_JAVA_COMPILER = gcj -C |
|
PEGASUS_JAVA_JAR = fastjar |
|
PEGASUS_JAVA_INTERPRETER = gij |
|
else |
|
PEGASUS_JAVA_COMPILER = javac -target 1.4 -source 1.4 |
|
PEGASUS_JAVA_JAR = jar |
|
PEGASUS_JAVA_INTERPRETER = java |
|
endif |