NWGNUopthookimport revision 16b55a35cff91315d261d1baa776138af465c4e4
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Declare the sub-directories to be built here
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Get the 'head' of the build environment. This includes default targets and
c366016ffe1788c6847d0a967a954713725cab5evboxsync# paths to tools
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinclude $(AP_WORK)\build\NWGNUhead.inc
c366016ffe1788c6847d0a967a954713725cab5evboxsync# build this level's files
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Make sure all needed macro's are defined
c366016ffe1788c6847d0a967a954713725cab5evboxsync# These directories will be at the beginning of the include list, followed by
c366016ffe1788c6847d0a967a954713725cab5evboxsyncXINCDIRS += \
c366016ffe1788c6847d0a967a954713725cab5evboxsync $(APR)/include \
c366016ffe1788c6847d0a967a954713725cab5evboxsync $(APRUTIL)/include \
c366016ffe1788c6847d0a967a954713725cab5evboxsync $(AP_WORK)/include \
c366016ffe1788c6847d0a967a954713725cab5evboxsync# These flags will come after CFLAGS
c366016ffe1788c6847d0a967a954713725cab5evboxsyncXCFLAGS += \
36ebaddfec017eee7e82ee466c25de002cdc4231vboxsync# These defines will come after DEFINES
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXDEFINES += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# These flags will be added to the link.opt file
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXLFLAGS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# These values will be appended to the correct variables based on the value of
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncifeq "$(RELEASE)" "debug"
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXINCDIRS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXCFLAGS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXDEFINES += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXLFLAGS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncifeq "$(RELEASE)" "noopt"
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXINCDIRS += \
b6cc138b99f86c2d29ecfe32cecf9f68ba5e73afvboxsyncXCFLAGS += \
0e5731ab59b4ecead38375f26eeea698f00b19fdvboxsyncXDEFINES += \
a7aa94e0115a73841f34ebbfa00f63fa1904e51fvboxsyncXLFLAGS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncifeq "$(RELEASE)" "release"
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXINCDIRS += \
76326dd9df821e926bfda3ca9193f7736b42f6fdvboxsyncXCFLAGS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXDEFINES += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncXLFLAGS += \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# These are used by the link target if an NLM is being generated
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# This is used by the link 'name' directive to name the nlm. If left blank
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# TARGET_nlm (see below) will be used.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_NAME = opthookimport
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# This is used by the link '-desc ' directive.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If left blank, NLM_NAME will be used.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_DESCRIPTION = Apache $(VERSION_STR) OptionalHook Import Module
9c88dfe29cb5a5dcf70e84c706b9fc57bb309819vboxsync# This is used by the '-threadname' directive. If left blank,
9c88dfe29cb5a5dcf70e84c706b9fc57bb309819vboxsync# NLM_NAME Thread will be used.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_THREAD_NAME = $(NLM_NAME) Module
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If this is specified, it will override VERSION value in
a4b6bc5445b0e3d9bda9db76ac953b2542fd0a28vboxsync# $(AP_WORK)\build\NWGNUenvironment.inc
a4b6bc5445b0e3d9bda9db76ac953b2542fd0a28vboxsyncNLM_VERSION =
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If this is specified, it will override the default of 64K
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_STACK_SIZE = 8192
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If this is specified it will be used by the link '-entry' directive
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_ENTRY_SYM = _LibCPrelude
71260b693f7947f10b16e8822c362b66ff6864d4vboxsync# If this is specified it will be used by the link '-exit' directive
71260b693f7947f10b16e8822c362b66ff6864d4vboxsyncNLM_EXIT_SYM = _LibCPostlude
cd7a8c034836a94a0c4f0adf9764f9ed661cdd01vboxsync# If this is specified it will be used by the link '-check' directive
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_CHECK_SYM =
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If these are specified it will be used by the link '-flags' directive
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If this is specified it will be linked in with the XDCData option in the def
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# by setting APACHE_UNIPROC in the environment
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If there is an NLM target, put it here
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncTARGET_nlm = \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync $(OBJDIR)/$(NLM_NAME).nlm \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# If there is an LIB target, put it here
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncTARGET_lib = \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# These are the OBJ files needed to create the NLM target above.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# Paths must all use the '/' character
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncFILES_nlm_objs = \
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# These are the LIB files needed to create the NLM target above.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc