97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# Make sure all needed macro's are defined
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# Get the 'head' of the build environment if necessary. This includes default
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# targets and paths to tools
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndifndef EnvironmentDefined
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erboweninclude $(AP_WORK)/build/NWGNUhead.inc
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowenendif
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# These directories will be at the beginning of the include list, followed by
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# INCDIRS
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen#
3f08db06526d6901aa08c110b5bc7dde6bc39905ndXINCDIRS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(APR)/include \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(APRUTIL)/include \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(SRC)/include \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(STDMOD)/http \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(NWOS) \
9472e4d3c410be3b3f1addbf3b1db1769f64e765nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
1c8f2418892d98febb00a06b9a4f45f8bcfd80a3nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# These flags will come after CFLAGS
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenXCFLAGS += \
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem#
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem# These defines will come after DEFINES
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem#
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluemXDEFINES += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# These flags will be added to the link.opt file
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXLFLAGS += \
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# These values will be appended to the correct variables based on the value of
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# RELEASE
4b5981e276e93df97c34e4da05ca5cf8bbd937dand#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndifeq "$(RELEASE)" "debug"
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXINCDIRS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXCFLAGS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXDEFINES += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXLFLAGS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndendif
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndifeq "$(RELEASE)" "noopt"
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXINCDIRS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXCFLAGS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXDEFINES += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXLFLAGS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndendif
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndifeq "$(RELEASE)" "release"
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXINCDIRS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXCFLAGS += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXDEFINES += \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXLFLAGS += \
4b5981e276e93df97c34e4da05ca5cf8bbd937dand $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndendif
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# These are used by the link target if an NLM is being generated
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# This is used by the link 'name' directive to name the nlm. If left blank
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# TARGET_nlm (see below) will be used.
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_NAME = proxyajp
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# This is used by the link '-desc ' directive.
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If left blank, NLM_NAME will be used.
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy AJP Sub-Module
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# This is used by the '-threadname' directive. If left blank,
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# NLM_NAME Thread will be used.
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_THREAD_NAME = Proxy AJP Module
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If this is specified, it will override VERSION value in
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# $(AP_WORK)/build/NWGNUenvironment.inc
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_VERSION =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If this is specified, it will override the default of 64K
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_STACK_SIZE = 8192
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If this is specified it will be used by the link '-entry' directive
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_ENTRY_SYM =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If this is specified it will be used by the link '-exit' directive
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_EXIT_SYM =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If this is specified it will be used by the link '-check' directive
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_CHECK_SYM =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If these are specified it will be used by the link '-flags' directive
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndNLM_FLAGS =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If this is specified it will be linked in with the XDCData option in the def
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# by setting APACHE_UNIPROC in the environment
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndXDCDATA =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If there is an NLM target, put it here
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndTARGET_nlm = \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(OBJDIR)/proxyajp.nlm \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# If there is an LIB target, put it here
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34ndTARGET_lib = \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(EOLIST)
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# These are the OBJ files needed to create the NLM target above.
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd# Paths must all use the '/' character
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd#
9472e4d3c410be3b3f1addbf3b1db1769f64e765ndFILES_nlm_objs = \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(OBJDIR)/mod_proxy_ajp.o \
1c8f2418892d98febb00a06b9a4f45f8bcfd80a3nd $(OBJDIR)/ajp_header.o \
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd $(OBJDIR)/ajp_msg.o \
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd $(OBJDIR)/ajp_link.o \
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen $(OBJDIR)/ajp_utils.o \
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen $(OBJDIR)/libprews.o \
727872d18412fc021f03969b8641810d8896820bhumbedooh $(EOLIST)
0d0ba3a410038e179b695446bb149cce6264e0abnd
727872d18412fc021f03969b8641810d8896820bhumbedooh#
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh# These are the LIB files needed to create the NLM target above.
0d0ba3a410038e179b695446bb149cce6264e0abnd# These will be added as a library command in the link.opt file.
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh#
727872d18412fc021f03969b8641810d8896820bhumbedoohFILES_nlm_libs = \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(PRELUDE) \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(EOLIST)
0d0ba3a410038e179b695446bb149cce6264e0abnd
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh#
0d0ba3a410038e179b695446bb149cce6264e0abnd# These are the modules that the above NLM target depends on to load.
0d0ba3a410038e179b695446bb149cce6264e0abnd# These will be added as a module command in the link.opt file.
0d0ba3a410038e179b695446bb149cce6264e0abnd#
727872d18412fc021f03969b8641810d8896820bhumbedoohFILES_nlm_modules = \
0d0ba3a410038e179b695446bb149cce6264e0abnd aprlib \
0d0ba3a410038e179b695446bb149cce6264e0abnd libc \
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh proxy \
5effc8b39fae5cd169d17f342bfc265705840014rbowen $(EOLIST)
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen
0d0ba3a410038e179b695446bb149cce6264e0abnd#
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd# If the nlm has a msg file, put it's path here
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd#
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndFILE_nlm_msg =
97a3ecc40b65d5f8e865bbe0b1c9325d8c016e34nd
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
@aprlib.imp \
@httpd.imp \
@$(OBJDIR)/mod_proxy.imp \
@libc.imp \
$(EOLIST)
# Don't link with Winsock if standard sockets are being used
ifndef USE_STDSOCKETS
FILES_nlm_Ximports += @ws2nlm.imp \
$(EOLIST)
endif
#
# Any symbols exported to here
#
FILES_nlm_exports = \
proxy_ajp_module \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# 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
#
# Any specialized rules here
#
vpath %.c ../arch/netware
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc