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