NWGNUauthnfil revision b8022feeb260e31994600a65c2193278838a4802
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Make sure all needed macro's are defined
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Get the 'head' of the build environment if necessary. This includes default
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# targets and paths to tools
ffb88a4885747797937e30a5ac8b1606da3cb4adndifndef EnvironmentDefined
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erboweninclude $(AP_WORK)\build\NWGNUhead.inc
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These directories will be at the beginning of the include list, followed by
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowenXINCDIRS += \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(AP_WORK)/include \
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# These flags will come after CFLAGS
ffb88a4885747797937e30a5ac8b1606da3cb4adndXCFLAGS += \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These defines will come after DEFINES
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfXDEFINES += \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These flags will be added to the link.opt file
ffb88a4885747797937e30a5ac8b1606da3cb4adndXLFLAGS += \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These values will be appended to the correct variables based on the value of
591f748210dc55f2972482dddc84bb6bac61d6b9noodlifeq "$(RELEASE)" "debug"
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohXINCDIRS += \
591f748210dc55f2972482dddc84bb6bac61d6b9noodlXCFLAGS += \
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfXDEFINES += \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemXLFLAGS += \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemifeq "$(RELEASE)" "noopt"
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemXINCDIRS += \
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowenXCFLAGS += \
4aa603e6448b99f9371397d439795c91a93637eandXDEFINES += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXLFLAGS += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicifeq "$(RELEASE)" "release"
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXINCDIRS += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXCFLAGS += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXDEFINES += \
e487d6c09669296f94a5190cc34586a98e624a00ndXLFLAGS += \
591f748210dc55f2972482dddc84bb6bac61d6b9noodl# These are used by the link target if an NLM is being generated
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# This is used by the link 'name' directive to name the nlm. If left blank
4aa603e6448b99f9371397d439795c91a93637eand# TARGET_nlm (see below) will be used.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_NAME = authnfil
c6d13b8b0af10b4283faa1b0227106f1415a04c1humbedooh# This is used by the link '-desc ' directive.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# If left blank, NLM_NAME will be used.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_DESCRIPTION = Apache File Authentication Module
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# This is used by the '-threadname' directive. If left blank,
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# NLM_NAME Thread will be used.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_THREAD_NAME = AuthnFile Module
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# If this is specified, it will override VERSION value in
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# $(AP_WORK)\build\NWGNUenvironment.inc
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_VERSION =
f6457ee8e686bb9f1d9a5d0e354f7f2e1e357a29sf# If this is specified, it will override the default of 64K
e487d6c09669296f94a5190cc34586a98e624a00ndNLM_STACK_SIZE = 8192
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be used by the link '-entry' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_ENTRY_SYM = _LibCPrelude
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be used by the link '-exit' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_EXIT_SYM = _LibCPostlude
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be used by the link '-check' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_CHECK_SYM =
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If these are specified it will be used by the link '-flags' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be linked in with the XDCData option in the def
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# by setting APACHE_UNIPROC in the environment
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If there is an NLM target, put it here
ffb88a4885747797937e30a5ac8b1606da3cb4adndTARGET_nlm = \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If there is an LIB target, put it here
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemTARGET_lib = \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# These are the OBJ files needed to create the NLM target above.
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# Paths must all use the '/' character
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemFILES_nlm_objs = \
08cf4a15275e4cb65a424b3a1db5410bfb51085cjim# These are the LIB files needed to create the NLM target above.
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# These will be added as a library command in the link.opt file.
b244bbf442a0aea3dc397b4d0d751f4716c5891dndFILES_nlm_libs = \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These are the modules that the above NLM target depends on to load.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These will be added as a module command in the link.opt file.
ffb88a4885747797937e30a5ac8b1606da3cb4adndFILES_nlm_modules = \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If the nlm has a msg file, put it's path here
ffb88a4885747797937e30a5ac8b1606da3cb4adndFILE_nlm_msg =
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem# If the nlm has a hlp file put it's path here
5f00eedb74adc88b8282475faf6275dad390c9a3rpluemFILE_nlm_hlp =
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified, it will override $(NWOS)\copyright.txt.
ffb88a4885747797937e30a5ac8b1606da3cb4adndFILE_nlm_copyright =
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem# Any additional imports go here
5f00eedb74adc88b8282475faf6275dad390c9a3rpluemFILES_nlm_Ximports = \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# Any symbols exported to here
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicFILES_nlm_exports = \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic authn_file_module \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# These are the OBJ files needed to create the LIB target above.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# Paths must all use the '/' character
4aa603e6448b99f9371397d439795c91a93637eandFILES_lib_objs = \
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem# implement targets and dependancies (leave this section alone)
5f00eedb74adc88b8282475faf6275dad390c9a3rpluemlibs :: $(OBJDIR) $(TARGET_lib)
ffb88a4885747797937e30a5ac8b1606da3cb4adndnlms :: libs $(TARGET_nlm)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Updated this target to create necessary directories and copy files to the
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
ffb88a4885747797937e30a5ac8b1606da3cb4adndinstall :: nlms FORCE
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# Any specialized rules here
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh# Include the 'tail' makefile that has targets that depend on variables defined
0d0ba3a410038e179b695446bb149cce6264e0abnd# in this makefile
0d0ba3a410038e179b695446bb149cce6264e0abndinclude $(AP_WORK)\build\NWGNUtail.inc