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
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(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 += \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APR)/include \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(STDMOD)/http \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(NWOS) \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These flags will come after CFLAGS
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXCFLAGS += \
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 += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesendif
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesifeq "$(RELEASE)" "noopt"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXINCDIRS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXCFLAGS += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXDEFINES += \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(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#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_NAME = proxyhtp
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# 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#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified, it will override VERSION value in
0662ed52e814f8f08ef0e09956413a792584eddffuankg# $(AP_WORK)/build/NWGNUenvironment.inc
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_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#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If this is specified it will be used by the link '-exit' directive
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
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#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_FLAGS =
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# 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#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgXDCDATA =
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 = \
bf1e7c075ccc3e6597d17de7641332ff6ff92e8astriker $(OBJDIR)/mod_proxy_http.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 = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
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 =
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
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 = \
8ffac2c334103c0336602aaede650cb578611151fuankg @aprlib.imp \
8ffac2c334103c0336602aaede650cb578611151fuankg @httpd.imp \
0cb770e9049c8e85ede0bbe3d47904785b15f868fuankg @$(OBJDIR)/mod_proxy.imp \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes @libc.imp \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
609ef720afd62ca63391c9fdb415cd2faf29aa46bnicholes# Don't link with Winsock if standard sockets are being used
609ef720afd62ca63391c9fdb415cd2faf29aa46bnicholesifndef USE_STDSOCKETS
609ef720afd62ca63391c9fdb415cd2faf29aa46bnicholesFILES_nlm_Ximports += @ws2nlm.imp \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
609ef720afd62ca63391c9fdb415cd2faf29aa46bnicholesendif
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Any symbols exported to here
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_nlm_exports = \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes proxy_http_module \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# These are the OBJ files needed to create the LIB target above.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Paths must all use the '/' character
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesFILES_lib_objs = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(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#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# 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
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg