e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# Make sure all needed macro's are defined
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# Get the 'head' of the build environment if necessary. This includes default
e02a063b3d675678c3b08075d84f30e665d1d53and# targets and paths to tools
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andifndef EnvironmentDefined
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
e02a063b3d675678c3b08075d84f30e665d1d53andendif
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These directories will be at the beginning of the include list, followed by
e02a063b3d675678c3b08075d84f30e665d1d53and# INCDIRS
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andXINCDIRS += \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(APR)/include \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
e02a063b3d675678c3b08075d84f30e665d1d53and $(NWOS) \
b387b9d37fc71c534f4718777454a8f5a1169017fuankg $(STDMOD)/database \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These flags will come after CFLAGS
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andXCFLAGS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These defines will come after DEFINES
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andXDEFINES += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These flags will be added to the link.opt file
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andXLFLAGS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These values will be appended to the correct variables based on the value of
e02a063b3d675678c3b08075d84f30e665d1d53and# RELEASE
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andifeq "$(RELEASE)" "debug"
e02a063b3d675678c3b08075d84f30e665d1d53andXINCDIRS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXCFLAGS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXDEFINES += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53andendif
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andifeq "$(RELEASE)" "noopt"
e02a063b3d675678c3b08075d84f30e665d1d53andXINCDIRS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXCFLAGS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXDEFINES += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXLFLAGS += \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53andendif
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andifeq "$(RELEASE)" "release"
e02a063b3d675678c3b08075d84f30e665d1d53andXINCDIRS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXCFLAGS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXDEFINES += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andXLFLAGS += \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53andendif
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These are used by the link target if an NLM is being generated
e02a063b3d675678c3b08075d84f30e665d1d53and# This is used by the link 'name' directive to name the nlm. If left blank
e02a063b3d675678c3b08075d84f30e665d1d53and# TARGET_nlm (see below) will be used.
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_NAME = authzdbd
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# This is used by the link '-desc ' directive.
e02a063b3d675678c3b08075d84f30e665d1d53and# If left blank, NLM_NAME will be used.
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andNLM_DESCRIPTION = Apache $(VERSION_STR) DBD Database Authorization Module
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# This is used by the '-threadname' directive. If left blank,
e02a063b3d675678c3b08075d84f30e665d1d53and# NLM_NAME Thread will be used.
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andNLM_THREAD_NAME = AuthzDBD Module
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified, it will override VERSION value in
0662ed52e814f8f08ef0e09956413a792584eddffuankg# $(AP_WORK)/build/NWGNUenvironment.inc
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_VERSION =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If this is specified, it will override the default of 64K
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andNLM_STACK_SIZE = 8192
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If this is specified it will be used by the link '-entry' directive
e02a063b3d675678c3b08075d84f30e665d1d53and#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If this is specified it will be used by the link '-exit' directive
e02a063b3d675678c3b08075d84f30e665d1d53and#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If this is specified it will be used by the link '-check' directive
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andNLM_CHECK_SYM =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If these are specified it will be used by the link '-flags' directive
e02a063b3d675678c3b08075d84f30e665d1d53and#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_FLAGS =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified it will be linked in with the XDCData option in the def
e02a063b3d675678c3b08075d84f30e665d1d53and# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
e02a063b3d675678c3b08075d84f30e665d1d53and# by setting APACHE_UNIPROC in the environment
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgXDCDATA =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If there is an NLM target, put it here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andTARGET_nlm = \
e02a063b3d675678c3b08075d84f30e665d1d53and $(OBJDIR)/authzdbd.nlm \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If there is an LIB target, put it here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andTARGET_lib = \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These are the OBJ files needed to create the NLM target above.
e02a063b3d675678c3b08075d84f30e665d1d53and# Paths must all use the '/' character
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILES_nlm_objs = \
e02a063b3d675678c3b08075d84f30e665d1d53and $(OBJDIR)/mod_authz_dbd.o \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These are the LIB files needed to create the NLM target above.
e02a063b3d675678c3b08075d84f30e665d1d53and# These will be added as a library command in the link.opt file.
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# These are the modules that the above NLM target depends on to load.
e02a063b3d675678c3b08075d84f30e665d1d53and# These will be added as a module command in the link.opt file.
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILES_nlm_modules = \
e02a063b3d675678c3b08075d84f30e665d1d53and aprlib \
e02a063b3d675678c3b08075d84f30e665d1d53and libc \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If the nlm has a msg file, put it's path here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILE_nlm_msg =
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If the nlm has a hlp file put it's path here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILE_nlm_hlp =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# If this is specified, it will override $(NWOS)\copyright.txt.
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILE_nlm_copyright =
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# Any additional imports go here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILES_nlm_Ximports = \
8ffac2c334103c0336602aaede650cb578611151fuankg @aprlib.imp \
8ffac2c334103c0336602aaede650cb578611151fuankg @httpd.imp \
e02a063b3d675678c3b08075d84f30e665d1d53and @libc.imp \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
e02a063b3d675678c3b08075d84f30e665d1d53and# Any symbols exported to here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILES_nlm_exports = \
e02a063b3d675678c3b08075d84f30e665d1d53and authz_dbd_module \
e02a063b3d675678c3b08075d84f30e665d1d53and $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
e02a063b3d675678c3b08075d84f30e665d1d53and# These are the OBJ files needed to create the LIB target above.
e02a063b3d675678c3b08075d84f30e665d1d53and# Paths must all use the '/' character
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andFILES_lib_objs = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# implement targets and dependancies (leave this section alone)
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andlibs :: $(OBJDIR) $(TARGET_lib)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53andnlms :: libs $(TARGET_nlm)
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53andinstall :: nlms FORCE
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# Any specialized rules here
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and# Include the 'tail' makefile that has targets that depend on variables defined
e02a063b3d675678c3b08075d84f30e665d1d53and# in this makefile
e02a063b3d675678c3b08075d84f30e665d1d53and#
e02a063b3d675678c3b08075d84f30e665d1d53and
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc
e02a063b3d675678c3b08075d84f30e665d1d53and
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg