NWGNUspeling revision 8ffac2c334103c0336602aaede650cb578611151
70N/A#
70N/A# Make sure all needed macro's are defined
286N/A#
70N/A
70N/A#
70N/A# Get the 'head' of the build environment if necessary. This includes default
70N/A# targets and paths to tools
70N/A#
70N/A
70N/Aifndef EnvironmentDefined
70N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
70N/Aendif
70N/A
70N/A#
70N/A# These directories will be at the beginning of the include list, followed by
70N/A# INCDIRS
70N/A#
70N/AXINCDIRS += \
70N/A $(APR)/include \
70N/A $(APRUTIL)/include \
70N/A $(AP_WORK)/include \
70N/A $(NWOS) \
70N/A $(EOLIST)
70N/A
70N/A#
70N/A# These flags will come after CFLAGS
70N/A#
70N/AXCFLAGS += \
70N/A $(EOLIST)
70N/A
530N/A#
70N/A# These defines will come after DEFINES
70N/A#
70N/AXDEFINES += \
359N/A $(EOLIST)
359N/A
359N/A#
98N/A# These flags will be added to the link.opt file
321N/A#
493N/AXLFLAGS += \
321N/A $(EOLIST)
213N/A
304N/A#
530N/A# These values will be appended to the correct variables based on the value of
425N/A# RELEASE
425N/A#
325N/Aifeq "$(RELEASE)" "debug"
493N/AXINCDIRS += \
456N/A $(EOLIST)
320N/A
332N/AXCFLAGS += \
501N/A $(EOLIST)
231N/A
523N/AXDEFINES += \
98N/A $(EOLIST)
347N/A
525N/AXLFLAGS += \
463N/A $(EOLIST)
493N/Aendif
425N/A
493N/Aifeq "$(RELEASE)" "noopt"
472N/AXINCDIRS += \
324N/A $(EOLIST)
347N/A
310N/AXCFLAGS += \
316N/A $(EOLIST)
474N/A
290N/AXDEFINES += \
332N/A $(EOLIST)
464N/A
332N/AXLFLAGS += \
509N/A $(EOLIST)
332N/Aendif
210N/A
493N/Aifeq "$(RELEASE)" "release"
128N/AXINCDIRS += \
414N/A $(EOLIST)
484N/A
326N/AXCFLAGS += \
493N/A $(EOLIST)
335N/A
493N/AXDEFINES += \
493N/A $(EOLIST)
425N/A
370N/AXLFLAGS += \
70N/A $(EOLIST)
400N/Aendif
294N/A
435N/A#
98N/A# These are used by the link target if an NLM is being generated
434N/A# This is used by the link 'name' directive to name the nlm. If left blank
505N/A# TARGET_nlm (see below) will be used.
277N/A#
433N/ANLM_NAME = speling
356N/A
289N/A#
326N/A# This is used by the link '-desc ' directive.
439N/A# If left blank, NLM_NAME will be used.
501N/A#
469N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Speling Module
290N/A
424N/A#
286N/A# This is used by the '-threadname' directive. If left blank,
90N/A# NLM_NAME Thread will be used.
475N/A#
295N/ANLM_THREAD_NAME = Speling Module
70N/A
299N/A#
262N/A# If this is specified, it will override VERSION value in
455N/A# $(AP_WORK)/build/NWGNUenvironment.inc
277N/A#
332N/ANLM_VERSION =
332N/A
493N/A#
70N/A# If this is specified, it will override the default of 64K
70N/A#
319N/ANLM_STACK_SIZE = 8192
280N/A
319N/A
359N/A#
493N/A# If this is specified it will be used by the link '-entry' directive
70N/A#
98N/ANLM_ENTRY_SYM =
98N/A
414N/A#
98N/A# If this is specified it will be used by the link '-exit' directive
493N/A#
493N/ANLM_EXIT_SYM =
70N/A
493N/A#
493N/A# If this is specified it will be used by the link '-check' directive
493N/A#
NLM_CHECK_SYM =
#
# If these are specified it will be used by the link '-flags' directive
#
NLM_FLAGS =
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
# by setting APACHE_UNIPROC in the environment
#
XDCDATA =
#
# If there is an NLM target, put it here
#
TARGET_nlm = \
$(OBJDIR)/speling.nlm \
$(EOLIST)
#
# If there is an LIB target, put it here
#
TARGET_lib = \
$(EOLIST)
#
# These are the OBJ files needed to create the NLM target above.
# Paths must all use the '/' character
#
FILES_nlm_objs = \
$(OBJDIR)/mod_speling.o \
$(EOLIST)
#
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the link.opt file.
#
FILES_nlm_libs = \
libcpre.o \
$(EOLIST)
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
#
FILES_nlm_modules = \
aprlib \
libc \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
@aprlib.imp \
@httpd.imp \
@libc.imp \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
speling_module \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc