NWGNUvhost revision 0662ed52e814f8f08ef0e09956413a792584eddf
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# Make sure all needed macro's are defined
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# Get the 'head' of the build environment if necessary. This includes default
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# targets and paths to tools
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiifndef EnvironmentDefined
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiinclude $(AP_WORK)/build/NWGNUhead.inc
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# These directories will be at the beginning of the include list, followed by
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXINCDIRS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi $(APR)/include \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi $(APRUTIL)/include \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi $(AP_WORK)/include \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# These flags will come after CFLAGS
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXCFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# These defines will come after DEFINES
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXDEFINES += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# These flags will be added to the link.opt file
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXLFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# These values will be appended to the correct variables based on the value of
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiifeq "$(RELEASE)" "debug"
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXINCDIRS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXCFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXDEFINES += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXLFLAGS += \
99cef7b4ddb1c9b2a05ea664fc04dcc83a63e8benilgunifeq "$(RELEASE)" "noopt"
99cef7b4ddb1c9b2a05ea664fc04dcc83a63e8benilgunXINCDIRS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXCFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXDEFINES += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXLFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiifeq "$(RELEASE)" "release"
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXINCDIRS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXCFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXDEFINES += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiXLFLAGS += \
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# These are used by the link target if an NLM is being generated
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# This is used by the link 'name' directive to name the nlm. If left blank
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# TARGET_nlm (see below) will be used.
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiNLM_NAME = vhost
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# This is used by the link '-desc ' directive.
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashi# If left blank, NLM_NAME will be used.
c8015dcc4e7280b5b55144555bb0b734d37fdcc6takashiNLM_DESCRIPTION = Apache $(VERSION_STR) Vhost Alias Module
# $(AP_WORK)/build/NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/vhost.nlm \
$(OBJDIR)/mod_vhost_alias.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 $(APBUILD)/NWGNUtail.inc