bf40639e42957133fef54f2f0a322061ac37fe90nd# Make sure all needed macro's are defined
bf40639e42957133fef54f2f0a322061ac37fe90nd# Get the 'head' of the build environment if necessary. This includes default
bf40639e42957133fef54f2f0a322061ac37fe90nd# targets and paths to tools
bf40639e42957133fef54f2f0a322061ac37fe90ndifndef EnvironmentDefined
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
bf40639e42957133fef54f2f0a322061ac37fe90nd# These directories will be at the beginning of the include list, followed by
bf40639e42957133fef54f2f0a322061ac37fe90ndXINCDIRS += \
bf40639e42957133fef54f2f0a322061ac37fe90nd $(APR)/include \
bf40639e42957133fef54f2f0a322061ac37fe90nd $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These flags will come after CFLAGS
bf40639e42957133fef54f2f0a322061ac37fe90ndXCFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These defines will come after DEFINES
bf40639e42957133fef54f2f0a322061ac37fe90ndXDEFINES += \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These flags will be added to the link.opt file
bf40639e42957133fef54f2f0a322061ac37fe90ndXLFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These values will be appended to the correct variables based on the value of
bf40639e42957133fef54f2f0a322061ac37fe90ndifeq "$(RELEASE)" "debug"
bf40639e42957133fef54f2f0a322061ac37fe90ndXINCDIRS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXCFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXDEFINES += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXLFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndifeq "$(RELEASE)" "noopt"
bf40639e42957133fef54f2f0a322061ac37fe90ndXINCDIRS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXCFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXDEFINES += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXLFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndifeq "$(RELEASE)" "release"
bf40639e42957133fef54f2f0a322061ac37fe90ndXINCDIRS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXCFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXDEFINES += \
bf40639e42957133fef54f2f0a322061ac37fe90ndXLFLAGS += \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These are used by the link target if an NLM is being generated
bf40639e42957133fef54f2f0a322061ac37fe90nd# This is used by the link 'name' directive to name the nlm. If left blank
bf40639e42957133fef54f2f0a322061ac37fe90nd# TARGET_nlm (see below) will be used.
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_NAME = accesscompat
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# This is used by the link '-desc ' directive.
bf40639e42957133fef54f2f0a322061ac37fe90nd# If left blank, NLM_NAME will be used.
bf40639e42957133fef54f2f0a322061ac37fe90ndNLM_DESCRIPTION = Apache $(VERSION_STR) host access control compatibility Module
bf40639e42957133fef54f2f0a322061ac37fe90nd# This is used by the '-threadname' directive. If left blank,
bf40639e42957133fef54f2f0a322061ac37fe90nd# NLM_NAME Thread will be used.
bf40639e42957133fef54f2f0a322061ac37fe90ndNLM_THREAD_NAME = AccessCompModule
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified, it will override VERSION value in
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_VERSION =
bf40639e42957133fef54f2f0a322061ac37fe90nd# If this is specified, it will override the default of 64K
bf40639e42957133fef54f2f0a322061ac37fe90ndNLM_STACK_SIZE = 8192
bf40639e42957133fef54f2f0a322061ac37fe90nd# If this is specified it will be used by the link '-entry' directive
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
bf40639e42957133fef54f2f0a322061ac37fe90nd# If this is specified it will be used by the link '-exit' directive
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
bf40639e42957133fef54f2f0a322061ac37fe90nd# If this is specified it will be used by the link '-check' directive
bf40639e42957133fef54f2f0a322061ac37fe90ndNLM_CHECK_SYM =
bf40639e42957133fef54f2f0a322061ac37fe90nd# If these are specified it will be used by the link '-flags' directive
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified it will be linked in with the XDCData option in the def
bf40639e42957133fef54f2f0a322061ac37fe90nd# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
bf40639e42957133fef54f2f0a322061ac37fe90nd# by setting APACHE_UNIPROC in the environment
bf40639e42957133fef54f2f0a322061ac37fe90nd# If there is an NLM target, put it here
bf40639e42957133fef54f2f0a322061ac37fe90ndTARGET_nlm = \
bf40639e42957133fef54f2f0a322061ac37fe90nd# If there is an LIB target, put it here
bf40639e42957133fef54f2f0a322061ac37fe90ndTARGET_lib = \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These are the OBJ files needed to create the NLM target above.
bf40639e42957133fef54f2f0a322061ac37fe90nd# Paths must all use the '/' character
bf40639e42957133fef54f2f0a322061ac37fe90ndFILES_nlm_objs = \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These are the LIB files needed to create the NLM target above.
bf40639e42957133fef54f2f0a322061ac37fe90nd# These will be added as a library command in the link.opt file.
bf40639e42957133fef54f2f0a322061ac37fe90ndFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These are the modules that the above NLM target depends on to load.
bf40639e42957133fef54f2f0a322061ac37fe90nd# These will be added as a module command in the link.opt file.
bf40639e42957133fef54f2f0a322061ac37fe90ndFILES_nlm_modules = \
bf40639e42957133fef54f2f0a322061ac37fe90nd# If the nlm has a msg file, put it's path here
bf40639e42957133fef54f2f0a322061ac37fe90ndFILE_nlm_msg =
bf40639e42957133fef54f2f0a322061ac37fe90nd# If the nlm has a hlp file put it's path here
bf40639e42957133fef54f2f0a322061ac37fe90ndFILE_nlm_hlp =
bf40639e42957133fef54f2f0a322061ac37fe90nd# If this is specified, it will override $(NWOS)\copyright.txt.
bf40639e42957133fef54f2f0a322061ac37fe90ndFILE_nlm_copyright =
bf40639e42957133fef54f2f0a322061ac37fe90nd# Any additional imports go here
bf40639e42957133fef54f2f0a322061ac37fe90ndFILES_nlm_Ximports = \
bf40639e42957133fef54f2f0a322061ac37fe90nd# Any symbols exported to here
bf40639e42957133fef54f2f0a322061ac37fe90ndFILES_nlm_exports = \
bf40639e42957133fef54f2f0a322061ac37fe90nd access_compat_module \
bf40639e42957133fef54f2f0a322061ac37fe90nd# These are the OBJ files needed to create the LIB target above.
bf40639e42957133fef54f2f0a322061ac37fe90nd# Paths must all use the '/' character
bf40639e42957133fef54f2f0a322061ac37fe90ndFILES_lib_objs = \
bf40639e42957133fef54f2f0a322061ac37fe90nd# implement targets and dependancies (leave this section alone)
bf40639e42957133fef54f2f0a322061ac37fe90ndlibs :: $(OBJDIR) $(TARGET_lib)
bf40639e42957133fef54f2f0a322061ac37fe90ndnlms :: libs $(TARGET_nlm)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
bf40639e42957133fef54f2f0a322061ac37fe90ndinstall :: nlms FORCE
bf40639e42957133fef54f2f0a322061ac37fe90nd# Any specialized rules here
bf40639e42957133fef54f2f0a322061ac37fe90nd# Include the 'tail' makefile that has targets that depend on variables defined
bf40639e42957133fef54f2f0a322061ac37fe90nd# in this makefile
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc