3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Make sure all needed macro's are defined
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Get the 'head' of the build environment if necessary. This includes default
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# targets and paths to tools
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifndef EnvironmentDefined
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These directories will be at the beginning of the include list, followed by
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# INCDIRS
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APR)/include \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(NWOS) \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These flags will come after CFLAGS
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These defines will come after DEFINES
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These flags will be added to the link.opt file
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These values will be appended to the correct variables based on the value of
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# RELEASE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "debug"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "noopt"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesifeq "$(RELEASE)" "release"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXINCDIRS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXCFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXDEFINES += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesXLFLAGS += \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesendif
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are used by the link target if an NLM is being generated
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# TARGET_nlm (see below) will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_NAME = authzdbm
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# This is used by the link '-desc ' directive.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If left blank, NLM_NAME will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0a39e7683f6611d66c55712f50bb240428d832a1bnicholesNLM_DESCRIPTION = Apache $(VERSION_STR) Database Authorization Module
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# This is used by the '-threadname' directive. If left blank,
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# NLM_NAME Thread will be used.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_THREAD_NAME = AuthzDBM Module
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified, it will override VERSION value in
0662ed52e814f8f08ef0e09956413a792584eddffuankg# $(AP_WORK)/build/NWGNUenvironment.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_VERSION =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override the default of 64K
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_STACK_SIZE = 8192
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-entry' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-exit' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified it will be used by the link '-check' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesNLM_CHECK_SYM =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If these are specified it will be used by the link '-flags' directive
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_FLAGS =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified it will be linked in with the XDCData option in the def
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# by setting APACHE_UNIPROC in the environment
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgXDCDATA =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If there is an NLM target, put it here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTARGET_nlm = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(OBJDIR)/authzdbm.nlm \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If there is an LIB target, put it here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesTARGET_lib = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the OBJ files needed to create the NLM target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Paths must all use the '/' character
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_objs = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(OBJDIR)/mod_authz_dbm.o \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the LIB files needed to create the NLM target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These will be added as a library command in the link.opt file.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the modules that the above NLM target depends on to load.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These will be added as a module command in the link.opt file.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_modules = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes aprlib \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes libc \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If the nlm has a msg file, put it's path here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_msg =
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If the nlm has a hlp file put it's path here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_hlp =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILE_nlm_copyright =
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any additional imports go here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_Ximports = \
8ffac2c334103c0336602aaede650cb578611151fuankg @aprlib.imp \
8ffac2c334103c0336602aaede650cb578611151fuankg @httpd.imp \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes @libc.imp \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any symbols exported to here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_nlm_exports = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes authz_dbm_module \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# These are the OBJ files needed to create the LIB target above.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Paths must all use the '/' character
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesFILES_lib_objs = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# implement targets and dependancies (leave this section alone)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholeslibs :: $(OBJDIR) $(TARGET_lib)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesnlms :: libs $(TARGET_nlm)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinstall :: nlms FORCE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Any specialized rules here
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Include the 'tail' makefile that has targets that depend on variables defined
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# in this makefile
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg