NWGNUproxyajp revision 0662ed52e814f8f08ef0e09956413a792584eddf
4518N/A#
4518N/A# Make sure all needed macro's are defined
4518N/A#
4518N/A
4518N/A#
4518N/A# Get the 'head' of the build environment if necessary. This includes default
4518N/A# targets and paths to tools
4518N/A#
4518N/A
4518N/Aifndef EnvironmentDefined
4518N/Ainclude $(AP_WORK)/build/NWGNUhead.inc
4518N/Aendif
4518N/A
4518N/A#
4518N/A# These directories will be at the beginning of the include list, followed by
4518N/A# INCDIRS
4518N/A#
4518N/AXINCDIRS += \
4518N/A $(APR)/include \
4518N/A $(APRUTIL)/include \
4518N/A $(AP_WORK)/include \
4518N/A $(AP_WORK)/modules/http \
4518N/A $(NWOS) \
4518N/A $(EOLIST)
5064N/A
4518N/A#
4518N/A# These flags will come after CFLAGS
4518N/A#
4518N/AXCFLAGS += \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These defines will come after DEFINES
4518N/A#
4518N/AXDEFINES += \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These flags will be added to the link.opt file
4518N/A#
4518N/AXLFLAGS += \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These values will be appended to the correct variables based on the value of
4518N/A# RELEASE
4518N/A#
4868N/Aifeq "$(RELEASE)" "debug"
4518N/AXINCDIRS += \
4518N/A $(EOLIST)
4518N/A
4518N/AXCFLAGS += \
4518N/A $(EOLIST)
4518N/A
4518N/AXDEFINES += \
4518N/A $(EOLIST)
4518N/A
4518N/AXLFLAGS += \
4518N/A $(EOLIST)
4518N/Aendif
4518N/A
4518N/Aifeq "$(RELEASE)" "noopt"
4518N/AXINCDIRS += \
4518N/A $(EOLIST)
4518N/A
4518N/AXCFLAGS += \
4518N/A $(EOLIST)
4518N/A
4518N/AXDEFINES += \
4518N/A $(EOLIST)
4518N/A
4518N/AXLFLAGS += \
4518N/A $(EOLIST)
4518N/Aendif
4518N/A
4518N/Aifeq "$(RELEASE)" "release"
4518N/AXINCDIRS += \
4518N/A $(EOLIST)
4518N/A
4518N/AXCFLAGS += \
4518N/A $(EOLIST)
4518N/A
4518N/AXDEFINES += \
4518N/A $(EOLIST)
4518N/A
4518N/AXLFLAGS += \
4518N/A $(EOLIST)
4518N/Aendif
4518N/A
4518N/A#
4518N/A# These are used by the link target if an NLM is being generated
4518N/A# This is used by the link 'name' directive to name the nlm. If left blank
4518N/A# TARGET_nlm (see below) will be used.
4518N/A#
4518N/ANLM_NAME = proxyajp
4518N/A
4518N/A#
4518N/A# This is used by the link '-desc ' directive.
4518N/A# If left blank, NLM_NAME will be used.
4518N/A#
4518N/ANLM_DESCRIPTION = Apache $(VERSION_STR) Proxy AJP Sub-Module
4518N/A
4518N/A#
4518N/A# This is used by the '-threadname' directive. If left blank,
4518N/A# NLM_NAME Thread will be used.
4518N/A#
4518N/ANLM_THREAD_NAME = Proxy AJP Module
4518N/A
4518N/A#
4518N/A# If this is specified, it will override VERSION value in
4518N/A# $(AP_WORK)/build/NWGNUenvironment.inc
4518N/A#
4518N/ANLM_VERSION =
4518N/A
4518N/A#
4518N/A# If this is specified, it will override the default of 64K
4518N/A#
4518N/ANLM_STACK_SIZE = 8192
4518N/A
4518N/A
4518N/A#
4518N/A# If this is specified it will be used by the link '-entry' directive
4518N/A#
4518N/ANLM_ENTRY_SYM =
4518N/A
4518N/A#
4518N/A# If this is specified it will be used by the link '-exit' directive
4518N/A#
4518N/ANLM_EXIT_SYM =
4518N/A
4518N/A#
4518N/A# If this is specified it will be used by the link '-check' directive
4518N/A#
4518N/ANLM_CHECK_SYM =
4518N/A
4518N/A#
4518N/A# If these are specified it will be used by the link '-flags' directive
4518N/A#
4518N/ANLM_FLAGS =
4518N/A
4518N/A#
4518N/A# If this is specified it will be linked in with the XDCData option in the def
4518N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
4518N/A# by setting APACHE_UNIPROC in the environment
4518N/A#
4518N/AXDCDATA =
4518N/A
4518N/A#
4518N/A# If there is an NLM target, put it here
4518N/A#
4518N/ATARGET_nlm = \
4518N/A $(OBJDIR)/proxyajp.nlm \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# If there is an LIB target, put it here
4518N/A#
4518N/ATARGET_lib = \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These are the OBJ files needed to create the NLM target above.
4518N/A# Paths must all use the '/' character
4518N/A#
4518N/AFILES_nlm_objs = \
4518N/A $(OBJDIR)/mod_proxy_ajp.o \
4518N/A $(OBJDIR)/proxy_util.o \
4518N/A $(OBJDIR)/ajp_header.o \
4518N/A $(OBJDIR)/ajp_msg.o \
4518N/A $(OBJDIR)/ajp_link.o \
4518N/A $(OBJDIR)/ajp_utils.o \
4518N/A $(OBJDIR)/libprews.o \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These are the LIB files needed to create the NLM target above.
4518N/A# These will be added as a library command in the link.opt file.
4518N/A#
4518N/AFILES_nlm_libs = \
4518N/A libcpre.o \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These are the modules that the above NLM target depends on to load.
4518N/A# These will be added as a module command in the link.opt file.
4518N/A#
4518N/AFILES_nlm_modules = \
4518N/A aprlib \
4518N/A libc \
4518N/A proxy \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# If the nlm has a msg file, put it's path here
4518N/A#
4518N/AFILE_nlm_msg =
4518N/A
4518N/A#
4518N/A# If the nlm has a hlp file put it's path here
4518N/A#
4518N/AFILE_nlm_hlp =
4518N/A
4518N/A#
4518N/A# If this is specified, it will override $(NWOS)\copyright.txt.
4518N/A#
4518N/AFILE_nlm_copyright =
4518N/A
4518N/A#
4518N/A# Any additional imports go here
4518N/A#
4518N/AFILES_nlm_Ximports = \
4518N/A @$(APR)/aprlib.imp \
4518N/A @$(NWOS)/httpd.imp \
4518N/A @$(OBJDIR)/mod_proxy.imp \
4518N/A @libc.imp \
4518N/A $(EOLIST)
4518N/A
4518N/A# Don't link with Winsock if standard sockets are being used
4518N/Aifndef USE_STDSOCKETS
4518N/AFILES_nlm_Ximports += @ws2nlm.imp \
4518N/A $(EOLIST)
4518N/Aendif
4518N/A
4518N/A#
4518N/A# Any symbols exported to here
4518N/A#
4518N/AFILES_nlm_exports = \
4518N/A proxy_ajp_module \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# These are the OBJ files needed to create the LIB target above.
4518N/A# Paths must all use the '/' character
4518N/A#
4518N/AFILES_lib_objs = \
4518N/A $(EOLIST)
4518N/A
4518N/A#
4518N/A# implement targets and dependancies (leave this section alone)
4518N/A#
4518N/A
4518N/Alibs :: $(OBJDIR) $(TARGET_lib)
4518N/A
4518N/Anlms :: libs $(TARGET_nlm)
4518N/A
4518N/A#
4518N/A# Updated this target to create necessary directories and copy files to the
4518N/A# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
4518N/A#
4518N/Ainstall :: nlms FORCE
4518N/A
4518N/A#
4518N/A# Any specialized rules here
4518N/A#
4518N/A
4518N/Avpath %.c ../arch/netware
4518N/A
4518N/A#
4518N/A# Include the 'tail' makefile that has targets that depend on variables defined
4518N/A# in this makefile
4518N/A#
4518N/A
4518N/Ainclude $(APBUILD)/NWGNUtail.inc
4518N/A
4518N/A
4518N/A