NWGNUmakefile revision ac7985784d08a3655291f24f711812b4d8b1cbcf
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# Declare the sub-directories to be built here
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# Get the 'head' of the build environment. This includes default targets and
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# paths to tools
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzinclude $(AP_WORK)\build\NWGNUhead.inc
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# build this level's files
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# Make sure all needed macro's are defined
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# These directories will be at the beginning of the include list, followed by
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweXINCDIRS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz $(APR)/include \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz $(APRUTIL)/include \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz $(AP_WORK)/include \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# These flags will come after CFLAGS
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXCFLAGS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# These defines will come after DEFINES
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXDEFINES += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# These flags will be added to the link.opt file
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXLFLAGS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# These values will be appended to the correct variables based on the value of
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzifeq "$(RELEASE)" "debug"
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXINCDIRS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXCFLAGS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXDEFINES += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXLFLAGS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzifeq "$(RELEASE)" "noopt"
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXINCDIRS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXCFLAGS += \
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweXDEFINES += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzifeq "$(RELEASE)" "release"
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXINCDIRS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXCFLAGS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXDEFINES += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzXLFLAGS += \
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# These are used by the link target if an NLM is being generated
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# This is used by the link 'name' directive to name the nlm. If left blank
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# TARGET_nlm (see below) will be used.
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_NAME = modDAVFS
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# This is used by the link '-desc ' directive.
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If left blank, NLM_NAME will be used.
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_DESCRIPTION = Apache $(VERSION_STR) DAV FileSystem Sub-Module
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# This is used by the '-threadname' directive. If left blank,
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# NLM_NAME Thread will be used.
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_THREAD_NAME = modDAVFS Thread
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If this is specified, it will override VERSION value in
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# $(AP_WORK)\build\NWGNUenvironment.inc
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_VERSION =
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If this is specified, it will override the default of 64K
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_STACK_SIZE = 65536
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If this is specified it will be used by the link '-entry' directive
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_ENTRY_SYM = _LibCPrelude
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If this is specified it will be used by the link '-exit' directive
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_EXIT_SYM = _LibCPostlude
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If this is specified it will be used by the link '-check' directive
bf56214c0556fa6864189c826d39dbe156bb22a0stevelNLM_CHECK_SYM =
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# If this is specified it will be used by the link '-flags' directive
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutzNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
a4aa671e336d5c717aff15808ab91a6bee5e6e41arutz# Declare all target files (you must add your files here)
$(OBJDIR)/moddavfs.nlm \
$(OBJDIR)/mod_dav_fs.o \
$(OBJDIR)/dbm.o \
$(OBJDIR)/lock.o \
$(OBJDIR)/repos.o \
$(OBJDIR)/libprews.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@libc.imp \
@$(APR)/aprlib.imp \
@httpd.imp \
@../main/dav.imp \
FILES_nlm_Ximports += @ws2nlm.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
copy $(OBJDIR)\moddavfs.nlm $(INSTALL)\$(BASEDIR)\modules
vpath %.c ../../arch/netware
include $(AP_WORK)\build\NWGNUtail.inc