version 1.85, 2005/03/18 21:25:54
|
version 1.87, 2005/03/22 22:52:34
|
|
|
| |
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 |