NWGNUmodbuffer revision 16b55a35cff91315d261d1baa776138af465c4e4
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# Declare the sub-directories to be built here
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# Get the 'head' of the build environment. This includes default targets and
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# paths to tools
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoinclude $(AP_WORK)\build\NWGNUhead.inc
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# build this level's files
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# Make sure all needed macro's are defined
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# These directories will be at the beginning of the include list, followed by
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXINCDIRS += \
99e4008cad9e959b683c6f48411fcf15a92be3b5Michel Normand $(APR)/include \
99e4008cad9e959b683c6f48411fcf15a92be3b5Michel Normand $(APRUTIL)/include \
10fba81b9d0221b8e47aa1e0b43236413b7d28dfMichel Normand $(AP_WORK)/include \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# These flags will come after CFLAGS
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXCFLAGS += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# These defines will come after DEFINES
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXDEFINES += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# These flags will be added to the link.opt file
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXLFLAGS += \
b4578c5b380130a41a69b5b49c970157acaf1dbbDwight Engen# These values will be appended to the correct variables based on the value of
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoifeq "$(RELEASE)" "debug"
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXINCDIRS += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXCFLAGS += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXDEFINES += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXLFLAGS += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoifeq "$(RELEASE)" "noopt"
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXINCDIRS += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXCFLAGS += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXDEFINES += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXLFLAGS += \
b486346aa2fad7de06c491755b9b50c58c27a017Jan Kiszkaifeq "$(RELEASE)" "release"
b486346aa2fad7de06c491755b9b50c58c27a017Jan KiszkaXINCDIRS += \
b486346aa2fad7de06c491755b9b50c58c27a017Jan KiszkaXDEFINES += \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoXLFLAGS += \
10fba81b9d0221b8e47aa1e0b43236413b7d28dfMichel Normand# These are used by the link target if an NLM is being generated
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# This is used by the link 'name' directive to name the nlm. If left blank
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# TARGET_nlm (see below) will be used.
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_NAME = modbuffer
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# This is used by the link '-desc ' directive.
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If left blank, NLM_NAME will be used.
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_DESCRIPTION = Apache $(VERSION_STR) Buffer Module
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# This is used by the '-threadname' directive. If left blank,
10fba81b9d0221b8e47aa1e0b43236413b7d28dfMichel Normand# NLM_NAME Thread will be used.
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_THREAD_NAME = modbuffer
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If this is specified, it will override VERSION value in
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# $(AP_WORK)\build\NWGNUenvironment.inc
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_VERSION =
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If this is specified, it will override the default of 64K
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_STACK_SIZE = 8192
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If this is specified it will be used by the link '-entry' directive
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_ENTRY_SYM = _LibCPrelude
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If this is specified it will be used by the link '-exit' directive
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_EXIT_SYM = _LibCPostlude
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If this is specified it will be used by the link '-check' directive
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_CHECK_SYM =
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If these are specified it will be used by the link '-flags' directive
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If this is specified it will be linked in with the XDCData option in the def
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# by setting APACHE_UNIPROC in the environment
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If there is an NLM target, put it here
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoTARGET_nlm = \
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcano# If there is an LIB target, put it here
d823d5b966f49d975a09a8512d084389d6d7ffc7dlezcanoTARGET_lib = \
$(OBJDIR)/mod_buffer.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 \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc