NWGNUaccesscompat revision 8ffac2c334103c0336602aaede650cb578611151
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# Make sure all needed macro's are defined
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# Get the 'head' of the build environment if necessary. This includes default
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# targets and paths to tools
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignacifndef EnvironmentDefined
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# These directories will be at the beginning of the include list, followed by
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignacXINCDIRS += \
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift $(APR)/include \
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift $(APRUTIL)/include \
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift $(AP_WORK)/include \
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift# These flags will come after CFLAGS
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# These defines will come after DEFINES
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# These flags will be added to the link.opt file
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# These values will be appended to the correct variables based on the value of
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swiftifeq "$(RELEASE)" "debug"
f7ba034442e9e01ccc690966ce4135d909477f3dmatthew_swiftifeq "$(RELEASE)" "noopt"
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftifeq "$(RELEASE)" "release"
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# These are used by the link target if an NLM is being generated
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# This is used by the link 'name' directive to name the nlm. If left blank
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# TARGET_nlm (see below) will be used.
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_NAME = accesscompat
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# This is used by the link '-desc ' directive.
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If left blank, NLM_NAME will be used.
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_DESCRIPTION = Apache $(VERSION_STR) host access control compatibility Module
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# This is used by the '-threadname' directive. If left blank,
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# NLM_NAME Thread will be used.
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_THREAD_NAME = AccessCompModule
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If this is specified, it will override VERSION value in
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If this is specified, it will override the default of 64K
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_STACK_SIZE = 8192
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If this is specified it will be used by the link '-entry' directive
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_ENTRY_SYM =
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If this is specified it will be used by the link '-exit' directive
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_EXIT_SYM =
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If this is specified it will be used by the link '-check' directive
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftNLM_CHECK_SYM =
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If these are specified it will be used by the link '-flags' directive
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If this is specified it will be linked in with the XDCData option in the def
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# by setting APACHE_UNIPROC in the environment
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If there is an NLM target, put it here
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftTARGET_nlm = \
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# If there is an LIB target, put it here
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftTARGET_lib = \
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# These are the OBJ files needed to create the NLM target above.
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# Paths must all use the '/' character
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILES_nlm_objs = \
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# These are the LIB files needed to create the NLM target above.
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# These will be added as a library command in the link.opt file.
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILES_nlm_libs = \
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# These are the modules that the above NLM target depends on to load.
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# These will be added as a module command in the link.opt file.
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILES_nlm_modules = \
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# If the nlm has a msg file, put it's path here
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILE_nlm_msg =
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# If the nlm has a hlp file put it's path here
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILE_nlm_hlp =
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# If this is specified, it will override $(NWOS)\copyright.txt.
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILE_nlm_copyright =
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swift# Any additional imports go here
abb16d70d9d4b5daf29b49db1e78676d4609276amatthew_swiftFILES_nlm_Ximports = \
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# Any symbols exported to here
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftFILES_nlm_exports = \
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift access_compat_module \
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# These are the OBJ files needed to create the LIB target above.
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# Paths must all use the '/' character
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftFILES_lib_objs = \
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# implement targets and dependancies (leave this section alone)
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftlibs :: $(OBJDIR) $(TARGET_lib)
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftnlms :: libs $(TARGET_nlm)
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# Updated this target to create necessary directories and copy files to the
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
00ec8ac9899a0448c2411e25103e916fea6a3cccmatthew_swiftinstall :: nlms FORCE
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swift# Any specialized rules here
00ec8ac9899a0448c2411e25103e916fea6a3cccmatthew_swift# Include the 'tail' makefile that has targets that depend on variables defined
00ec8ac9899a0448c2411e25103e916fea6a3cccmatthew_swift# in this makefile
a81dd68da66857d0a32e4a9ca4060b64ec51318fmatthew_swiftinclude $(APBUILD)/NWGNUtail.inc