NWGNUrewrite revision 8ffac2c334103c0336602aaede650cb578611151
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz# Make sure all needed macro's are defined
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz# Get the 'head' of the build environment if necessary. This includes default
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz# targets and paths to tools
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulzifndef EnvironmentDefined
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz# These directories will be at the beginning of the include list, followed by
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz $(APR)/include \
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz $(APRUTIL)/include \
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz $(AP_WORK)/include \
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz# These flags will come after CFLAGS
fcd50ed0f526645ca50bad2170e3b98b911b7678Ewaryst Schulz# These defines will come after DEFINES
b3df7e69d4d6066fdfae0a8a2f3b4a161eaaf540Robert SavuXDEFINES += \
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savu# These flags will be added to the link.opt file
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savu# These values will be appended to the correct variables based on the value of
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savuifeq "$(RELEASE)" "debug"
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuXINCDIRS += \
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuXDEFINES += \
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savuifeq "$(RELEASE)" "noopt"
b3df7e69d4d6066fdfae0a8a2f3b4a161eaaf540Robert SavuXINCDIRS += \
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuXDEFINES += \
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savuifeq "$(RELEASE)" "release"
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuXINCDIRS += \
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuXDEFINES += \
69b1e90bbb27ce2dd365628c07c0f03a3ae97b26Robert Savu# These are used by the link target if an NLM is being generated
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savu# This is used by the link 'name' directive to name the nlm. If left blank
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savu# TARGET_nlm (see below) will be used.
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuNLM_NAME = rewrite
69b1e90bbb27ce2dd365628c07c0f03a3ae97b26Robert Savu# This is used by the link '-desc ' directive.
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savu# If left blank, NLM_NAME will be used.
239330cd665aac95fcf9cf95449594c96667cbc2Robert SavuNLM_DESCRIPTION = Apache $(VERSION_STR) Rewrite Module
239330cd665aac95fcf9cf95449594c96667cbc2Robert Savu# This is used by the '-threadname' directive. If left blank,
ad306df140215d8fb88d14bbb7d685011e0f770bRobert Savu# NLM_NAME Thread will be used.
ad306df140215d8fb88d14bbb7d685011e0f770bRobert SavuNLM_THREAD_NAME = Rewrite Module
b3df7e69d4d6066fdfae0a8a2f3b4a161eaaf540Robert Savu# If this is specified, it will override VERSION value in
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz# If this is specified, it will override the default of 64K
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/rewrite.nlm \
$(OBJDIR)/mod_rewrite.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc