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