NWGNUauthnfil revision b8022feeb260e31994600a65c2193278838a4802
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Make sure all needed macro's are defined
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Get the 'head' of the build environment if necessary. This includes default
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# targets and paths to tools
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adndifndef EnvironmentDefined
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erboweninclude $(AP_WORK)\build\NWGNUhead.inc
2e545ce2450a9953665f701bb05350f0d3f26275ndendif
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These directories will be at the beginning of the include list, followed by
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# INCDIRS
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowenXINCDIRS += \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(AP_WORK)/include \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(NWOS) \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(AP_WORK)/modules/arch/netware \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(AP_WORK)/srclib/apr/include \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(AP_WORK)/srclib/apr-util/include \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(AP_WORK)/srclib/apr \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(EOLIST)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
cc8190433d13f5e9de618c5d7f10c824c0c1919cgryzor#
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# These flags will come after CFLAGS
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndXCFLAGS += \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd -prefix pre_nw.h \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(EOLIST)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These defines will come after DEFINES
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfXDEFINES += \
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf $(EOLIST)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These flags will be added to the link.opt file
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndXLFLAGS += \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(EOLIST)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# These values will be appended to the correct variables based on the value of
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# RELEASE
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
591f748210dc55f2972482dddc84bb6bac61d6b9noodlifeq "$(RELEASE)" "debug"
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohXINCDIRS += \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(EOLIST)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
591f748210dc55f2972482dddc84bb6bac61d6b9noodlXCFLAGS += \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(EOLIST)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfXDEFINES += \
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf $(EOLIST)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemXLFLAGS += \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(EOLIST)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfendif
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemifeq "$(RELEASE)" "noopt"
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemXINCDIRS += \
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen $(EOLIST)
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowenXCFLAGS += \
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen $(EOLIST)
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen
4aa603e6448b99f9371397d439795c91a93637eandXDEFINES += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXLFLAGS += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicendif
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicifeq "$(RELEASE)" "release"
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXINCDIRS += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXCFLAGS += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXDEFINES += \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
4aa603e6448b99f9371397d439795c91a93637eand
e487d6c09669296f94a5190cc34586a98e624a00ndXLFLAGS += \
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen $(EOLIST)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfendif
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
591f748210dc55f2972482dddc84bb6bac61d6b9noodl#
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.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_NAME = authnfil
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
c6d13b8b0af10b4283faa1b0227106f1415a04c1humbedooh#
c6d13b8b0af10b4283faa1b0227106f1415a04c1humbedooh# This is used by the link '-desc ' directive.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# If left blank, NLM_NAME will be used.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_DESCRIPTION = Apache File Authentication Module
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# This is used by the '-threadname' directive. If left blank,
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# NLM_NAME Thread will be used.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_THREAD_NAME = AuthnFile Module
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# If this is specified, it will override VERSION value in
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# $(AP_WORK)\build\NWGNUenvironment.inc
c6d13b8b0af10b4283faa1b0227106f1415a04c1humbedooh#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicNLM_VERSION =
f6457ee8e686bb9f1d9a5d0e354f7f2e1e357a29sf
f6457ee8e686bb9f1d9a5d0e354f7f2e1e357a29sf#
f6457ee8e686bb9f1d9a5d0e354f7f2e1e357a29sf# If this is specified, it will override the default of 64K
4aa603e6448b99f9371397d439795c91a93637eand#
e487d6c09669296f94a5190cc34586a98e624a00ndNLM_STACK_SIZE = 8192
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be used by the link '-entry' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_ENTRY_SYM = _LibCPrelude
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be used by the link '-exit' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_EXIT_SYM = _LibCPostlude
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified it will be used by the link '-check' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_CHECK_SYM =
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If these are specified it will be used by the link '-flags' directive
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
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
4aa603e6448b99f9371397d439795c91a93637eand#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicXDCDATA =
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If there is an NLM target, put it here
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndTARGET_nlm = \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(OBJDIR)/authnfil.nlm \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(EOLIST)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If there is an LIB target, put it here
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemTARGET_lib = \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(EOLIST)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# These are the OBJ files needed to create the NLM target above.
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# Paths must all use the '/' character
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemFILES_nlm_objs = \
bf876fa45c212a18d7aa07504e872cf63a0c247cnd $(OBJDIR)/mod_authn_file.o \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(EOLIST)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
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.
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf#
b244bbf442a0aea3dc397b4d0d751f4716c5891dndFILES_nlm_libs = \
b244bbf442a0aea3dc397b4d0d751f4716c5891dnd libcpre.o \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(EOLIST)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
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.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndFILES_nlm_modules = \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd aprlib \
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem libc \
ffb88a4885747797937e30a5ac8b1606da3cb4adnd $(EOLIST)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If the nlm has a msg file, put it's path here
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndFILE_nlm_msg =
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem# If the nlm has a hlp file put it's path here
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem#
5f00eedb74adc88b8282475faf6275dad390c9a3rpluemFILE_nlm_hlp =
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If this is specified, it will override $(NWOS)\copyright.txt.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndFILE_nlm_copyright =
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem#
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem# Any additional imports go here
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem#
5f00eedb74adc88b8282475faf6275dad390c9a3rpluemFILES_nlm_Ximports = \
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem @$(APR)/aprlib.imp \
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem @$(NWOS)/httpd.imp \
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem @libc.imp \
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem $(EOLIST)
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem
4aa603e6448b99f9371397d439795c91a93637eand#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# Any symbols exported to here
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicFILES_nlm_exports = \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic authn_file_module \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# These are the OBJ files needed to create the LIB target above.
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic# Paths must all use the '/' character
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#
4aa603e6448b99f9371397d439795c91a93637eandFILES_lib_objs = \
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic $(EOLIST)
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem#
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem# implement targets and dependancies (leave this section alone)
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem#
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem
5f00eedb74adc88b8282475faf6275dad390c9a3rpluemlibs :: $(OBJDIR) $(TARGET_lib)
5f00eedb74adc88b8282475faf6275dad390c9a3rpluem
ffb88a4885747797937e30a5ac8b1606da3cb4adndnlms :: libs $(TARGET_nlm)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Updated this target to create necessary directories and copy files to the
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndinstall :: nlms FORCE
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
cc8190433d13f5e9de618c5d7f10c824c0c1919cgryzor#
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# Any specialized rules here
727872d18412fc021f03969b8641810d8896820bhumbedooh#
0d0ba3a410038e179b695446bb149cce6264e0abnd
727872d18412fc021f03969b8641810d8896820bhumbedooh#
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh# Include the 'tail' makefile that has targets that depend on variables defined
0d0ba3a410038e179b695446bb149cce6264e0abnd# in this makefile
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh#
727872d18412fc021f03969b8641810d8896820bhumbedooh
0d0ba3a410038e179b695446bb149cce6264e0abndinclude $(AP_WORK)\build\NWGNUtail.inc
0d0ba3a410038e179b695446bb149cce6264e0abnd
0d0ba3a410038e179b695446bb149cce6264e0abnd