NWGNUmakefile revision 1deefaad8846266c903a2622d2d5f9df9ef91ad1
524N/A#
2362N/A# Declare the sub-directories to be built here
524N/A#
524N/A
524N/ASUBDIRS = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# Get the 'head' of the build environment. This includes default targets and
524N/A# paths to tools
524N/A#
524N/A
524N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
524N/A
524N/A#
524N/A# build this level's files
524N/A
524N/A#
2362N/A# Make sure all needed macro's are defined
2362N/A#
2362N/A
524N/A#
524N/A# These directories will be at the beginning of the include list, followed by
524N/A# INCDIRS
524N/A#
524N/AXINCDIRS += \
524N/A $(EOLIST)
1477N/A
524N/A#
524N/A# These flags will come after CFLAGS
524N/A#
524N/AXCFLAGS += \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These defines will come after DEFINES
524N/A#
524N/AXDEFINES += \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These flags will be added to the link.opt file
524N/A#
524N/AXLFLAGS += \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These values will be appended to the correct variables based on the value of
524N/A# RELEASE
524N/A#
524N/Aifeq "$(RELEASE)" "debug"
524N/AXINCDIRS += \
524N/A $(EOLIST)
524N/A
4216N/AXCFLAGS += \
524N/A $(EOLIST)
524N/A
524N/AXDEFINES += \
524N/A $(EOLIST)
524N/A
524N/AXLFLAGS += \
524N/A $(EOLIST)
524N/Aendif
524N/A
524N/Aifeq "$(RELEASE)" "noopt"
524N/AXINCDIRS += \
524N/A $(EOLIST)
893N/A
524N/AXCFLAGS += \
893N/A $(EOLIST)
524N/A
893N/AXDEFINES += \
524N/A $(EOLIST)
524N/A
524N/AXLFLAGS += \
524N/A $(EOLIST)
524N/Aendif
524N/A
524N/Aifeq "$(RELEASE)" "release"
524N/AXINCDIRS += \
524N/A $(EOLIST)
524N/A
524N/AXCFLAGS += \
524N/A $(EOLIST)
524N/A
524N/AXDEFINES += \
524N/A $(EOLIST)
524N/A
524N/AXLFLAGS += \
893N/A $(EOLIST)
524N/Aendif
893N/A
524N/A#
893N/A# These are used by the link target if an NLM is being generated
524N/A# This is used by the link 'name' directive to name the nlm. If left blank
524N/A# TARGET_nlm (see below) will be used.
524N/A#
524N/ANLM_NAME =
524N/A
524N/A#
524N/A# This is used by the link '-desc ' directive.
524N/A# If left blank, NLM_NAME will be used.
524N/A#
524N/ANLM_DESCRIPTION =
524N/A
524N/A#
524N/A# This is used by the '-threadname' directive. If left blank,
524N/A# NLM_NAME Thread will be used.
524N/A#
524N/ANLM_THREAD_NAME =
524N/A
524N/A#
524N/A# If this is specified, it will override VERSION value in
524N/A# $(AP_WORK)/build/NWGNUenvironment.inc
524N/A#
524N/ANLM_VERSION =
524N/A
4216N/A#
524N/A# If this is specified, it will override the default of 64K
524N/A#
524N/ANLM_STACK_SIZE =
524N/A
524N/A
524N/A#
524N/A# If this is specified it will be used by the link '-entry' directive
524N/A#
524N/ANLM_ENTRY_SYM =
524N/A
524N/A#
524N/A# If this is specified it will be used by the link '-exit' directive
524N/A#
524N/ANLM_EXIT_SYM =
524N/A
524N/A#
524N/A# If this is specified it will be used by the link '-check' directive
524N/A#
524N/ANLM_CHECK_SYM =
524N/A
524N/A#
524N/A# If these are specified it will be used by the link '-flags' directive
524N/A#
524N/ANLM_FLAGS =
524N/A
524N/A#
524N/A# If this is specified it will be linked in with the XDCData option in the def
524N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
524N/A# by setting APACHE_UNIPROC in the environment
524N/A#
524N/AXDCDATA =
524N/A
524N/A#
524N/A# If there is an NLM target, put it here
524N/A#
524N/ATARGET_nlm = \
524N/A $(OBJDIR)/session.nlm \
524N/A $(OBJDIR)/session_cookie.nlm \
524N/A $(OBJDIR)/session_dbd.nlm \
524N/A $(EOLIST)
524N/A
524N/A# If the APU library has cryptp API then build the mod_session_crypto module
524N/Aifdef APU_HAVE_CRYPTO
524N/ATARGET_nlm += $(OBJDIR)/session_crypto.nlm
524N/Aendif
524N/A
524N/A#
524N/A# If there is an LIB target, put it here
524N/A#
524N/ATARGET_lib = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These are the OBJ files needed to create the NLM target above.
524N/A# Paths must all use the '/' character
524N/A#
524N/AFILES_nlm_objs = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These are the LIB files needed to create the NLM target above.
524N/A# These will be added as a library command in the link.opt file.
524N/A#
524N/AFILES_nlm_libs = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These are the modules that the above NLM target depends on to load.
524N/A# These will be added as a module command in the link.opt file.
524N/A#
524N/AFILES_nlm_modules = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# If the nlm has a msg file, put it's path here
524N/A#
524N/AFILE_nlm_msg =
524N/A
524N/A#
524N/A# If the nlm has a hlp file put it's path here
524N/A#
524N/AFILE_nlm_hlp =
524N/A
524N/A#
524N/A# If this is specified, it will override $(NWOS)\copyright.txt.
524N/A#
524N/AFILE_nlm_copyright =
524N/A
524N/A#
524N/A# Any additional imports go here
524N/A#
524N/AFILES_nlm_Ximports = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# Any symbols exported to here
524N/A#
524N/AFILES_nlm_exports = \
524N/A $(EOLIST)
524N/A
524N/A#
524N/A# These are the OBJ files needed to create the LIB target above.
524N/A# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
$(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc