version 1.63, 2004/08/25 22:38:13
|
version 1.64.2.7, 2005/08/12 23:47:59
|
|
|
WIN32_IX86_MSVC \ | WIN32_IX86_MSVC \ |
LINUX_IX86_GNU \ | LINUX_IX86_GNU \ |
LINUX_PPC_GNU \ | LINUX_PPC_GNU \ |
|
LINUX_PPC64_GNU \ |
LINUX_IA64_GNU \ | LINUX_IA64_GNU \ |
LINUX_ZSERIES_GNU \ | LINUX_ZSERIES_GNU \ |
|
LINUX_ZSERIES64_GNU \ |
AIX_RS_IBMCXX \ | AIX_RS_IBMCXX \ |
HPUX_PARISC_ACC \ | HPUX_PARISC_ACC \ |
HPUX_IA64_ACC \ | HPUX_IA64_ACC \ |
|
|
FOUND = true | FOUND = true |
endif | endif |
| |
|
ifeq ($(PEGASUS_PLATFORM),LINUX_PPC64_GNU) |
|
include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak |
|
FOUND = true |
|
endif |
|
|
ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU) | ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU) |
include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak | include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak |
FOUND = true | FOUND = true |
|
|
FOUND = true | FOUND = true |
endif | endif |
| |
|
ifeq ($(PEGASUS_PLATFORM),LINUX_ZSERIES64_GNU) |
|
include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak |
|
FOUND = true |
|
endif |
|
|
ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX) | ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX) |
include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak | include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak |
FOUND = true | FOUND = true |
|
|
## | ## |
################################################################################ | ################################################################################ |
| |
|
################################################################################ |
|
## |
|
## PEGASUS_MAX_THREADS_PER_SVC_QUEUE |
|
## |
|
## Controls the maximum number of threads allowed per message service queue. |
|
## It is allowed to range between 1 and MAX_THREADS_PER_SVC_QUEUE_LIMIT |
|
## as set in pegasus/src/Pegasus/Common/MessageQueueService.cpp. |
|
## |
|
## defaults to 0 (zero) |
|
## |
|
## if set to 0 (zero) |
|
## then the max threads per service queue is |
|
## set to MAX_THREADS_PER_SVC_QUEUE_DEFAULT. |
|
## if set larger than MAX_THREADS_PER_SVC_QUEUE_LIMIT |
|
## then the max threads per service queue is |
|
## set to MAX_THREADS_PER_SVC_QUEUE_LIMIT. |
|
## |
|
## Label Current value |
|
## -------------------------------------- ------------- |
|
## MAX_THREADS_PER_SVC_QUEUE_LIMIT 5000 |
|
## MAX_THREADS_PER_SVC_QUEUE_DEFAULT 5 |
|
## |
|
## |
|
|
|
ifdef PEGASUS_MAX_THREADS_PER_SVC_QUEUE |
|
DEFINES += -DMAX_THREADS_PER_SVC_QUEUE=$(PEGASUS_MAX_THREADS_PER_SVC_QUEUE) |
|
else |
|
DEFINES += -DMAX_THREADS_PER_SVC_QUEUE=0 |
|
endif |
|
|
# Setup the conditional compile for client displays. | # Setup the conditional compile for client displays. |
# | # |
ifdef PEGASUS_CLIENT_TRACE_ENABLE | ifdef PEGASUS_CLIENT_TRACE_ENABLE |
|
|
DEFINES+= -DPEGASUS_REMOVE_TRACE | DEFINES+= -DPEGASUS_REMOVE_TRACE |
endif | endif |
| |
|
# Allow PEGASUS_ASSERT statements to be disabled |
|
ifdef PEGASUS_NOASSERTS |
|
DEFINES += -DNDEBUG |
|
endif |
|
|
# PEP 123 use monitor2 (the default) or not | # PEP 123 use monitor2 (the default) or not |
#ifdef PEGASUS_USE_23HTTPMONITOR_SERVER | #ifdef PEGASUS_USE_23HTTPMONITOR_SERVER |
DEFINES+= -DPEGASUS_USE_23HTTPMONITOR_SERVER | DEFINES+= -DPEGASUS_USE_23HTTPMONITOR_SERVER |
|
|
DEFINES += -DPEGASUS_ENABLE_USERGROUP_AUTHORIZATION | DEFINES += -DPEGASUS_ENABLE_USERGROUP_AUTHORIZATION |
endif | endif |
| |
|
# Allow ExecQuery functionality to be enabled |
|
ifndef PEGASUS_ENABLE_EXECQUERY |
|
DEFINES += -DPEGASUS_DISABLE_EXECQUERY |
|
endif |
| |
# setup function to enable SLP functions in the Pegasus standard compile | # setup function to enable SLP functions in the Pegasus standard compile |
# Set the environment varaible PEGASUS_ENABLE_SLP to enable SLP code. | # Set the environment varaible PEGASUS_ENABLE_SLP to enable SLP code. |
|
|
| |
ifdef PEGASUS_USE_RELEASE_DIRS | ifdef PEGASUS_USE_RELEASE_DIRS |
FLAGS += -DPEGASUS_USE_RELEASE_DIRS | FLAGS += -DPEGASUS_USE_RELEASE_DIRS |
DEFINES += -DPEGASUS_DEST_LIB_DIR=\"$(PEGASUS_DEST_LIB_DIR)\" |
|
endif | endif |
| |
|
# Unless otherwise specified, Pegasus libraries go in $(PEGASUS_HOME)/lib |
|
ifndef PEGASUS_DEST_LIB_DIR |
|
PEGASUS_DEST_LIB_DIR = lib |
|
endif |
|
|
|
DEFINES += -DPEGASUS_DEST_LIB_DIR=\"$(PEGASUS_DEST_LIB_DIR)\" |
|
|
|
################################################################################ |
|
## |
|
## Additional build flags passed in through environment variables. |
|
## These flags are added to the compile/link commands. |
|
## |
|
################################################################################ |
| |
|
ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
ifdef PEGASUS_EXTRA_CXX_FLAGS |
|
EXTRA_CXX_FLAGS = $(PEGASUS_EXTRA_CXX_FLAGS) |
|
endif |
| |
|
ifdef PEGASUS_EXTRA_C_FLAGS |
|
EXTRA_C_FLAGS = $(PEGASUS_EXTRA_C_FLAGS) |
|
endif |
|
|
|
ifdef PEGASUS_EXTRA_LINK_FLAGS |
|
EXTRA_LINK_FLAGS = $(PEGASUS_EXTRA_LINK_FLAGS) |
|
endif |
|
endif |