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