NWGNUmakefile revision 311f02e5de127612b92a450204ab4bb26f90f6ce
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# Declare the sub-directories to be built here
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# Get the 'head' of the build environment. This includes default targets and
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# paths to tools
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marslandinclude $(AP_WORK)/build/NWGNUhead.inc
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# build this level's files
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# Make sure all needed macro's are defined
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# These directories will be at the beginning of the include list, followed by
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXINCDIRS += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland $(APR)/include \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland $(APRUTIL)/include \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland $(AP_WORK)/include \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# These flags will come after CFLAGS
40a3f5ceaf3ada360988c7cbb70c66f2d5588da4Tim Marsland# These defines will come after DEFINES
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXDEFINES += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# These flags will be added to the link.opt file
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# These values will be appended to the correct variables based on the value of
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marslandifeq "$(RELEASE)" "debug"
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXINCDIRS += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXDEFINES += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marslandifeq "$(RELEASE)" "noopt"
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXINCDIRS += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXDEFINES += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marslandifeq "$(RELEASE)" "release"
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXINCDIRS += \
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandXDEFINES += \
489b7c4ab76ae8df137fbfcc2214f7baa52883a0Raymond Chen# These are used by the link target if an NLM is being generated
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# This is used by the link 'name' directive to name the nlm. If left blank
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# TARGET_nlm (see below) will be used.
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_NAME = moddavfs
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# This is used by the link '-desc ' directive.
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# If left blank, NLM_NAME will be used.
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_DESCRIPTION = Apache $(VERSION_STR) DAV FileSystem Sub-Module
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# This is used by the '-threadname' directive. If left blank,
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# NLM_NAME Thread will be used.
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_THREAD_NAME = $(NLM_NAME) Thread
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# If this is specified, it will override VERSION value in
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_VERSION =
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# If this is specified, it will override the default of 64K
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_STACK_SIZE = 65536
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# If this is specified it will be used by the link '-entry' directive
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_ENTRY_SYM =
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# If this is specified it will be used by the link '-exit' directive
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_EXIT_SYM =
de81e71e031139a0a7f13b7bf64152c3faa76698Tim Marsland# If this is specified it will be used by the link '-check' directive
de81e71e031139a0a7f13b7bf64152c3faa76698Tim MarslandNLM_CHECK_SYM =
$(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 \
@aprlib.imp \
@httpd.imp \
@../main/dav.imp \
FILES_nlm_Ximports += @ws2nlm.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
vpath %.c ../../arch/netware
include $(APBUILD)/NWGNUtail.inc