version 1.62, 2004/08/24 21:34:19
|
version 1.64.2.5, 2005/04/06 23:44:13
|
|
|
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_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 |
|
|
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. |
|
|
# | # |
RMREPOSITORY = $(RMDIRHIER) | RMREPOSITORY = $(RMDIRHIER) |
| |
ifdef PEGASUS_USE_RELEASE_OPTIONS |
ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS |
FLAGS += -DPEGASUS_USE_RELEASE_OPTIONS |
FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
endif | endif |
| |
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 |