NWGNUcach_dsk revision cf7ca2f9eaa6523fefcccba4287b91637391fb51
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Declare the sub-directories to be built here
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# Get the 'head' of the build environment. This includes default targets and
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# paths to tools
2cacab200fb387e290386593d9b2fca2e7beef33csovantinclude $(AP_WORK)/build/NWGNUhead.inc
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# build this level's files
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac# Make sure all needed macro's are defined
2cacab200fb387e290386593d9b2fca2e7beef33csovant# These directories will be at the beginning of the include list, followed by
2cacab200fb387e290386593d9b2fca2e7beef33csovantXINCDIRS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant $(APR)/include \
2cacab200fb387e290386593d9b2fca2e7beef33csovant $(APRUTIL)/include \
2cacab200fb387e290386593d9b2fca2e7beef33csovant $(AP_WORK)/include \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These flags will come after CFLAGS
2cacab200fb387e290386593d9b2fca2e7beef33csovantXCFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These defines will come after DEFINES
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXDEFINES += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These flags will be added to the link.opt file
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXLFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These values will be appended to the correct variables based on the value of
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantifeq "$(RELEASE)" "debug"
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXINCDIRS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXCFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXDEFINES += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXLFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantifeq "$(RELEASE)" "noopt"
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXINCDIRS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXCFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXDEFINES += \
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotXLFLAGS += \
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotifeq "$(RELEASE)" "release"
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotXINCDIRS += \
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotXCFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXDEFINES += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantXLFLAGS += \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These are used by the link target if an NLM is being generated
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiot# This is used by the link 'name' directive to name the nlm. If left blank
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiot# TARGET_nlm (see below) will be used.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantNLM_NAME = dsk_cach
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# This is used by the link '-desc ' directive.
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If left blank, NLM_NAME will be used.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantNLM_DESCRIPTION = Apache $(VERSION_STR) Memory Cache Sub-Module
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# This is used by the '-threadname' directive. If left blank,
2cacab200fb387e290386593d9b2fca2e7beef33csovant# NLM_NAME Thread will be used.
2cacab200fb387e290386593d9b2fca2e7beef33csovantNLM_THREAD_NAME = dsk_cach
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified, it will override VERSION value in
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantNLM_VERSION =
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified, it will override the default of 64K
2cacab200fb387e290386593d9b2fca2e7beef33csovantNLM_STACK_SIZE = 65536
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified it will be used by the link '-entry' directive
2cacab200fb387e290386593d9b2fca2e7beef33csovantNLM_ENTRY_SYM =
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified it will be used by the link '-exit' directive
2cacab200fb387e290386593d9b2fca2e7beef33csovantNLM_EXIT_SYM =
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified it will be used by the link '-check' directive
2cacab200fb387e290386593d9b2fca2e7beef33csovantNLM_CHECK_SYM =
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified it will be used by the link '-flags' directive
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If this is specified it will be linked in with the XDCData option in the def
2cacab200fb387e290386593d9b2fca2e7beef33csovant# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# by setting APACHE_UNIPROC in the environment
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Declare all target files (you must add your files here)
2cacab200fb387e290386593d9b2fca2e7beef33csovant# If there is an NLM target, put it here
2cacab200fb387e290386593d9b2fca2e7beef33csovantTARGET_nlm = \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# If there is an LIB target, put it here
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantTARGET_lib = \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These are the OBJ files needed to create the NLM target above.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# Paths must all use the '/' character
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiotFILES_nlm_objs = \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These are the LIB files needed to create the NLM target above.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant# These will be added as a library command in the link.opt file.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovantFILES_nlm_libs = \
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant $(PRELUDE) \
2cacab200fb387e290386593d9b2fca2e7beef33csovant# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@libc.imp \
@aprlib.imp \
@httpd.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc