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