NWGNUmakefile revision 0c12e1a9e31539021cf9a2de47f8a17fe7f78c8d
ef8014e56f35bb36daa5fd2c313f5e7963e97aa1Tinderbox User# Declare the sub-directories to be built here
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt# Get the 'head' of the build environment. This includes default targets and
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater# paths to tools
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Huntinclude $(AP_WORK)\build\NWGNUhead.inc
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt# build this level's files
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# Make sure all needed macro's are defined
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt# These directories will be at the beginning of the include list, followed by
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(AP_WORK)/include \
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# These flags will come after CFLAGS
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# These defines will come after DEFINES
553ead32ff5b00284e574dcabc39115d4d74ec66Evan HuntXDEFINES += \
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# These flags will be added to the link.opt file
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# These values will be appended to the correct variables based on the value of
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userifeq "$(RELEASE)" "debug"
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Huntifeq "$(RELEASE)" "noopt"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userifeq "$(RELEASE)" "release"
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# These are used by the link target if an NLM is being generated
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# This is used by the link 'name' directive to name the nlm. If left blank
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# TARGET_nlm (see below) will be used.
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox UserNLM_NAME = modDAVLK
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# This is used by the link '-desc ' directive.
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# If left blank, NLM_NAME will be used.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterNLM_DESCRIPTION = Apache $(VERSION_STR) DAV Database Lock Sub-Module
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# This is used by the '-threadname' directive. If left blank,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# NLM_NAME Thread will be used.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterNLM_THREAD_NAME = modDAVLK Thread
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater# If this is specified, it will override VERSION value in
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# If this is specified, it will override the default of 64K
553ead32ff5b00284e574dcabc39115d4d74ec66Evan HuntNLM_STACK_SIZE = 65536
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# If this is specified it will be used by the link '-entry' directive
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserNLM_ENTRY_SYM = _LibCPrelude
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt# If this is specified it will be used by the link '-exit' directive
553ead32ff5b00284e574dcabc39115d4d74ec66Evan HuntNLM_EXIT_SYM = _LibCPostlude
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# If this is specified it will be used by the link '-check' directive
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserNLM_CHECK_SYM =
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt# If this is specified it will be used by the link '-flags' directive
f8e3e03cacd16ffb923a9603fca23a9e1a1fee07Automatic UpdaterNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
f8e3e03cacd16ffb923a9603fca23a9e1a1fee07Automatic Updater# Declare all target files (you must add your files here)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# If there is an NLM target, put it here
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# If there is an LIB target, put it here
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserTARGET_lib = \
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater# These are the OBJ files needed to create the NLM target above.
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater# Paths must all use the '/' character
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic UpdaterFILES_nlm_objs = \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# These are the LIB files needed to create the NLM target above.
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater# These will be added as a library command in the link.opt file.
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic UpdaterFILES_nlm_libs = \
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater# These are the modules that the above NLM target depends on to load.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# These will be added as a module command in the link.opt file.
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox UserFILES_nlm_modules = \
3acf5eb97cebc2ba868e6ac4a4e01e6d1be0c892Automatic Updater# If the nlm has a msg file, put it's path here
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# If the nlm has a hlp file put it's path here
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserFILE_nlm_hlp =
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater# If this is specified, it will override $(NWOS)\copyright.txt.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserFILE_nlm_copyright =
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# Any additional imports go here
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserFILES_nlm_Ximports = \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# Any symbols exported to here
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic UpdaterFILES_nlm_exports = \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User dav_lock_module \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# These are the OBJ files needed to create the LIB target above.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater# Paths must all use the '/' character
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserFILES_lib_objs = \
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt# implement targets and dependancies (leave this section alone)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlibs :: $(OBJDIR) $(TARGET_lib)
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Huntnlms :: libs $(TARGET_nlm)
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
copy $(OBJDIR)\moddavlk.nlm $(INSTALL)\Apache2\modules
include $(AP_WORK)\build\NWGNUtail.inc