770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Make sure all needed macro's are defined
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Get the 'head' of the build environment if necessary. This includes default
770af025f2fda969947de47957afcbef1d31eb9dfuankg# targets and paths to tools
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgifndef EnvironmentDefined
770af025f2fda969947de47957afcbef1d31eb9dfuankginclude $(AP_WORK)/build/NWGNUhead.inc
770af025f2fda969947de47957afcbef1d31eb9dfuankgendif
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These directories will be at the beginning of the include list, followed by
770af025f2fda969947de47957afcbef1d31eb9dfuankg# INCDIRS
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgXINCDIRS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(LIBXML2SDK)/include \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(APR)/include \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(STDMOD)/http \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(NWOS) \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These flags will come after CFLAGS
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgXCFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These defines will come after DEFINES
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgXDEFINES += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These flags will be added to the link.opt file
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgXLFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg -L$(LIBXML2SDK)/lib -llibxml2.lib \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These values will be appended to the correct variables based on the value of
770af025f2fda969947de47957afcbef1d31eb9dfuankg# RELEASE
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgifeq "$(RELEASE)" "debug"
770af025f2fda969947de47957afcbef1d31eb9dfuankgXINCDIRS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXCFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXDEFINES += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXLFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankgendif
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgifeq "$(RELEASE)" "noopt"
770af025f2fda969947de47957afcbef1d31eb9dfuankgXINCDIRS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXCFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXDEFINES += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXLFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankgendif
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgifeq "$(RELEASE)" "release"
770af025f2fda969947de47957afcbef1d31eb9dfuankgXINCDIRS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXCFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXDEFINES += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgXLFLAGS += \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankgendif
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These are used by the link target if an NLM is being generated
770af025f2fda969947de47957afcbef1d31eb9dfuankg# This is used by the link 'name' directive to name the nlm. If left blank
770af025f2fda969947de47957afcbef1d31eb9dfuankg# TARGET_nlm (see below) will be used.
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_NAME = proxyhtml
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# This is used by the link '-desc ' directive.
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If left blank, NLM_NAME will be used.
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy HTML Module
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# This is used by the '-threadname' directive. If left blank,
770af025f2fda969947de47957afcbef1d31eb9dfuankg# NLM_NAME Thread will be used.
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_THREAD_NAME = Proxy HTTP Module
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified, it will override VERSION value in
770af025f2fda969947de47957afcbef1d31eb9dfuankg# $(AP_WORK)/build/NWGNUenvironment.inc
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_VERSION =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified, it will override the default of 64K
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_STACK_SIZE = 8192
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified it will be used by the link '-entry' directive
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_ENTRY_SYM =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified it will be used by the link '-exit' directive
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_EXIT_SYM =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified it will be used by the link '-check' directive
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_CHECK_SYM =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If these are specified it will be used by the link '-flags' directive
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgNLM_FLAGS =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified it will be linked in with the XDCData option in the def
770af025f2fda969947de47957afcbef1d31eb9dfuankg# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
770af025f2fda969947de47957afcbef1d31eb9dfuankg# by setting APACHE_UNIPROC in the environment
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgXDCDATA =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If there is an NLM target, put it here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgTARGET_nlm = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(OBJDIR)/$(NLM_NAME).nlm \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If there is an LIB target, put it here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgTARGET_lib = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These are the OBJ files needed to create the NLM target above.
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Paths must all use the '/' character
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_nlm_objs = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(OBJDIR)/mod_proxy_html.o \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(OBJDIR)/libprews.o \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These are the LIB files needed to create the NLM target above.
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These will be added as a library command in the link.opt file.
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_nlm_libs = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(PRELUDE) \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These are the modules that the above NLM target depends on to load.
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These will be added as a module command in the link.opt file.
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_nlm_modules = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg aprlib \
770af025f2fda969947de47957afcbef1d31eb9dfuankg libc \
770af025f2fda969947de47957afcbef1d31eb9dfuankg proxy \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If the nlm has a msg file, put it's path here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILE_nlm_msg =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If the nlm has a hlp file put it's path here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILE_nlm_hlp =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# If this is specified, it will override $(NWOS)\copyright.txt.
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILE_nlm_copyright =
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Any additional imports go here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_nlm_Ximports = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg @aprlib.imp \
770af025f2fda969947de47957afcbef1d31eb9dfuankg @httpd.imp \
770af025f2fda969947de47957afcbef1d31eb9dfuankg @libc.imp \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Don't link with Winsock if standard sockets are being used
770af025f2fda969947de47957afcbef1d31eb9dfuankgifndef USE_STDSOCKETS
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_nlm_Ximports += @ws2nlm.imp \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankgendif
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Any symbols exported to here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_nlm_exports = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg proxy_html_module \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# These are the OBJ files needed to create the LIB target above.
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Paths must all use the '/' character
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankgFILES_lib_objs = \
770af025f2fda969947de47957afcbef1d31eb9dfuankg $(EOLIST)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# implement targets and dependancies (leave this section alone)
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankglibs :: $(OBJDIR) $(TARGET_lib)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgnlms :: libs $(TARGET_nlm)
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Updated this target to create necessary directories and copy files to the
770af025f2fda969947de47957afcbef1d31eb9dfuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankginstall :: nlms FORCE
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Any specialized rules here
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankgvpath %.c ../arch/netware
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg# Include the 'tail' makefile that has targets that depend on variables defined
770af025f2fda969947de47957afcbef1d31eb9dfuankg# in this makefile
770af025f2fda969947de47957afcbef1d31eb9dfuankg#
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankginclude $(APBUILD)/NWGNUtail.inc
770af025f2fda969947de47957afcbef1d31eb9dfuankg
770af025f2fda969947de47957afcbef1d31eb9dfuankg