NWGNUproxycon revision 16b55a35cff91315d261d1baa776138af465c4e4
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# Make sure all needed macro's are defined
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# Get the 'head' of the build environment if necessary. This includes default
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# targets and paths to tools
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsifndef EnvironmentDefined
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsinclude $(AP_WORK)\build\NWGNUhead.inc
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# These directories will be at the beginning of the include list, followed by
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXINCDIRS += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews $(APR)/include \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews $(APRUTIL)/include \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews $(AP_WORK)/include \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# These flags will come after CFLAGS
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# These defines will come after DEFINES
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXDEFINES += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# These flags will be added to the link.opt file
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# These values will be appended to the correct variables based on the value of
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsifeq "$(RELEASE)" "debug"
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXINCDIRS += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXDEFINES += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsifeq "$(RELEASE)" "noopt"
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXINCDIRS += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXDEFINES += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsifeq "$(RELEASE)" "release"
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXINCDIRS += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsXDEFINES += \
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# These are used by the link target if an NLM is being generated
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# This is used by the link 'name' directive to name the nlm. If left blank
1bce43adcc11d21afaf645cbe466553aabc725b2Mark Andrews# TARGET_nlm (see below) will be used.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsNLM_NAME = proxycon
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# This is used by the link '-desc ' directive.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# If left blank, NLM_NAME will be used.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy Connection Sub-Module
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# This is used by the '-threadname' directive. If left blank,
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# NLM_NAME Thread will be used.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark AndrewsNLM_THREAD_NAME = Proxy Conn Module
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# If this is specified, it will override VERSION value in
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews# $(AP_WORK)\build\NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/proxycon.nlm \
$(OBJDIR)/mod_proxy_connect.o \
$(OBJDIR)/proxy_util.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.
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@$(OBJDIR)/mod_proxy.imp \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc