NWGNUmodbuffer revision 8ffac2c334103c0336602aaede650cb578611151
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# Declare the sub-directories to be built here
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# Get the 'head' of the build environment. This includes default targets and
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# paths to tools
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# build this level's files
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# Make sure all needed macro's are defined
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These directories will be at the beginning of the include list, followed by
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi $(APR)/include \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi $(APRUTIL)/include \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi $(AP_WORK)/include \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These flags will come after CFLAGS
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These defines will come after DEFINES
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These flags will be added to the link.opt file
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These values will be appended to the correct variables based on the value of
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumiifeq "$(RELEASE)" "debug"
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumiifeq "$(RELEASE)" "noopt"
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumiifeq "$(RELEASE)" "release"
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These are used by the link target if an NLM is being generated
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# This is used by the link 'name' directive to name the nlm. If left blank
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# TARGET_nlm (see below) will be used.
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiNLM_NAME = modbuffer
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# This is used by the link '-desc ' directive.
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# If left blank, NLM_NAME will be used.
b0c80583231d50bc05c2be34c999e5f29843d478KATOH YasufumiNLM_DESCRIPTION = Apache $(VERSION_STR) Buffer Module
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# This is used by the '-threadname' directive. If left blank,
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# NLM_NAME Thread will be used.
b0c80583231d50bc05c2be34c999e5f29843d478KATOH YasufumiNLM_THREAD_NAME = modbuffer
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# If this is specified, it will override VERSION value in
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If this is specified, it will override the default of 64K
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiNLM_STACK_SIZE = 8192
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi# If this is specified it will be used by the link '-entry' directive
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiNLM_ENTRY_SYM =
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If this is specified it will be used by the link '-exit' directive
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiNLM_EXIT_SYM =
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If this is specified it will be used by the link '-check' directive
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiNLM_CHECK_SYM =
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi# If these are specified it will be used by the link '-flags' directive
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If this is specified it will be linked in with the XDCData option in the def
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# by setting APACHE_UNIPROC in the environment
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If there is an NLM target, put it here
b0c80583231d50bc05c2be34c999e5f29843d478KATOH YasufumiTARGET_nlm = \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If there is an LIB target, put it here
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiTARGET_lib = \
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# These are the OBJ files needed to create the NLM target above.
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# Paths must all use the '/' character
b0c80583231d50bc05c2be34c999e5f29843d478KATOH YasufumiFILES_nlm_objs = \
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# These are the LIB files needed to create the NLM target above.
b0c80583231d50bc05c2be34c999e5f29843d478KATOH Yasufumi# These will be added as a library command in the link.opt file.
b0c80583231d50bc05c2be34c999e5f29843d478KATOH YasufumiFILES_nlm_libs = \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These are the modules that the above NLM target depends on to load.
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# These will be added as a module command in the link.opt file.
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiFILES_nlm_modules = \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If the nlm has a msg file, put it's path here
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiFILE_nlm_msg =
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If the nlm has a hlp file put it's path here
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiFILE_nlm_hlp =
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# If this is specified, it will override $(NWOS)\copyright.txt.
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiFILE_nlm_copyright =
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# Any additional imports go here
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiFILES_nlm_Ximports = \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi# Any symbols exported to here
07ece60087c22f03fac080edad21a2620d5737efKATOH YasufumiFILES_nlm_exports = \
07ece60087c22f03fac080edad21a2620d5737efKATOH Yasufumi buffer_module \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc