NWGNUpolicy revision eff68915baacc246f5ec7256f498b3d1dbbcf683
39a8abdb83d00eb57e2395dbd3931c129391a951Automatic Updater# Declare the sub-directories to be built here
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Get the 'head' of the build environment. This includes default targets and
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# paths to tools
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewsinclude $(AP_WORK)/build/NWGNUhead.inc
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# build this level's files
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# Make sure all needed macro's are defined
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt# These directories will be at the beginning of the include list, followed by
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark AndrewsXINCDIRS += \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(APR)/include \
61e9c1cdbe29683bb2db388e4fc6a6fd59315cefDavid Lawrence $(APRUTIL)/include \
61e9c1cdbe29683bb2db388e4fc6a6fd59315cefDavid Lawrence $(SRC)/include \
61e9c1cdbe29683bb2db388e4fc6a6fd59315cefDavid Lawrence# These flags will come after CFLAGS
61e9c1cdbe29683bb2db388e4fc6a6fd59315cefDavid Lawrence# These defines will come after DEFINES
b9fcdde267398d4f94e5cc5fe280eba738191247Bob HalleyXDEFINES += \
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉# These flags will be added to the link.opt file
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# These values will be appended to the correct variables based on the value of
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinifeq "$(RELEASE)" "debug"
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinXINCDIRS += \
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark AndrewsXDEFINES += \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinifeq "$(RELEASE)" "noopt"
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinXINCDIRS += \
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinXDEFINES += \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinifeq "$(RELEASE)" "release"
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinXINCDIRS += \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# These are used by the link target if an NLM is being generated
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# This is used by the link 'name' directive to name the nlm. If left blank
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley# TARGET_nlm (see below) will be used.
bafa76b324e2336d707a158cccdb309df30bca65Shawn RouthierNLM_NAME = policy
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews# This is used by the link '-desc ' directive.
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews# If left blank, NLM_NAME will be used.
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark AndrewsNLM_DESCRIPTION = Apache $(VERSION_STR) Policy Module
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews# This is used by the '-threadname' directive. If left blank,
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews# NLM_NAME Thread will be used.
bfcc5ae79a46c5c55e6cf1a9fe4d70a957712d2bTatuya JINMEI 神明達哉NLM_THREAD_NAME = $(NLM_NAME) Module
d653744935f98ace7e5a6423c93ed77bcea34b4aDavid Lawrence# If this is specified, it will override VERSION value in
d653744935f98ace7e5a6423c93ed77bcea34b4aDavid Lawrence# If this is specified, it will override the default of 64K
d653744935f98ace7e5a6423c93ed77bcea34b4aDavid LawrenceNLM_STACK_SIZE = 8192
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# If this is specified it will be used by the link '-entry' directive
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/mod_policy.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.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc