NWGNUmodbuffer revision 44f575c8cb19a7a5cd61664a7848be6bc197df02
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# Declare the sub-directories to be built here
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fieldingSUBDIRS = \
842ae4bd224140319ae7feec1872b93dfd491143fielding $(EOLIST)
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd#
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard# Get the 'head' of the build environment. This includes default targets and
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# paths to tools
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd#
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcndinclude $(AP_WORK)/build/NWGNUhead.inc
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard#
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard# build this level's files
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh#
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh# Make sure all needed macro's are defined
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh#
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh
742318b93e89c311f66b55f426c4d9cf2c14628bjim#
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh# These directories will be at the beginning of the include list, followed by
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh# INCDIRS
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh#
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianhXINCDIRS += \
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh $(APR)/include \
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe $(APRUTIL)/include \
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe $(SRC)/include \
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe $(NWOS) \
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe $(EOLIST)
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe
00cfefce1f9462e4fb8d6bcec2dc26329811e737wrowe#
00cfefce1f9462e4fb8d6bcec2dc26329811e737wrowe# These flags will come after CFLAGS
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard#
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wroweXCFLAGS += \
611df01ada045b88c4d5be6018975f7d73092f8ewrowe $(EOLIST)
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard
37a4ebc94c879426867c18fff6124fe4ca80071dstoddard#
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# These defines will come after DEFINES
14584dfbe1c5311cf36a88f8e7bccdb121854fbfwrowe#
14584dfbe1c5311cf36a88f8e7bccdb121854fbfwroweXDEFINES += \
14584dfbe1c5311cf36a88f8e7bccdb121854fbfwrowe $(EOLIST)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
14584dfbe1c5311cf36a88f8e7bccdb121854fbfwrowe#
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# These flags will be added to the link.opt file
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick#
71debfa33ffaf708f3803495c4caf6b00b78ac86trawickXLFLAGS += \
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick $(EOLIST)
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick#
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick# These values will be appended to the correct variables based on the value of
71debfa33ffaf708f3803495c4caf6b00b78ac86trawick# RELEASE
3d72602d1d9e6f0d49d20f0d0a71831c160ef589wrowe#
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingifeq "$(RELEASE)" "debug"
2bbc77736b206b2fad7556674abd4eeff0573b62wroweXINCDIRS += \
3d72602d1d9e6f0d49d20f0d0a71831c160ef589wrowe $(EOLIST)
eb3e693170bfd5fe1cf7f36a60befdd547b368d6stoddard
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingXCFLAGS += \
743813078ccd327a79847702b183f06bbf53325btrawick $(EOLIST)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wroweXDEFINES += \
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe $(EOLIST)
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wroweXLFLAGS += \
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awrowe $(EOLIST)
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awroweendif
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awrowe
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awroweifeq "$(RELEASE)" "noopt"
45a0557e8f46cf6be6ee93adea4dbe77ca4232b4wroweXINCDIRS += \
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awrowe $(EOLIST)
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awrowe
29c5f2ac6f7230c6ddf302a4931b59dc4709cd3dstoddardXCFLAGS += \
502964c5f9ada9e3d702fd9df4bf4c17cb58e14awrowe $(EOLIST)
e01741cd318f7107dccc0ed8758d4c478f523ec6wrowe
e01741cd318f7107dccc0ed8758d4c478f523ec6wroweXDEFINES += \
e01741cd318f7107dccc0ed8758d4c478f523ec6wrowe $(EOLIST)
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe
075eade1756929cb292e12c6490949d7343264f9wroweXLFLAGS += \
075eade1756929cb292e12c6490949d7343264f9wrowe $(EOLIST)
075eade1756929cb292e12c6490949d7343264f9wroweendif
075eade1756929cb292e12c6490949d7343264f9wrowe
9e12bb8a48225fc58bc56166b1104158e0d17ed4wroweifeq "$(RELEASE)" "release"
9e12bb8a48225fc58bc56166b1104158e0d17ed4wroweXINCDIRS += \
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe $(EOLIST)
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe
9e12bb8a48225fc58bc56166b1104158e0d17ed4wroweXCFLAGS += \
13ac66e9c773fd63bf3c5e33a8de956df3feaf5dfuankg $(EOLIST)
13ac66e9c773fd63bf3c5e33a8de956df3feaf5dfuankg
13ac66e9c773fd63bf3c5e33a8de956df3feaf5dfuankgXDEFINES += \
13ac66e9c773fd63bf3c5e33a8de956df3feaf5dfuankg $(EOLIST)
13ac66e9c773fd63bf3c5e33a8de956df3feaf5dfuankg
9e12bb8a48225fc58bc56166b1104158e0d17ed4wroweXLFLAGS += \
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe $(EOLIST)
9e12bb8a48225fc58bc56166b1104158e0d17ed4wroweendif
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe
aecf42dc99d18606f701fac22608c1819f38dcc7trawick#
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe# These are used by the link target if an NLM is being generated
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe# This is used by the link 'name' directive to name the nlm. If left blank
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe# TARGET_nlm (see below) will be used.
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe#
9e12bb8a48225fc58bc56166b1104158e0d17ed4wroweNLM_NAME = modbuffer
ed97bc5a0278d0ad796fa6a8965de61116c92ea7trawick
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe#
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe# This is used by the link '-desc ' directive.
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe# If left blank, NLM_NAME will be used.
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe#
075eade1756929cb292e12c6490949d7343264f9wroweNLM_DESCRIPTION = Apache $(VERSION_STR) Buffer Module
9e12bb8a48225fc58bc56166b1104158e0d17ed4wrowe
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe#
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe# This is used by the '-threadname' directive. If left blank,
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe# NLM_NAME Thread will be used.
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe#
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wroweNLM_THREAD_NAME = modbuffer
fe679cfd0b0ba1f8d59f09460548d2a7d0231f63wrowe
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh#
# If this is specified, it will override VERSION value in
# $(AP_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION =
#
# If this is specified, it will override the default of 64K
#
NLM_STACK_SIZE = 8192
#
# If this is specified it will be used by the link '-entry' directive
#
NLM_ENTRY_SYM =
#
# If this is specified it will be used by the link '-exit' directive
#
NLM_EXIT_SYM =
#
# If this is specified it will be used by the link '-check' directive
#
NLM_CHECK_SYM =
#
# If these are specified it will be used by the link '-flags' directive
#
NLM_FLAGS =
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
# by setting APACHE_UNIPROC in the environment
#
XDCDATA =
#
# If there is an NLM target, put it here
#
TARGET_nlm = \
$(OBJDIR)/modbuffer.nlm \
$(EOLIST)
#
# If there is an LIB target, put it here
#
TARGET_lib = \
$(EOLIST)
#
# These are the OBJ files needed to create the NLM target above.
# Paths must all use the '/' character
#
FILES_nlm_objs = \
$(OBJDIR)/mod_buffer.o \
$(EOLIST)
#
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the link.opt file.
#
FILES_nlm_libs = \
$(PRELUDE) \
$(EOLIST)
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
#
FILES_nlm_modules = \
aprlib \
libc \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# 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 \
@libc.imp \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
buffer_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
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(APBUILD)/NWGNUtail.inc