NWGNUmakefile revision 0662ed52e814f8f08ef0e09956413a792584eddf
98N/A#
98N/A# Declare the sub-directories to be built here
98N/A#
98N/A
98N/ASUBDIRS = \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# Get the 'head' of the build environment. This includes default targets and
98N/A# paths to tools
98N/A#
98N/A
98N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
98N/A
98N/A#
98N/A# build this level's files
98N/A#
98N/A# Make sure all needed macro's are defined
98N/A#
98N/A
98N/A#
98N/A# These directories will be at the beginning of the include list, followed by
98N/A# INCDIRS
98N/A#
98N/AXINCDIRS += \
98N/A $(APR)/include \
98N/A $(APRUTIL)/include \
98N/A $(AP_WORK)/include \
98N/A $(AP_WORK)/server/mpm/netware \
98N/A $(NWOS) \
98N/A $(EOLIST)
98N/A
207N/A#
98N/A# These flags will come after CFLAGS
98N/A#
98N/AXCFLAGS += \
98N/A $(EOLIST)
98N/A
156N/A#
156N/A# These defines will come after DEFINES
156N/A#
156N/AXDEFINES += \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# These flags will be added to the link.opt file
98N/A#
194N/AXLFLAGS += \
98N/A $(EOLIST)
98N/A
98N/A#
156N/A# These values will be appended to the correct variables based on the value of
98N/A# RELEASE
98N/A#
98N/Aifeq "$(RELEASE)" "debug"
101N/AXINCDIRS += \
98N/A $(EOLIST)
191N/A
145N/AXCFLAGS += \
194N/A $(EOLIST)
194N/A
207N/AXDEFINES += \
98N/A $(EOLIST)
98N/A
98N/AXLFLAGS += \
98N/A $(EOLIST)
98N/Aendif
98N/A
98N/Aifeq "$(RELEASE)" "noopt"
98N/AXINCDIRS += \
98N/A $(EOLIST)
98N/A
98N/AXCFLAGS += \
98N/A $(EOLIST)
98N/A
98N/AXDEFINES += \
98N/A $(EOLIST)
98N/A
98N/AXLFLAGS += \
98N/A $(EOLIST)
98N/Aendif
98N/A
98N/Aifeq "$(RELEASE)" "release"
98N/AXINCDIRS += \
98N/A $(EOLIST)
98N/A
98N/AXCFLAGS += \
98N/A $(EOLIST)
98N/A
98N/AXDEFINES += \
98N/A $(EOLIST)
98N/A
140N/AXLFLAGS += \
154N/A $(EOLIST)
158N/Aendif
161N/A
167N/A#
177N/A# These are used by the link target if an NLM is being generated
183N/A# This is used by the link 'name' directive to name the nlm. If left blank
183N/A# TARGET_nlm (see below) will be used.
98N/A#
98N/ANLM_NAME = mod_DAV
98N/A
98N/A#
98N/A# This is used by the link '-desc ' directive.
98N/A# If left blank, NLM_NAME will be used.
98N/A#
98N/ANLM_DESCRIPTION = Apache $(VERSION_STR) DAV module
98N/A
98N/A#
98N/A# This is used by the '-threadname' directive. If left blank,
98N/A# NLM_NAME Thread will be used.
98N/A#
98N/ANLM_THREAD_NAME = mod_DAV
98N/A
98N/A#
98N/A# If this is specified, it will override VERSION value in
98N/A# $(AP_WORK)/build/NWGNUenvironment.inc
98N/A#
98N/ANLM_VERSION =
98N/A
98N/A#
98N/A# If this is specified, it will override the default of 64K
98N/A#
98N/ANLM_STACK_SIZE = 65536
98N/A
98N/A
98N/A#
98N/A# If this is specified it will be used by the link '-entry' directive
98N/A#
98N/ANLM_ENTRY_SYM =
98N/A
98N/A#
98N/A# If this is specified it will be used by the link '-exit' directive
98N/A#
98N/ANLM_EXIT_SYM =
98N/A
98N/A#
167N/A# If this is specified it will be used by the link '-check' directive
98N/A#
98N/ANLM_CHECK_SYM =
156N/A
98N/A#
98N/A# If this is specified it will be used by the link '-flags' directive
98N/A#
98N/ANLM_FLAGS =
98N/A
171N/A#
98N/A# If this is specified it will be linked in with the XDCData option in the def
98N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
98N/A# by setting APACHE_UNIPROC in the environment
98N/A#
98N/AXDCDATA =
98N/A
167N/A#
98N/A# Declare all target files (you must add your files here)
194N/A#
98N/A
98N/A#
156N/A# If there is an NLM target, put it here
156N/A#
156N/ATARGET_nlm = \
98N/A $(OBJDIR)/mod_dav.nlm \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# If there is an LIB target, put it here
98N/A#
98N/ATARGET_lib = \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# These are the OBJ files needed to create the NLM target above.
98N/A# Paths must all use the '/' character
98N/A#
98N/AFILES_nlm_objs = \
98N/A $(OBJDIR)/mod_dav.o \
106N/A $(OBJDIR)/props.o \
98N/A $(OBJDIR)/util.o \
98N/A $(OBJDIR)/util_lock.o \
98N/A $(OBJDIR)/liveprop.o \
98N/A $(OBJDIR)/providers.o \
98N/A $(OBJDIR)/std_liveprop.o \
98N/A $(EOLIST)
98N/A
194N/A#
194N/A# These are the LIB files needed to create the NLM target above.
98N/A# These will be added as a library command in the link.opt file.
98N/A#
98N/AFILES_nlm_libs = \
194N/A libcpre.o \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# These are the modules that the above NLM target depends on to load.
98N/A# These will be added as a module command in the link.opt file.
98N/A#
98N/AFILES_nlm_modules = \
98N/A Apache2 \
98N/A Libc \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# If the nlm has a msg file, put it's path here
156N/A#
156N/AFILE_nlm_msg =
156N/A
98N/A#
98N/A# If the nlm has a hlp file put it's path here
98N/A#
156N/AFILE_nlm_hlp =
156N/A
156N/A#
98N/A# If this is specified, it will override $(NWOS)\copyright.txt.
98N/A#
198N/AFILE_nlm_copyright =
191N/A
191N/A#
98N/A# Any additional imports go here
98N/A#
98N/AFILES_nlm_Ximports = \
198N/A @libc.imp \
198N/A @$(APR)/aprlib.imp \
198N/A @httpd.imp \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# Any symbols exported to here
98N/A#
98N/AFILES_nlm_exports = \
98N/A dav_module \
98N/A @dav.imp \
98N/A $(EOLIST)
98N/A
98N/A#
98N/A# These are the OBJ files needed to create the LIB target above.
98N/A# Paths must all use the '/' character
111N/A#
111N/AFILES_lib_objs = \
111N/A $(EOLIST)
111N/A
111N/A#
111N/A# implement targets and dependancies (leave this section alone)
206N/A#
206N/A
98N/Alibs :: $(OBJDIR) $(TARGET_lib)
98N/A
98N/Anlms :: libs $(TARGET_nlm)
98N/A
98N/A#
98N/A# Updated this target to create necessary directories and copy files to the
98N/A# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
182N/A#
98N/Ainstall :: nlms FORCE
copy $(OBJDIR)\mod_dav.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc