NWGNUmakefile revision 0662ed52e814f8f08ef0e09956413a792584eddf
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Declare the sub-directories to be built here
74def8815c725f8128a4e76ab1f5704df80b024ajerenkrantz# Get the 'head' of the build environment. This includes default targets and
74def8815c725f8128a4e76ab1f5704df80b024ajerenkrantz# paths to tools
8f868f15482c7406db01216b6e4778ddabb26898trawickinclude $(AP_WORK)/build/NWGNUhead.inc
8f868f15482c7406db01216b6e4778ddabb26898trawick# build this level's files
f902601ea431a9b56106e0f5f641dd5fd7efbc30jorton# Make sure all needed macro's are defined
1e1e4f4f810b99732f06fc05141f42ca1965a9edpquerna# These directories will be at the beginning of the include list, followed by
5f80956ca9d98d5482f38eef0c465df0923d7781jerenkrantzXINCDIRS += \
5f80956ca9d98d5482f38eef0c465df0923d7781jerenkrantz $(APR)/include \
78fcc425fc9fc58202a1693fe40dd0ce75c031ffjorton $(APRUTIL)/include \
78fcc425fc9fc58202a1693fe40dd0ce75c031ffjorton $(AP_WORK)/include \
d2ffb32434f79782ff7a364ffa31064698c5c645jorton# These flags will come after CFLAGS
9fe74ffcdea85800f04a7222f716f78ae60cce51jerenkrantz# These defines will come after DEFINES
dae3cb64cc6681b5f6b0fd12e7f8f6296ffaa19abnicholesXDEFINES += \
81540a0eb1da2c687e22de3367d8ded55e17e330pquerna# These flags will be added to the link.opt file
81540a0eb1da2c687e22de3367d8ded55e17e330pquernaXLFLAGS += \
ce66c67eba79a20118d8664b65b0c9eeec1bebdabnicholes# These values will be appended to the correct variables based on the value of
6cfc2ed5a8e633c5a40fec65775868d53952d992trawickifeq "$(RELEASE)" "debug"
6cfc2ed5a8e633c5a40fec65775868d53952d992trawickXINCDIRS += \
6cfc2ed5a8e633c5a40fec65775868d53952d992trawickXCFLAGS += \
e34223f72e630187c4d8ac7c22da5096c833eb20trawickXDEFINES += \
5159c40648868a58745aa11981f706948ff0f0d1pquernaXLFLAGS += \
a80dd6ffd7a1484e7f45e4665689bdd84fc97153jerenkrantzifeq "$(RELEASE)" "noopt"
c178b761acd6bffa199c2fd28c4469492b989699ndXINCDIRS += \
320ffe87a55e6172f91e051a2151790755446690minfrinXCFLAGS += \
08b98efa42017369c679a7457c79d5220fb3431btrawickXDEFINES += \
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquernaXLFLAGS += \
572f5b8a84bb399e51b02a562776f4aec119aa95pquernaifeq "$(RELEASE)" "release"
572f5b8a84bb399e51b02a562776f4aec119aa95pquernaXINCDIRS += \
1b03ca18c41f51a25dcf1a623a8f558bd779e0a4jerenkrantzXDEFINES += \
db443e0132f14dac789ab97ec23ce124360d74c2nd# These are used by the link target if an NLM is being generated
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# TARGET_nlm (see below) will be used.
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholesNLM_NAME = mod_DAV
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# This is used by the link '-desc ' directive.
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# If left blank, NLM_NAME will be used.
ce8490f3812311582d1deee96b012c377311b317minfrinNLM_DESCRIPTION = Apache $(VERSION_STR) DAV module
38f6ebaca968b7b23c25c0b30d0be1c7aad7412bjorton# This is used by the '-threadname' directive. If left blank,
38f6ebaca968b7b23c25c0b30d0be1c7aad7412bjorton# NLM_NAME Thread will be used.
cc7d8b55b16eee88be925a090473ca94b0a6e770jortonNLM_THREAD_NAME = mod_DAV
f2b43354f9ac8496ab7003ae01211af739efba1atrawick# If this is specified, it will override VERSION value in
2555a6b5da21d61804f47084d8fcc98eb4acbc42wroweNLM_VERSION =
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe# If this is specified, it will override the default of 64K
2555a6b5da21d61804f47084d8fcc98eb4acbc42wroweNLM_STACK_SIZE = 65536
eb6e3a3e784021abc1e28247158db3a8b07186b9minfrin# If this is specified it will be used by the link '-entry' directive
eb6e3a3e784021abc1e28247158db3a8b07186b9minfrinNLM_ENTRY_SYM =
f5098e2eb6ed9dfd7052f25761bb5e97779b8460minfrin# If this is specified it will be used by the link '-exit' directive
d86551ca954d666d5b15ad38e9daf45680516c25jerenkrantzNLM_EXIT_SYM =
c79b5caf7c5462ef707363c69cc63ea2606310abtrawick# If this is specified it will be used by the link '-check' directive
1551c2366551d7a361bedbf7ae54f1abd74ef822minfrinNLM_CHECK_SYM =
f1826b4cf1fbeb049c569761cc95b04e3496efd6bnicholes# If this is specified it will be used by the link '-flags' directive
103a93c625bcde1a6a7a5155b64dcda36f612180pquerna# If this is specified it will be linked in with the XDCData option in the def
103a93c625bcde1a6a7a5155b64dcda36f612180pquerna# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
87a528a7622973988232079ba02763748c9c7071pquerna# by setting APACHE_UNIPROC in the environment
1a986bbad9314beb8739401cac822e87bb04bbfepquerna# Declare all target files (you must add your files here)
752ec04fdfa6e936047811b9e506cf829d7a69f7pquerna# If there is an NLM target, put it here
752ec04fdfa6e936047811b9e506cf829d7a69f7pquernaTARGET_nlm = \
c4e6f5320f87eff25838c21c107a24b688d539d0niq# If there is an LIB target, put it here
c4e6f5320f87eff25838c21c107a24b688d539d0niqTARGET_lib = \
c4e6f5320f87eff25838c21c107a24b688d539d0niq# These are the OBJ files needed to create the NLM target above.
174a8f105b1c11aa50a05993ea8ba2d117d3df6end# Paths must all use the '/' character
174a8f105b1c11aa50a05993ea8ba2d117d3df6endFILES_nlm_objs = \
174a8f105b1c11aa50a05993ea8ba2d117d3df6end $(OBJDIR)/mod_dav.o \
174a8f105b1c11aa50a05993ea8ba2d117d3df6end $(OBJDIR)/props.o \
3ad0f071604de33c0b3733b649cd0445ba00f54dake $(OBJDIR)/util.o \
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# These are the LIB files needed to create the NLM target above.
f84d3d83a741c21154d42e0ebdec9b9b37efeedcjorton# These will be added as a library command in the link.opt file.
d60027cde3289d3ef35bc9d815882975eb60e6abjortonFILES_nlm_libs = \
504498fd20729dcc29dfbfb78e64a8521c6a767ajerenkrantz# These are the modules that the above NLM target depends on to load.
504498fd20729dcc29dfbfb78e64a8521c6a767ajerenkrantz# These will be added as a module command in the link.opt file.
d406be0d6a4f9e61bbdfa6c8cde2e09338dd650atrawickFILES_nlm_modules = \
b95a84193578c904426cef6dda84f7118a400a16jim# If the nlm has a msg file, put it's path here
b95a84193578c904426cef6dda84f7118a400a16jimFILE_nlm_msg =
03a3ed87983471816561562f957390ed935d7b3bnd# If the nlm has a hlp file put it's path here
03a3ed87983471816561562f957390ed935d7b3bndFILE_nlm_hlp =
56cefde0af6b8db6fda0f1d95d8cdca54f397cd0nd# If this is specified, it will override $(NWOS)\copyright.txt.
41369ed0bc7f2db6272278c27025f6aabf97fe63ndFILE_nlm_copyright =
496f8f3966319d43455675630a849bae019d2a32nd# Any additional imports go here
9e8c2603790f490398a0fabf97866b6815748a54ianhFILES_nlm_Ximports = \
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd# Any symbols exported to here
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052ndFILES_nlm_exports = \
f769c33501f474aed3e0f7c769477c8c4f478783geoff dav_module \
d7c7669331357296719d67d1963d40d713ed455atrawick# These are the OBJ files needed to create the LIB target above.
d7c7669331357296719d67d1963d40d713ed455atrawick# Paths must all use the '/' character
92d95be777d4365eb79444a7a558355a7a92081ajortonFILES_lib_objs = \
af8dee354a287249dd9f3f77bbe850108e5afe43trawick# implement targets and dependancies (leave this section alone)
af8dee354a287249dd9f3f77bbe850108e5afe43trawicklibs :: $(OBJDIR) $(TARGET_lib)
14763a0db22322626dd8cd59dfbc3a4fcc655d99trawicknlms :: libs $(TARGET_nlm)
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# Updated this target to create necessary directories and copy files to the
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
f78505c7d260473bf11002f5028186f27d0ed8a0geoffinstall :: nlms FORCE
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd copy $(OBJDIR)\mod_dav.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd# Any specialized rules here
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# Include the 'tail' makefile that has targets that depend on variables defined
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# in this makefile
bf28a00d8218aa76a56eddabca308e8d0e691626ndinclude $(APBUILD)/NWGNUtail.inc