NWGNUproxyhtp revision 8410c53aaf5e0372a19d5f4d2bc696b9c609ce3c
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Make sure all needed macro's are defined
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Get the 'head' of the build environment if necessary. This includes default
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# targets and paths to tools
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesifndef EnvironmentDefined
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinclude $(AP_WORK)\build\NWGNUhead.inc
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesendif
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These directories will be at the beginning of the include list, followed by
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# INCDIRS
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXINCDIRS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(AP_WORK)/include \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(NWOS) \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(AP_WORK)/modules/http \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(AP_WORK)/modules/arch/netware \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(AP_WORK)/srclib/apr/include \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(AP_WORK)/srclib/apr-util/include \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(AP_WORK)/srclib/apr \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These flags will come after CFLAGS
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXCFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes -prefix pre_nw.h \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These defines will come after DEFINES
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXDEFINES += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These flags will be added to the link.opt file
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXLFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These values will be appended to the correct variables based on the value of
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# RELEASE
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesifeq "$(RELEASE)" "debug"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXINCDIRS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXCFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXDEFINES += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXLFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesendif
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesifeq "$(RELEASE)" "noopt"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXINCDIRS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXCFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXDEFINES += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXLFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesendif
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesifeq "$(RELEASE)" "release"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXINCDIRS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXCFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXDEFINES += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXLFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesendif
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These are used by the link target if an NLM is being generated
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# This is used by the link 'name' directive to name the nlm. If left blank
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# TARGET_nlm (see below) will be used.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_NAME = proxyhtp
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# This is used by the link '-desc ' directive.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If left blank, NLM_NAME will be used.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
0a39e7683f6611d66c55712f50bb240428d832a1bnicholesNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy HTTP Sub-Module
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# This is used by the '-threadname' directive. If left blank,
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# NLM_NAME Thread will be used.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_THREAD_NAME = Proxy HTTP Module
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified, it will override VERSION value in
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# $(AP_WORK)\build\NWGNUenvironment.inc
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_VERSION =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified, it will override the default of 64K
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_STACK_SIZE = 8192
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified it will be used by the link '-entry' directive
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_ENTRY_SYM = _LibCPrelude
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified it will be used by the link '-exit' directive
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_EXIT_SYM = _LibCPostlude
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified it will be used by the link '-check' directive
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_CHECK_SYM =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If these are specified it will be used by the link '-flags' directive
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified it will be linked in with the XDCData option in the def
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# by setting APACHE_UNIPROC in the environment
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXDCDATA =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If there is an NLM target, put it here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesTARGET_nlm = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/proxyhtp.nlm \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If there is an LIB target, put it here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesTARGET_lib = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These are the OBJ files needed to create the NLM target above.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Paths must all use the '/' character
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_nlm_objs = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/proxy_http.o \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/proxy_util.o \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/libprews.o \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These are the LIB files needed to create the NLM target above.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These will be added as a library command in the link.opt file.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_nlm_libs = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes libcpre.o \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These are the modules that the above NLM target depends on to load.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These will be added as a module command in the link.opt file.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_nlm_modules = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes aprlib \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes libc \
9046ab142ed19505e034af0afb8c15be512b8526bnicholes proxy \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If the nlm has a msg file, put it's path here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILE_nlm_msg =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If the nlm has a hlp file put it's path here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILE_nlm_hlp =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILE_nlm_copyright =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Any additional imports go here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_nlm_Ximports = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes @$(APR)/aprlib.imp \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes @$(NWOS)/httpd.imp \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes @libc.imp \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes @ws2nlm.imp \
e75db68cd3a838dfe6de1553907416c3834ebb40bnicholes proxy_module \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes proxy_hook_scheme_handler \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes proxy_hook_canon_handler \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes proxy_run_fixups \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes ap_proxy_ssl_enable \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes ap_proxy_ssl_disable \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Any symbols exported to here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_nlm_exports = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes proxy_http_module \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These are the OBJ files needed to create the LIB target above.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Paths must all use the '/' character
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_lib_objs = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# implement targets and dependancies (leave this section alone)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholeslibs :: $(OBJDIR) $(TARGET_lib)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesnlms :: libs $(TARGET_nlm)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Updated this target to create necessary directories and copy files to the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinstall :: nlms FORCE
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Any specialized rules here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
8410c53aaf5e0372a19d5f4d2bc696b9c609ce3cbnicholesvpath %.c ../arch/netware
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Include the 'tail' makefile that has targets that depend on variables defined
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# in this makefile
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinclude $(AP_WORK)\build\NWGNUtail.inc
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes