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