NWGNUmodsed revision 44f575c8cb19a7a5cd61664a7848be6bc197df02
70N/A#
70N/A# Declare the sub-directories to be built here
286N/A#
70N/A
70N/ASUBDIRS = \
70N/A $(EOLIST)
70N/A
70N/A#
70N/A# Get the 'head' of the build environment. This includes default targets and
70N/A# paths to tools
70N/A#
70N/A
70N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
70N/A
70N/A#
70N/A# build this level's files
70N/A
70N/A#
70N/A# Make sure all needed macro's are defined
70N/A#
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 $(SRC)/include \
70N/A $(NWOS) \
433N/A $(EOLIST)
70N/A
70N/A#
70N/A# These flags will come after CFLAGS
359N/A#
359N/AXCFLAGS += \
359N/A $(EOLIST)
98N/A
321N/A#
321N/A# These defines will come after DEFINES
213N/A#
304N/AXDEFINES += \
425N/A $(EOLIST)
425N/A
325N/A#
320N/A# These flags will be added to the link.opt file
332N/A#
231N/AXLFLAGS += \
98N/A $(EOLIST)
347N/A
346N/A#
425N/A# These values will be appended to the correct variables based on the value of
324N/A# RELEASE
347N/A#
310N/Aifeq "$(RELEASE)" "debug"
316N/AXINCDIRS += \
290N/A $(EOLIST)
332N/A
332N/AXCFLAGS += \
332N/A $(EOLIST)
210N/A
128N/AXDEFINES += \
414N/A $(EOLIST)
326N/A
335N/AXLFLAGS += \
425N/A $(EOLIST)
370N/Aendif
70N/A
400N/Aifeq "$(RELEASE)" "noopt"
294N/AXINCDIRS += \
98N/A $(EOLIST)
277N/A
433N/AXCFLAGS += \
356N/A $(EOLIST)
289N/A
326N/AXDEFINES += \
290N/A $(EOLIST)
424N/A
286N/AXLFLAGS += \
90N/A $(EOLIST)
295N/Aendif
70N/A
299N/Aifeq "$(RELEASE)" "release"
262N/AXINCDIRS += \
277N/A $(EOLIST)
332N/A
332N/AXCFLAGS += \
70N/A $(EOLIST)
70N/A
319N/AXDEFINES += \
280N/A $(EOLIST)
319N/A
359N/AXLFLAGS += \
418N/A $(EOLIST)
418N/Aendif
70N/A
98N/A#
98N/A# These are used by the link target if an NLM is being generated
414N/A# This is used by the link 'name' directive to name the nlm. If left blank
98N/A# TARGET_nlm (see below) will be used.
156N/A#
156N/ANLM_NAME = modsed
98N/A
70N/A#
70N/A# This is used by the link '-desc ' directive.
70N/A# If left blank, NLM_NAME will be used.
70N/A#
70N/ANLM_DESCRIPTION = Apache $(VERSION_STR) SED Module
70N/A
70N/A#
70N/A# This is used by the '-threadname' directive. If left blank,
70N/A# NLM_NAME Thread will be used.
70N/A#
70N/ANLM_THREAD_NAME = modsed Module
70N/A
70N/A#
70N/A# If this is specified, it will override VERSION value in
380N/A# $(AP_WORK)/build/NWGNUenvironment.inc
380N/A#
380N/ANLM_VERSION =
70N/A
70N/A#
70N/A# If this is specified, it will override the default of 64K
70N/A#
253N/ANLM_STACK_SIZE = 8192
70N/A
70N/A
#
# If this is specified it will be used by the link '-entry' directive
#
NLM_ENTRY_SYM =
#
# If this is specified it will be used by the link '-exit' directive
#
NLM_EXIT_SYM =
#
# If this is specified it will be used by the link '-check' directive
#
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)/modsed.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_sed.o \
$(OBJDIR)/regexp.o \
$(OBJDIR)/sed0.o \
$(OBJDIR)/sed1.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 = \
$(PRELUDE) \
$(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 = \
sed_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