version 1.108, 2005/11/16 18:48:39
|
version 1.113, 2005/12/16 20:15:47
|
|
|
# PEP 72 | # PEP 72 |
# Allow Out-of-Process Providers to be disabled by default | # Allow Out-of-Process Providers to be disabled by default |
# | # |
ifdef PEGASUS_DEFAULT_OOP_FALSE |
ifdef PEGASUS_DEFAULT_ENABLE_OOP |
DEFINES += -DPEGASUS_DEFAULT_OOP_FALSE |
ifeq ($(PEGASUS_DEFAULT_ENABLE_OOP),true) |
|
DEFINES += -DPEGASUS_DEFAULT_ENABLE_OOP |
|
else |
|
ifneq ($(PEGASUS_DEFAULT_ENABLE_OOP),false) |
|
$(error PEGASUS_DEFAULT_ENABLE_OOP ($(PEGASUS_DEFAULT_ENABLE_OOP)) invalid, must be true or false) |
|
endif |
|
endif |
endif | endif |
| |
# | # |
|
|
DEFINES += -DPEGASUS_ENABLE_EMAIL_HANDLER | DEFINES += -DPEGASUS_ENABLE_EMAIL_HANDLER |
endif | endif |
| |
|
# Allow qualifiers to be disabled for instance operations |
|
ifdef PEGASUS_DISABLE_INSTANCE_QUALIFIERS |
|
DEFINES += -DPEGASUS_DISABLE_INSTANCE_QUALIFIERS |
|
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 |
|
|
# | # |
# PEGASUS_ENABLE_SLP and PEGASUS_DISABLE_SLP | # PEGASUS_ENABLE_SLP and PEGASUS_DISABLE_SLP |
# | # |
# Use PEGASUS_ENABLE_SLP to enable SLP functions in the Pegasus standard |
# PEGASUS_DISABLE_SLP has been depracated. New use model is: |
# compile on those platforms that do not enable it by default. |
|
# | # |
# Use PEGASUS_DISABLE_SLP to disable SLP on those platforms that enable |
# Use PEGASUS_ENABLE_SLP=true to enable compilation of SLP functions. |
# it by default. |
# |
|
# Use PEGASUS_ENABLE_SLP=false to disable compilation of SLP functions. |
# | # |
# Currently (Aug. 12, 2005) Windows is the only platform that enables SLP | # Currently (Aug. 12, 2005) Windows is the only platform that enables SLP |
# by default. | # by default. |
|
|
# the variable PEGASUS_ENABLE_SLP. | # the variable PEGASUS_ENABLE_SLP. |
# | # |
# | # |
|
|
ifdef PEGASUS_ENABLE_SLP | ifdef PEGASUS_ENABLE_SLP |
ifdef PEGASUS_DISABLE_SLP | ifdef PEGASUS_DISABLE_SLP |
$(error Conflicting defines PEGASUS_ENABLE_SLP and PEGASUS_DISABLE_SLP both set) | $(error Conflicting defines PEGASUS_ENABLE_SLP and PEGASUS_DISABLE_SLP both set) |
endif | endif |
|
endif |
|
|
|
ifdef PEGASUS_DISABLE_SLP |
|
$(error PEGASUS_DISABLE_SLP has been deprecated. Please use PEGASUS_ENABLE_SLP=[true/false] ) |
|
|
|
PEGASUS_ENABLE_SLP=false |
|
|
|
endif |
|
|
|
ifdef PEGASUS_ENABLE_SLP |
|
ifeq ($(PEGASUS_ENABLE_SLP),true) |
DEFINES += -DPEGASUS_ENABLE_SLP | DEFINES += -DPEGASUS_ENABLE_SLP |
|
else |
|
ifneq ($(PEGASUS_ENABLE_SLP),false) |
|
$(error PEGASUS_ENABLE_SLP ($(PEGASUS_ENABLE_SLP)) invalid, must be true or false) |
|
endif |
|
endif |
endif | endif |
| |
# set PEGASUS_DEBUG into the DEFINES if it exists. | # set PEGASUS_DEBUG into the DEFINES if it exists. |
|
|
FLAGS += -DPEGASUS_USE_RELEASE_DIRS | FLAGS += -DPEGASUS_USE_RELEASE_DIRS |
endif | endif |
| |
|
ifdef PEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS |
|
FLAGS += -DPEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS |
|
endif |
|
|
# Unless otherwise specified, Pegasus libraries go in $(PEGASUS_HOME)/lib | # Unless otherwise specified, Pegasus libraries go in $(PEGASUS_HOME)/lib |
ifndef PEGASUS_DEST_LIB_DIR | ifndef PEGASUS_DEST_LIB_DIR |
PEGASUS_DEST_LIB_DIR = lib | PEGASUS_DEST_LIB_DIR = lib |