NWGNUcach_dsk revision 44f575c8cb19a7a5cd61664a7848be6bc197df02
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens Elkner# Declare the sub-directories to be built here
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# Get the 'head' of the build environment. This includes default targets and
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# paths to tools
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# build this level's files
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# Make sure all needed macro's are defined
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# These directories will be at the beginning of the include list, followed by
12368e292c1abf7eaf975f20ee30ef7820ac5dd5Christian Maeder $(APR)/include \
12368e292c1abf7eaf975f20ee30ef7820ac5dd5Christian Maeder $(APRUTIL)/include \
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder $(SRC)/include \
12368e292c1abf7eaf975f20ee30ef7820ac5dd5Christian Maeder# These flags will come after CFLAGS
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# These defines will come after DEFINES
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# These flags will be added to the link.opt file
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# These values will be appended to the correct variables based on the value of
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maederifeq "$(RELEASE)" "debug"
c1d06b3018b34ede2b3fb6c7fe2ad28cd5ce5b68Christian Maederifeq "$(RELEASE)" "noopt"
f69416aa2b00518744d25a93aefbdb778f399787Cui JianXDEFINES += \
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maederifeq "$(RELEASE)" "release"
2dcec0e101ddd4169f5323462911e988337c2deeChristian Maeder# These are used by the link target if an NLM is being generated
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder# This is used by the link 'name' directive to name the nlm. If left blank
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder# TARGET_nlm (see below) will be used.
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian MaederNLM_NAME = cach_dsk
c31be14081ce2ed5a7b7eea3d6a02eb5c90cb73bChristian Maeder# This is used by the link '-desc ' directive.
edd35c6c970fa1707dc6ad7a3ba26119e0046223Cui Jian# If left blank, NLM_NAME will be used.
6c3404f178e77b7951d20c2d51de765c63dc1912Christian MaederNLM_DESCRIPTION = Apache $(VERSION_STR) Memory Cache Sub-Module
2afae0880da7ca73c9376fd4d653ab19833fe858Christian Maeder# This is used by the '-threadname' directive. If left blank,
2afae0880da7ca73c9376fd4d653ab19833fe858Christian Maeder# NLM_NAME Thread will be used.
2afae0880da7ca73c9376fd4d653ab19833fe858Christian MaederNLM_THREAD_NAME = $(NLM_NAME)
2afae0880da7ca73c9376fd4d653ab19833fe858Christian Maeder# If this is specified, it will override VERSION value in
2afae0880da7ca73c9376fd4d653ab19833fe858Christian Maeder# If this is specified, it will override the default of 64K
2afae0880da7ca73c9376fd4d653ab19833fe858Christian MaederNLM_STACK_SIZE = 65536
2afae0880da7ca73c9376fd4d653ab19833fe858Christian Maeder# If this is specified it will be used by the link '-entry' directive
2afae0880da7ca73c9376fd4d653ab19833fe858Christian MaederNLM_ENTRY_SYM =
2afae0880da7ca73c9376fd4d653ab19833fe858Christian Maeder# If this is specified it will be used by the link '-exit' directive
2afae0880da7ca73c9376fd4d653ab19833fe858Christian MaederNLM_EXIT_SYM =
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/mod_cache_disk.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@libc.imp \
@aprlib.imp \
@httpd.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc