NWGNUsession revision b2f248e974a6f537e06aa69f08303e78b8357ded
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# Make sure all needed macro's are defined
b442af56a5e2104663b84fb345c070ce185d4ab3slive# Get the 'head' of the build environment if necessary. This includes default
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# targets and paths to tools
b1ced323143ade589985456a78f3f64d6a6580c5yoshikiifndef EnvironmentDefined
b442af56a5e2104663b84fb345c070ce185d4ab3sliveinclude $(AP_WORK)\build\NWGNUhead.inc
cd694e2baec0c53e1b764ffe52ef88dcb68cfd53jerenkrantz# These directories will be at the beginning of the include list, followed by
cd694e2baec0c53e1b764ffe52ef88dcb68cfd53jerenkrantzXINCDIRS += \
cd694e2baec0c53e1b764ffe52ef88dcb68cfd53jerenkrantz $(AP_WORK)/include \
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki $(APR)/include \
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki $(APRUTIL)/include \
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen# These flags will come after CFLAGS
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenXCFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3slive# These defines will come after DEFINES
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3slive# These flags will be added to the link.opt file
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXLFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3slive# These values will be appended to the correct variables based on the value of
b442af56a5e2104663b84fb345c070ce185d4ab3sliveifeq "$(RELEASE)" "debug"
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXINCDIRS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXCFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXLFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveifeq "$(RELEASE)" "noopt"
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXINCDIRS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXCFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXLFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveifeq "$(RELEASE)" "release"
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXINCDIRS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXCFLAGS += \
d2b2fc4caf5c8a9c05d3090269f10a54201ce7c4trawickXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXLFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3slive# These are used by the link target if an NLM is being generated
b442af56a5e2104663b84fb345c070ce185d4ab3slive# This is used by the link 'name' directive to name the nlm. If left blank
b442af56a5e2104663b84fb345c070ce185d4ab3slive# TARGET_nlm (see below) will be used.
455a5f75c9935108a7ac1d50996f404e0553ac17paulNLM_NAME = session
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# This is used by the link '-desc ' directive.
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# If left blank, NLM_NAME will be used.
b1ced323143ade589985456a78f3f64d6a6580c5yoshikiNLM_DESCRIPTION = Apache $(VERSION_STR) Session Module
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen# This is used by the '-threadname' directive. If left blank,
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# NLM_NAME Thread will be used.
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenNLM_THREAD_NAME = Session Module
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# If this is specified, it will override VERSION value in
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen# $(AP_WORK)\build\NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/session.nlm \
$(OBJDIR)/mod_session.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)
vpath %.c ../arch/netware
include $(AP_WORK)\build\NWGNUtail.inc