NWGNUmakefile revision ac7985784d08a3655291f24f711812b4d8b1cbcf
c63ebf815c8a874525cf18670ad74847f7fc7b26Christian Maeder# Declare the sub-directories to be built here
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Get the 'head' of the build environment. This includes default targets and
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# paths to tools
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maederinclude $(AP_WORK)\build\NWGNUhead.inc
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# build this level's files
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich# Make sure all needed macro's are defined
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder# These directories will be at the beginning of the include list, followed by
3b06e23643a9f65390cb8c1caabe83fa7e87a708Till Mossakowski $(APR)/include \
df29370ae8d8b41587957f6bcdcb43a3f1927e47Christian Maeder $(APRUTIL)/include \
f04e8f3ff56405901be968fd4c6e9769239f1a9bKlaus Luettich $(AP_WORK)/include \
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder# These flags will come after CFLAGS
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# These defines will come after DEFINES
4d56f2fa72e4aec20eb827c11ed49c8cbb7014bdChristian Maeder# These flags will be added to the link.opt file
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# These values will be appended to the correct variables based on the value of
8d97ef4f234681b11bb5924bd4d03adef858d2d2Christian Maederifeq "$(RELEASE)" "debug"
dcbd32289a7bdf1e6edd06c6ab0698c6a9dbf37aChristian Maederifeq "$(RELEASE)" "noopt"
c2a4d8ae266aa37cc922eba97077520229a19902Christian Maederifeq "$(RELEASE)" "release"
a7c27282e71cf4505026645f96d4f5cb8a284e32Christian Maeder# These are used by the link target if an NLM is being generated
363939beade943a02b31004cea09dec34fa8a6d9Christian Maeder# This is used by the link 'name' directive to name the nlm. If left blank
8a28707e9155465c6f2236a06eac6580a65c7025Christian Maeder# TARGET_nlm (see below) will be used.
ea0dd71829400e24c3d8a7b7440cd6b42c34a3b8Christian MaederNLM_NAME = mod_DAV
d3ae0072823e2ef0d41d4431fcc768e66489c20eChristian Maeder# This is used by the link '-desc ' directive.
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# If left blank, NLM_NAME will be used.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederNLM_DESCRIPTION = Apache $(VERSION_STR) DAV module
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# This is used by the '-threadname' directive. If left blank,
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# NLM_NAME Thread will be used.
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederNLM_THREAD_NAME = mod_DAV
15503d903d142d317200149b2d1d642053530365Christian Maeder# If this is specified, it will override VERSION value in
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# $(AP_WORK)\build\NWGNUenvironment.inc
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder# If this is specified, it will override the default of 64K
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian MaederNLM_STACK_SIZE = 65536
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# If this is specified it will be used by the link '-entry' directive
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederNLM_ENTRY_SYM = _LibCPrelude
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# If this is specified it will be used by the link '-exit' directive
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederNLM_EXIT_SYM = _LibCPostlude
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# If this is specified it will be used by the link '-check' directive
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederNLM_CHECK_SYM =
bc8cbf12aa172bf5673b92a9e7a0151d4aa4c315Christian Maeder# If this is specified it will be used by the link '-flags' directive
2d130d212db7208777ca896a7ecad619a8944971Christian MaederNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
2d130d212db7208777ca896a7ecad619a8944971Christian Maeder# If this is specified it will be linked in with the XDCData option in the def
bc8cbf12aa172bf5673b92a9e7a0151d4aa4c315Christian Maeder# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2d130d212db7208777ca896a7ecad619a8944971Christian Maeder# by setting APACHE_UNIPROC in the environment
6ff7a91875597d6e4dfaa68c79187d01473e8341Christian Maeder# Declare all target files (you must add your files here)
4017ebc0f692820736d796af3110c3b3018c108aChristian Maeder# If there is an NLM target, put it here
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederTARGET_nlm = \
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# If there is an LIB target, put it here
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederTARGET_lib = \
363939beade943a02b31004cea09dec34fa8a6d9Christian Maeder# These are the OBJ files needed to create the NLM target above.
363939beade943a02b31004cea09dec34fa8a6d9Christian Maeder# Paths must all use the '/' character
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederFILES_nlm_objs = \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# These are the LIB files needed to create the NLM target above.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# These will be added as a library command in the link.opt file.
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian MaederFILES_nlm_libs = \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder# These are the modules that the above NLM target depends on to load.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# These will be added as a module command in the link.opt file.
ca074a78b8dcccbb8c419586787882f98d0c6163Christian MaederFILES_nlm_modules = \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder# If the nlm has a msg file, put it's path here
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian MaederFILE_nlm_msg =
89f7631cbfbd1bb99fc152b434bd362a7799d295Christian Maeder# If the nlm has a hlp file put it's path here
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederFILE_nlm_hlp =
363939beade943a02b31004cea09dec34fa8a6d9Christian Maeder# If this is specified, it will override $(NWOS)\copyright.txt.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederFILE_nlm_copyright =
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# Any additional imports go here
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederFILES_nlm_Ximports = \
42b12fba6830ada5057949f825fc27edf5574e5fChristian Maeder# Any symbols exported to here
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederFILES_nlm_exports = \
9df11f85fd7f8c4745d64464876e84ec4e263692Christian Maeder# These are the OBJ files needed to create the LIB target above.
8b0f493ae42bad8b94918cc0957f1af57096cda4Felix Reckers# Paths must all use the '/' character
fb328c4f646dd3dd78a9391c5cb58450a3dd0aa9Klaus LuettichFILES_lib_objs = \
8b0f493ae42bad8b94918cc0957f1af57096cda4Felix Reckers# implement targets and dependancies (leave this section alone)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederlibs :: $(OBJDIR) $(TARGET_lib)
8b0f493ae42bad8b94918cc0957f1af57096cda4Felix Reckersnlms :: libs $(TARGET_nlm)
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder# Updated this target to create necessary directories and copy files to the
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maederinstall :: nlms FORCE
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder copy $(OBJDIR)\mod_dav.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder# Any specialized rules here
819e29dba060687cf391e444e0f6ff88c1908cc3Christian Maeder# Include the 'tail' makefile that has targets that depend on variables defined
819e29dba060687cf391e444e0f6ff88c1908cc3Christian Maeder# in this makefile
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maederinclude $(AP_WORK)\build\NWGNUtail.inc