NWGNUuserdir revision 8ffac2c334103c0336602aaede650cb578611151
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# Make sure all needed macro's are defined
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# Get the 'head' of the build environment if necessary. This includes default
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# targets and paths to tools
cb5caa98562cf06753163f558cbcfe30b8f4673adjlifndef EnvironmentDefined
cb5caa98562cf06753163f558cbcfe30b8f4673adjlinclude $(AP_WORK)/build/NWGNUhead.inc
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# These directories will be at the beginning of the include list, followed by
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXINCDIRS += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl $(APR)/include \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl $(APRUTIL)/include \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl $(AP_WORK)/include \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# These flags will come after CFLAGS
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXCFLAGS += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# These defines will come after DEFINES
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXDEFINES += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# These flags will be added to the link.opt file
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXLFLAGS += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michen# These values will be appended to the correct variables based on the value of
18bdb8a7484e018149ac9a2766c97bdea9752c87michenifeq "$(RELEASE)" "debug"
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXINCDIRS += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXCFLAGS += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXDEFINES += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXLFLAGS += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michenifeq "$(RELEASE)" "noopt"
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXINCDIRS += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXCFLAGS += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXDEFINES += \
18bdb8a7484e018149ac9a2766c97bdea9752c87michenXLFLAGS += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjlifeq "$(RELEASE)" "release"
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXINCDIRS += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXCFLAGS += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXDEFINES += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjlXLFLAGS += \
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# These are used by the link target if an NLM is being generated
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# This is used by the link 'name' directive to name the nlm. If left blank
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# TARGET_nlm (see below) will be used.
cb5caa98562cf06753163f558cbcfe30b8f4673adjlNLM_NAME = userdir
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# This is used by the link '-desc ' directive.
cb5caa98562cf06753163f558cbcfe30b8f4673adjl# If left blank, NLM_NAME will be used.
cb5caa98562cf06753163f558cbcfe30b8f4673adjlNLM_DESCRIPTION = Apache $(VERSION_STR) User Dir Module
# $(AP_WORK)/build/NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/userdir.nlm \
$(OBJDIR)/mod_userdir.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.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc