NWGNUheaders revision cf7ca2f9eaa6523fefcccba4287b91637391fb51
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Make sure all needed macro's are defined
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# Get the 'head' of the build environment if necessary. This includes default
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# targets and paths to tools
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifndef EnvironmentDefined
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(AP_WORK)/build/NWGNUhead.inc
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These directories will be at the beginning of the include list, followed by
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXINCDIRS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(APR)/include \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(APRUTIL)/include \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(AP_WORK)/include \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These flags will come after CFLAGS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXCFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These defines will come after DEFINES
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXDEFINES += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These flags will be added to the link.opt file
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXLFLAGS += \
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# These values will be appended to the correct variables based on the value of
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq "$(RELEASE)" "debug"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXINCDIRS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXCFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXDEFINES += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXLFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq "$(RELEASE)" "noopt"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXINCDIRS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXCFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXDEFINES += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXLFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq "$(RELEASE)" "release"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXINCDIRS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXCFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXDEFINES += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinXLFLAGS += \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These are used by the link target if an NLM is being generated
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This is used by the link 'name' directive to name the nlm. If left blank
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# TARGET_nlm (see below) will be used.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_NAME = headers
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This is used by the link '-desc ' directive.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If left blank, NLM_NAME will be used.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_DESCRIPTION = Apache $(VERSION_STR) Headers Module
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This is used by the '-threadname' directive. If left blank,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# NLM_NAME Thread will be used.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_THREAD_NAME = Headers Module
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If this is specified, it will override VERSION value in
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_VERSION =
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If this is specified, it will override the default of 64K
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_STACK_SIZE = 8192
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If this is specified it will be used by the link '-entry' directive
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_ENTRY_SYM =
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# If this is specified it will be used by the link '-exit' directive
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzNLM_EXIT_SYM =
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# If this is specified it will be used by the link '-check' directive
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzNLM_CHECK_SYM =
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# If these are specified it will be used by the link '-flags' directive
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinNLM_FLAGS =
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If this is specified it will be linked in with the XDCData option in the def
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# by setting APACHE_UNIPROC in the environment
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If there is an NLM target, put it here
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTARGET_nlm = \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If there is an LIB target, put it here
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTARGET_lib = \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These are the OBJ files needed to create the NLM target above.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Paths must all use the '/' character
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFILES_nlm_objs = \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These are the LIB files needed to create the NLM target above.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# These will be added as a library command in the link.opt file.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFILES_nlm_libs = \
# 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