NWGNUmakefile revision 8ffac2c334103c0336602aaede650cb578611151
10139N/A#
10139N/A# Declare the sub-directories to be built here
10139N/A#
10139N/A
10139N/ASUBDIRS = \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# Get the 'head' of the build environment. This includes default targets and
10139N/A# paths to tools
10139N/A#
10139N/A
10139N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
10139N/A
10139N/A#
10139N/A# build this level's files
10139N/A
10139N/A#
10139N/A# Make sure all needed macro's are defined
10139N/A#
10139N/A
10139N/A#
10139N/A# These directories will be at the beginning of the include list, followed by
10139N/A# INCDIRS
10139N/A#
10139N/AXINCDIRS += \
10139N/A $(APR)/include \
10139N/A $(APRUTIL)/include \
10139N/A $(AP_WORK)/include \
10139N/A $(AP_WORK)/server/mpm/netware \
10139N/A $(AP_WORK)/modules/dav/main \
10139N/A $(NWOS) \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These flags will come after CFLAGS
10139N/A#
10139N/AXCFLAGS += \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These defines will come after DEFINES
10139N/A#
10139N/AXDEFINES += \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These flags will be added to the link.opt file
10139N/A#
10139N/AXLFLAGS += \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These values will be appended to the correct variables based on the value of
10139N/A# RELEASE
10139N/A#
10139N/Aifeq "$(RELEASE)" "debug"
10139N/AXINCDIRS += \
10139N/A $(EOLIST)
10139N/A
10139N/AXCFLAGS += \
10139N/A $(EOLIST)
10139N/A
10139N/AXDEFINES += \
10139N/A $(EOLIST)
10139N/A
10139N/AXLFLAGS += \
10139N/A $(EOLIST)
10139N/Aendif
10139N/A
10139N/Aifeq "$(RELEASE)" "noopt"
10139N/AXINCDIRS += \
10139N/A $(EOLIST)
10139N/A
10139N/AXCFLAGS += \
11933N/A $(EOLIST)
10139N/A
10139N/AXDEFINES += \
10139N/A $(EOLIST)
10139N/A
10139N/AXLFLAGS += \
10139N/A $(EOLIST)
10139N/Aendif
10139N/A
10139N/Aifeq "$(RELEASE)" "release"
10139N/AXINCDIRS += \
10139N/A $(EOLIST)
10139N/A
10139N/AXCFLAGS += \
10139N/A $(EOLIST)
10139N/A
10139N/AXDEFINES += \
10139N/A $(EOLIST)
10139N/A
10139N/AXLFLAGS += \
10139N/A $(EOLIST)
10139N/Aendif
10139N/A
10139N/A#
10139N/A# These are used by the link target if an NLM is being generated
10139N/A# This is used by the link 'name' directive to name the nlm. If left blank
11232N/A# TARGET_nlm (see below) will be used.
10139N/A#
10139N/ANLM_NAME = modDAVLK
10139N/A
10139N/A#
10139N/A# This is used by the link '-desc ' directive.
10139N/A# If left blank, NLM_NAME will be used.
10139N/A#
11925N/ANLM_DESCRIPTION = Apache $(VERSION_STR) DAV Database Lock Sub-Module
10139N/A
10139N/A#
10139N/A# This is used by the '-threadname' directive. If left blank,
10139N/A# NLM_NAME Thread will be used.
10139N/A#
10139N/ANLM_THREAD_NAME = modDAVLK Thread
10139N/A
10139N/A#
10139N/A# If this is specified, it will override VERSION value in
10139N/A# $(AP_WORK)/build/NWGNUenvironment.inc
10139N/A#
10139N/ANLM_VERSION =
10139N/A
10139N/A#
10139N/A# If this is specified, it will override the default of 64K
10139N/A#
10139N/ANLM_STACK_SIZE = 65536
10139N/A
10139N/A
10139N/A#
10139N/A# If this is specified it will be used by the link '-entry' directive
10697N/A#
10915N/ANLM_ENTRY_SYM =
11161N/A
11161N/A#
10139N/A# If this is specified it will be used by the link '-exit' directive
10139N/A#
10139N/ANLM_EXIT_SYM =
10139N/A
10139N/A#
10139N/A# If this is specified it will be used by the link '-check' directive
10139N/A#
10139N/ANLM_CHECK_SYM =
10139N/A
10139N/A#
10139N/A# If this is specified it will be used by the link '-flags' directive
10139N/A#
10139N/ANLM_FLAGS =
10139N/A
10139N/A#
10139N/A# Declare all target files (you must add your files here)
10139N/A#
10139N/A
10139N/A#
10139N/A# If there is an NLM target, put it here
10139N/A#
10139N/ATARGET_nlm = \
10139N/A $(OBJDIR)/moddavlk.nlm \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# If there is an LIB target, put it here
10139N/A#
10139N/ATARGET_lib = \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These are the OBJ files needed to create the NLM target above.
10139N/A# Paths must all use the '/' character
10139N/A#
10139N/AFILES_nlm_objs = \
10139N/A $(OBJDIR)/mod_dav_lock.o \
10139N/A $(OBJDIR)/locks.o \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These are the LIB files needed to create the NLM target above.
10139N/A# These will be added as a library command in the link.opt file.
10139N/A#
10139N/AFILES_nlm_libs = \
10139N/A libcpre.o \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These are the modules that the above NLM target depends on to load.
10139N/A# These will be added as a module command in the link.opt file.
10139N/A#
10139N/AFILES_nlm_modules = \
10139N/A Apache2 \
10139N/A Libc \
10139N/A mod_dav \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# If the nlm has a msg file, put it's path here
10139N/A#
10139N/AFILE_nlm_msg =
10139N/A
10139N/A#
10139N/A# If the nlm has a hlp file put it's path here
10139N/A#
10139N/AFILE_nlm_hlp =
10139N/A
10139N/A#
10139N/A# If this is specified, it will override $(NWOS)\copyright.txt.
10139N/A#
10139N/AFILE_nlm_copyright =
10139N/A
10139N/A#
10139N/A# Any additional imports go here
10139N/A#
10139N/AFILES_nlm_Ximports = \
10139N/A @libc.imp \
10139N/A @aprlib.imp \
10139N/A @httpd.imp \
10139N/A @../main/dav.imp \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# Any symbols exported to here
10139N/A#
10139N/AFILES_nlm_exports = \
10139N/A dav_lock_module \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# These are the OBJ files needed to create the LIB target above.
10139N/A# Paths must all use the '/' character
10139N/A#
10139N/AFILES_lib_objs = \
10139N/A $(EOLIST)
10139N/A
10139N/A#
10139N/A# implement targets and dependancies (leave this section alone)
10139N/A#
10139N/A
10139N/Alibs :: $(OBJDIR) $(TARGET_lib)
10139N/A
10139N/Anlms :: libs $(TARGET_nlm)
10139N/A
10139N/A#
10139N/A# Updated this target to create necessary directories and copy files to the
10139N/A# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
10139N/A#
10139N/Ainstall :: nlms FORCE
10139N/A copy $(OBJDIR)\moddavlk.nlm $(INSTALL)\$(BASEDIR)\modules
10139N/A#
10139N/A# Any specialized rules here
10139N/A#
10139N/A
10139N/A#
10139N/A# Include the 'tail' makefile that has targets that depend on variables defined
10139N/A# in this makefile
10139N/A#
10139N/A
10139N/Ainclude $(APBUILD)/NWGNUtail.inc
10139N/A
10139N/A
10139N/A