NWGNUopthookimport revision ff7e89a077d93c243bd8261cf3c72b13732ab5b4
1516N/A#
539N/A# Declare the sub-directories to be built here
539N/A#
539N/A
539N/ASUBDIRS = \
539N/A $(EOLIST)
539N/A
539N/A#
539N/A# Get the 'head' of the build environment. This includes default targets and
539N/A# paths to tools
539N/A#
539N/A
539N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
539N/A
539N/A#
539N/A# build this level's files
539N/A
539N/A#
539N/A# Make sure all needed macro's are defined
539N/A#
539N/A
539N/A#
926N/A# These directories will be at the beginning of the include list, followed by
1889N/A# INCDIRS
926N/A#
539N/AXINCDIRS += \
539N/A $(AP_WORK)/include \
539N/A $(NWOS) \
539N/A $(AP_WORK)/modules/arch/netware \
1715N/A $(APR)/include \
539N/A $(APRUTIL)/include \
732N/A $(APR) \
539N/A $(EOLIST)
539N/A
539N/A#
539N/A# These flags will come after CFLAGS
1895N/A#
1715N/AXCFLAGS += \
539N/A $(EOLIST)
1715N/A
539N/A#
539N/A# These defines will come after DEFINES
539N/A#
539N/AXDEFINES += \
539N/A $(EOLIST)
716N/A
716N/A#
716N/A# These flags will be added to the link.opt file
716N/A#
716N/AXLFLAGS += \
716N/A $(EOLIST)
716N/A
716N/A#
716N/A# These values will be appended to the correct variables based on the value of
539N/A# RELEASE
1715N/A#
539N/Aifeq "$(RELEASE)" "debug"
1895N/AXINCDIRS += \
1895N/A $(EOLIST)
539N/A
539N/AXCFLAGS += \
539N/A $(EOLIST)
539N/A
539N/AXDEFINES += \
2028N/A $(EOLIST)
1895N/A
539N/AXLFLAGS += \
1895N/A $(EOLIST)
539N/Aendif
539N/A
539N/Aifeq "$(RELEASE)" "noopt"
539N/AXINCDIRS += \
539N/A $(EOLIST)
539N/A
539N/AXCFLAGS += \
539N/A $(EOLIST)
1889N/A
1889N/AXDEFINES += \
1889N/A $(EOLIST)
1889N/A
539N/AXLFLAGS += \
539N/A $(EOLIST)
539N/Aendif
539N/A
539N/Aifeq "$(RELEASE)" "release"
539N/AXINCDIRS += \
539N/A $(EOLIST)
1895N/A
539N/AXCFLAGS += \
1505N/A $(EOLIST)
1505N/A
1889N/AXDEFINES += \
1895N/A $(EOLIST)
1889N/A
1895N/AXLFLAGS += \
1895N/A $(EOLIST)
1505N/Aendif
1505N/A
539N/A#
539N/A# These are used by the link target if an NLM is being generated
539N/A# This is used by the link 'name' directive to name the nlm. If left blank
539N/A# TARGET_nlm (see below) will be used.
539N/A#
539N/ANLM_NAME = opthookimport
926N/A
926N/A#
926N/A# This is used by the link '-desc ' directive.
926N/A# If left blank, NLM_NAME will be used.
539N/A#
539N/ANLM_DESCRIPTION = Apache $(VERSION_STR) OptionalHook Import Module
539N/A
1505N/A#
1505N/A# This is used by the '-threadname' directive. If left blank,
539N/A# NLM_NAME Thread will be used.
539N/A#
539N/ANLM_THREAD_NAME = $(NLM_NAME) Module
539N/A
539N/A#
539N/A# If this is specified, it will override VERSION value in
539N/A# $(AP_WORK)\build\NWGNUenvironment.inc
539N/A#
539N/ANLM_VERSION =
565N/A
565N/A#
565N/A# If this is specified, it will override the default of 64K
539N/A#
539N/ANLM_STACK_SIZE = 8192
539N/A
539N/A
1505N/A#
539N/A# If this is specified it will be used by the link '-entry' directive
565N/A#
565N/ANLM_ENTRY_SYM = _LibCPrelude
565N/A
539N/A#
539N/A# If this is specified it will be used by the link '-exit' directive
539N/A#
539N/ANLM_EXIT_SYM = _LibCPostlude
539N/A
539N/A#
539N/A# If this is specified it will be used by the link '-check' directive
539N/A#
539N/ANLM_CHECK_SYM =
539N/A
539N/A#
539N/A# If these are specified it will be used by the link '-flags' directive
996N/A#
716N/ANLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
716N/A
716N/A#
716N/A# If this is specified it will be linked in with the XDCData option in the def
716N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
716N/A# by setting APACHE_UNIPROC in the environment
716N/A#
716N/AXDCDATA =
716N/A
716N/A#
716N/A# If there is an NLM target, put it here
716N/A#
716N/ATARGET_nlm = \
716N/A $(OBJDIR)/$(NLM_NAME).nlm \
716N/A $(EOLIST)
996N/A
1102N/A#
716N/A# If there is an LIB target, put it here
732N/A#
716N/ATARGET_lib = \
716N/A $(EOLIST)
716N/A
1895N/A#
1895N/A# These are the OBJ files needed to create the NLM target above.
1895N/A# Paths must all use the '/' character
996N/A#
716N/AFILES_nlm_objs = \
716N/A $(OBJDIR)/mod_optional_hook_import.o \
1895N/A $(EOLIST)
996N/A
716N/A#
716N/A# These are the LIB files needed to create the NLM target above.
716N/A# These will be added as a library command in the link.opt file.
716N/A#
716N/AFILES_nlm_libs = \
716N/A libcpre.o \
716N/A $(EOLIST)
716N/A
716N/A#
716N/A# These are the modules that the above NLM target depends on to load.
996N/A# These will be added as a module command in the link.opt file.
1102N/A#
716N/AFILES_nlm_modules = \
732N/A aprlib \
732N/A libc \
732N/A $(EOLIST)
732N/A
732N/A#
732N/A# If the nlm has a msg file, put it's path here
732N/A#
732N/AFILE_nlm_msg =
732N/A
732N/A#
732N/A# If the nlm has a hlp file put it's path here
732N/A#
732N/AFILE_nlm_hlp =
732N/A
732N/A#
732N/A# If this is specified, it will override $(NWOS)\copyright.txt.
732N/A#
732N/AFILE_nlm_copyright =
732N/A
732N/A#
732N/A# Any additional imports go here
732N/A#
732N/AFILES_nlm_Ximports = \
732N/A @$(APR)/aprlib.imp \
732N/A @$(NWOS)/httpd.imp \
732N/A @libc.imp \
732N/A $(EOLIST)
732N/A
732N/A#
732N/A# Any symbols exported to here
732N/A#
732N/AFILES_nlm_exports = \
1102N/A optional_hook_import_module \
1102N/A $(EOLIST)
1102N/A
1102N/A#
1102N/A# These are the OBJ files needed to create the LIB target above.
1102N/A# Paths must all use the '/' character
1102N/A#
1102N/AFILES_lib_objs = \
1102N/A $(EOLIST)
1102N/A
1102N/A#
1102N/A# implement targets and dependancies (leave this section alone)
1102N/A#
1102N/A
1102N/Alibs :: $(OBJDIR) $(TARGET_lib)
1102N/A
1102N/Anlms :: libs $(TARGET_nlm)
1102N/A
1102N/A#
1102N/A# Updated this target to create necessary directories and copy files to the
1102N/A# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
1102N/A#
1102N/Ainstall :: nlms FORCE
1102N/A
1102N/A#
1102N/A# Any specialized rules here
1102N/A#
1102N/A
1102N/A#
1102N/A# Include the 'tail' makefile that has targets that depend on variables defined
1102N/A# in this makefile
1102N/A#
1102N/A
1102N/Ainclude $(AP_WORK)\build\NWGNUtail.inc
1102N/A
1102N/A
1102N/A