bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUBDIRS = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Get the 'head' of the build environment. This includes default targets and
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# paths to tools
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# build this level's files
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Make sure all needed macro's are defined
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These directories will be at the beginning of the include list, followed by
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# INCDIRS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These flags will come after CFLAGS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These defines will come after DEFINES
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These flags will be added to the link.opt file
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These values will be appended to the correct variables based on the value of
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# RELEASE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "debug"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "noopt"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "release"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are used by the link target if an NLM is being generated
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# TARGET_nlm (see below) will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_NAME =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# This is used by the link '-desc ' directive.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If left blank, NLM_NAME will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_DESCRIPTION =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is used by the '-threadname' directive. If left blank,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# NLM_NAME Thread will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_THREAD_NAME =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified, it will override VERSION value in
0662ed52e814f8f08ef0e09956413a792584eddffuankg# $(AP_WORK)/build/NWGNUenvironment.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_VERSION =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified, it will override the default of 64K
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_STACK_SIZE =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-entry' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_ENTRY_SYM =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-exit' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesNLM_EXIT_SYM =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-check' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_CHECK_SYM =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If these are specified it will be used by the link '-flags' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_FLAGS =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified it will be linked in with the XDCData option in the def
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# by setting APACHE_UNIPROC in the environment
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgXDCDATA =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If there is an NLM target, put it here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARGET_nlm = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/proxy.nlm \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/proxycon.nlm \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/proxyftp.nlm \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(OBJDIR)/proxyhtp.nlm \
9b2bd54c98edb185a3985410367754ab33217362bnicholes $(OBJDIR)/proxybalancer.nlm \
bdcbf81429c581d9d1d0c7cb11634a78e424c140bnicholes $(OBJDIR)/proxyajp.nlm \
c244b2fefa3a2df19af6aecd550d6784b88e5ff0fuankg $(OBJDIR)/proxyfcgi.nlm \
0c04407550130c0ea040b5675f2c214426b27718fuankg $(OBJDIR)/proxyscgi.nlm \
b40d4afa431b31f3ac966f1b539e589c79a06512fuankg $(OBJDIR)/proxyexpress.nlm \
b40d4afa431b31f3ac966f1b539e589c79a06512fuankg $(OBJDIR)/proxylbm_busy.nlm \
b40d4afa431b31f3ac966f1b539e589c79a06512fuankg $(OBJDIR)/proxylbm_hb.nlm \
b40d4afa431b31f3ac966f1b539e589c79a06512fuankg $(OBJDIR)/proxylbm_req.nlm \
b40d4afa431b31f3ac966f1b539e589c79a06512fuankg $(OBJDIR)/proxylbm_traf.nlm \
22113c8c3df7711e429a945aa7f45f2c8e227162fuankg $(OBJDIR)/proxywstunnel.nlm \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg# If WITH_SERF and SERFSRC have been defined then build the mod_serf module
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankgifdef WITH_SERF
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankgifneq "$(SERFSRC)" ""
419406514a930bced8a06028e38dbf2b84c9e8edfuankgifneq "$(ZLIBSDK)" ""
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankgTARGET_nlm += \
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankg $(OBJDIR)/serf.nlm \
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankg $(EOLIST)
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankgendif
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankgendif
419406514a930bced8a06028e38dbf2b84c9e8edfuankgendif
5660534a0c83c16ca89cf5aa970b6668d44723fcfuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If there is an LIB target, put it here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARGET_lib = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the OBJ files needed to create the NLM target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Paths must all use the '/' character
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_objs = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the LIB files needed to create the NLM target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These will be added as a library command in the link.opt file.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_libs = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the modules that the above NLM target depends on to load.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These will be added as a module command in the link.opt file.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_modules = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If the nlm has a msg file, put it's path here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILE_nlm_msg =
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If the nlm has a hlp file put it's path here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILE_nlm_hlp =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILE_nlm_copyright =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any additional imports go here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_Ximports = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any symbols exported to here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_exports = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the OBJ files needed to create the LIB target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Paths must all use the '/' character
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_lib_objs = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# implement targets and dependancies (leave this section alone)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholeslibs :: $(OBJDIR) $(TARGET_lib)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesnlms :: libs $(TARGET_nlm)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall :: nlms FORCE
00d1c0c914426a97022d8205a875c48b211001c2fuankg $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any specialized rules here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include the 'tail' makefile that has targets that depend on variables defined
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# in this makefile
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg