version 1.84, 2005/03/08 01:56:29
|
version 1.89, 2005/04/08 17:41:22
|
|
|
| |
LEX = flex | LEX = flex |
| |
|
## ======================================================================== |
|
## DIFFSORT function definition |
|
## Here is an example using the DIFFSORT function: |
|
## |
|
## difftest: FORCE |
|
## @ test > result |
|
## @ $(call DIFFSORT,result,standard_result) |
|
## @ $(ECHO) +++++ all test passed |
|
## |
|
|
|
define NL |
|
|
|
|
|
endef |
|
|
|
DIFFSORT = $(SORT) $(1) > $(1).tmp $(NL) \ |
|
$(SORT) $(2) > $(2).tmp $(NL) \ |
|
$(DIFF) $(1).tmp $(2).tmp $(NL) \ |
|
$(RM) -f $(1).tmp $(NL) \ |
|
$(RM) -f $(2).tmp $(NL) |
|
|
|
|
################################################################################ | ################################################################################ |
## | ## |
## Attempt to include a platform configuration file: | ## Attempt to include a platform configuration file: |
|
|
DEFINES += -DPEGASUS_CLIENT_TRACE_ENABLE | DEFINES += -DPEGASUS_CLIENT_TRACE_ENABLE |
endif | endif |
| |
|
# Allow PEGASUS_ASSERT statements to be disabled. |
|
ifdef PEGASUS_NOASSERTS |
|
DEFINES += -DNDEBUG |
|
endif |
|
|
# do not compile trace code. sometimes it causes problems debugging | # do not compile trace code. sometimes it causes problems debugging |
ifdef PEGASUS_REMOVE_TRACE | ifdef PEGASUS_REMOVE_TRACE |
DEFINES += -DPEGASUS_REMOVE_TRACE | DEFINES += -DPEGASUS_REMOVE_TRACE |
|
|
endif | endif |
endif | endif |
| |
|
# Bug 2147 |
|
# Allow local domain socket usage to be disabled. |
|
ifdef PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
|
DEFINES += -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
|
endif |
|
|
# PEP 211 | # PEP 211 |
# Controls object normalization support. | # Controls object normalization support. |
ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION | ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION |
|
|
DEFINES += -DPEGASUS_DISABLE_EXECQUERY | DEFINES += -DPEGASUS_DISABLE_EXECQUERY |
endif | endif |
| |
|
# Allow System Log Handler to be enabled |
|
ifdef PEGASUS_ENABLE_SYSTEM_LOG_HANDLER |
|
DEFINES += -DPEGASUS_ENABLE_SYSTEM_LOG_HANDLER |
|
endif |
|
|
|
# Allow Email Handler to be enabled |
|
ifdef PEGASUS_ENABLE_EMAIL_HANDLER |
|
DEFINES += -DPEGASUS_ENABLE_EMAIL_HANDLER |
|
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. |
|
|
# debug mode. | # debug mode. |
ifdef PEGASUS_DEBUG | ifdef PEGASUS_DEBUG |
DEFINES += -DPEGASUS_DEBUG | DEFINES += -DPEGASUS_DEBUG |
|
|
|
# Indications debugging options |
|
ifdef PEGASUS_INDICATION_PERFINST |
|
DEFINES += -DPEGASUS_INDICATION_PERFINST |
|
endif |
|
|
|
ifdef PEGASUS_INDICATION_HASHTRACE |
|
DEFINES += -DPEGASUS_INDICATION_HASHTRACE |
|
endif |
endif | endif |
| |
# compile in the experimental APIs | # compile in the experimental APIs |