version 1.129, 2006/07/26 20:22:06
|
version 1.133.2.1, 2006/10/10 04:10:31
|
|
|
$(error PEGASUS_ROOT environment variable undefined) | $(error PEGASUS_ROOT environment variable undefined) |
endif | endif |
| |
|
|
# l10n | # l10n |
ifdef ICU_ROOT | ifdef ICU_ROOT |
ICUROOT = $(subst \,/,$(ICU_ROOT)) | ICUROOT = $(subst \,/,$(ICU_ROOT)) |
|
|
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 |
| |
# | # |
|
# Allow to define the default value for the Provider User Context |
|
# property as REQUESTOR. |
|
# If is set and true use REQUESTOR |
|
# If is not set or false use PRIVILEGED |
|
# |
|
ifdef PEGASUS_DEFAULT_USERCTXT_REQUESTOR |
|
ifeq ($(PEGASUS_DEFAULT_USERCTXT_REQUESTOR),true) |
|
DEFINES += -DPEGASUS_DEFAULT_USERCTXT_REQUESTOR |
|
else |
|
ifneq ($(PEGASUS_DEFAULT_USERCTXT_REQUESTOR),false) |
|
$(error PEGASUS_DEFAULT_USERCTXT_REQUESTOR ($(PEGASUS_DEFAULT_USERCTXT_REQUESTOR)) invalid, must be true or false) |
|
endif |
|
endif |
|
endif |
|
|
|
# |
# PEP 197 | # PEP 197 |
# Allow the Provider User Context feature to be disabled. | # Allow the Provider User Context feature to be disabled. |
# | # |
|
|
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 |
|
|
endif | endif |
endif | endif |
| |
|
ifdef PEGASUS_USE_OPENSLP |
|
ifdef PEGASUS_SLP_REG_TIMEOUT |
|
$(error Conflicting defines PEGASUS_USE_OPENSLP and PEGASUS_SLP_REG_TIMEOUT both set) |
|
endif |
|
endif |
|
|
ifdef PEGASUS_DISABLE_SLP | ifdef PEGASUS_DISABLE_SLP |
$(error PEGASUS_DISABLE_SLP has been deprecated. Please use PEGASUS_ENABLE_SLP=[true/false] ) | $(error PEGASUS_DISABLE_SLP has been deprecated. Please use PEGASUS_ENABLE_SLP=[true/false] ) |
| |
|
|
| |
endif | endif |
| |
|
ifdef PEGASUS_SLP_REG_TIMEOUT |
|
ifeq ($(PEGASUS_ENABLE_SLP),true) |
|
DEFINES += -DPEGASUS_SLP_REG_TIMEOUT |
|
else |
|
$(error PEGASUS_SLP_REG_TIMEOUT defined but PEGASUS_ENABLE_SLP is not true. Please correct this inconsistency) |
|
endif |
|
endif |
|
|
|
|
|
|
ifdef PEGASUS_ENABLE_SLP | ifdef PEGASUS_ENABLE_SLP |
ifeq ($(PEGASUS_ENABLE_SLP),true) | ifeq ($(PEGASUS_ENABLE_SLP),true) |
DEFINES += -DPEGASUS_ENABLE_SLP | DEFINES += -DPEGASUS_ENABLE_SLP |
|
|
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 |
|
|
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 |