NWGNUexample_ipc revision 8ffac2c334103c0336602aaede650cb578611151
893328ef6ff86d0ca27774778d84410353789fb0fielding# Declare the sub-directories to be built here
893328ef6ff86d0ca27774778d84410353789fb0fielding# Get the 'head' of the build environment. This includes default targets and
0202d2114cc6d7042995100519cce45c808c153bnd# paths to tools
0202d2114cc6d7042995100519cce45c808c153bndinclude $(AP_WORK)/build/NWGNUhead.inc
0202d2114cc6d7042995100519cce45c808c153bnd# build this level's files
893328ef6ff86d0ca27774778d84410353789fb0fielding# Make sure all needed macro's are defined
14eccd0082c748ae3464dc2459430ff0772b5107sf# These directories will be at the beginning of the include list, followed by
14eccd0082c748ae3464dc2459430ff0772b5107sfXINCDIRS += \
14eccd0082c748ae3464dc2459430ff0772b5107sf $(APR)/include \
14eccd0082c748ae3464dc2459430ff0772b5107sf $(APRUTIL)/include \
14eccd0082c748ae3464dc2459430ff0772b5107sf $(AP_WORK)/include \
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# These flags will come after CFLAGS
90b402e944318ae02afd50911eae6da1910f661dpquernaXCFLAGS += \
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# These defines will come after DEFINES
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantzXDEFINES += \
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# These flags will be added to the link.opt file
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# These values will be appended to the correct variables based on the value of
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantzifeq "$(RELEASE)" "debug"
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantzXINCDIRS += \
893328ef6ff86d0ca27774778d84410353789fb0fieldingXDEFINES += \
a9de7b69548bd69bfc84e9eea6a8215db2640deftakashiifeq "$(RELEASE)" "noopt"
0b7037d0efc1cd510ee12e8a35c982c3f2da0353pquernaXINCDIRS += \
c5694b1d7dca4f561ebce416b5ffacf856f825aawroweXCFLAGS += \
90b402e944318ae02afd50911eae6da1910f661dpquernaXDEFINES += \
90b402e944318ae02afd50911eae6da1910f661dpquernaXLFLAGS += \
91ea8a85362a63522578e4d59fc6bfe37bc8df17trawickifeq "$(RELEASE)" "release"
893328ef6ff86d0ca27774778d84410353789fb0fieldingXINCDIRS += \
0b7037d0efc1cd510ee12e8a35c982c3f2da0353pquernaXCFLAGS += \
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluemXDEFINES += \
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluemXLFLAGS += \
90b402e944318ae02afd50911eae6da1910f661dpquerna# These are used by the link target if an NLM is being generated
90b402e944318ae02afd50911eae6da1910f661dpquerna# This is used by the link 'name' directive to name the nlm. If left blank
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# TARGET_nlm (see below) will be used.
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluemNLM_NAME = example_ipc
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# This is used by the link '-desc ' directive.
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# If left blank, NLM_NAME will be used.
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluemNLM_DESCRIPTION = Apache $(VERSION_STR) Example IPC Callback Handler Module
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# This is used by the '-threadname' directive. If left blank,
91ea8a85362a63522578e4d59fc6bfe37bc8df17trawick# NLM_NAME Thread will be used.
91ea8a85362a63522578e4d59fc6bfe37bc8df17trawickNLM_THREAD_NAME = Example IPC Callback Handler Module
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# If this is specified, it will override VERSION value in
0b7037d0efc1cd510ee12e8a35c982c3f2da0353pquernaNLM_VERSION =
893328ef6ff86d0ca27774778d84410353789fb0fielding# If this is specified, it will override the default of 64K
893328ef6ff86d0ca27774778d84410353789fb0fieldingNLM_STACK_SIZE = 8192
623882f55701a4c5a6bded180f60d86a524ac341sascha# If this is specified it will be used by the link '-entry' directive
60f9d4d87a893330a01722ed518d0b3fff8eb2eejortonNLM_ENTRY_SYM =
c15906bab97b9b71b6dc08c1aa2f5c0b72b5ca4edreid# If this is specified it will be used by the link '-exit' directive
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschaNLM_EXIT_SYM =
893328ef6ff86d0ca27774778d84410353789fb0fielding# If this is specified it will be used by the link '-check' directive
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluemNLM_CHECK_SYM =
893328ef6ff86d0ca27774778d84410353789fb0fielding# If these are specified it will be used by the link '-flags' directive
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# If this is specified it will be linked in with the XDCData option in the def
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# by setting APACHE_UNIPROC in the environment
893328ef6ff86d0ca27774778d84410353789fb0fielding# If there is an NLM target, put it here
b399779260ac6f6ad2e808df429a496527648323jortonTARGET_nlm = \
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# If there is an LIB target, put it here
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluemTARGET_lib = \
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# These are the OBJ files needed to create the NLM target above.
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# Paths must all use the '/' character
1e5333ef1a0edb888d75c0cdd90b33fa7e89fc31wsanchezFILES_nlm_objs = \
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# These are the LIB files needed to create the NLM target above.
eb06d6a7dc2a6609217689ee5e430d87637ef9e6rpluem# These will be added as a library command in the link.opt file.
1d13cbde60ace1b56ca57b9f0f74168bb1288174trawickFILES_nlm_libs = \
ab44eb80e084a02a66a58336d6fcfbbe48310439trawick# These are the modules that the above NLM target depends on to load.
ab44eb80e084a02a66a58336d6fcfbbe48310439trawick# These will be added as a module command in the link.opt file.
ab44eb80e084a02a66a58336d6fcfbbe48310439trawickFILES_nlm_modules = \
544c23d79a3a7596a3612224ed3ac9fa8372929djerenkrantz# If the nlm has a msg file, put it's path here
893328ef6ff86d0ca27774778d84410353789fb0fieldingFILE_nlm_msg =
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha# If the nlm has a hlp file put it's path here
60f9d4d87a893330a01722ed518d0b3fff8eb2eejortonFILE_nlm_hlp =
4cb8bb9049d1643295ebda12c76dad441ddc2228jim# If this is specified, it will override $(NWOS)\copyright.txt.
4028d805f3ab215e39bae405d35e001a538bc50eminfrinFILE_nlm_copyright =
2834087a8155f38c7edd908a765ef3211ed37cf1minfrin# Any additional imports go here
4028d805f3ab215e39bae405d35e001a538bc50eminfrinFILES_nlm_Ximports = \
4028d805f3ab215e39bae405d35e001a538bc50eminfrin# Any symbols exported to here
4028d805f3ab215e39bae405d35e001a538bc50eminfrinFILES_nlm_exports = \
2834087a8155f38c7edd908a765ef3211ed37cf1minfrin example_ipc_module \
8fae12696bce44be9ce4c56888690cad8ac7b8f9sf# These are the OBJ files needed to create the LIB target above.
f0528865c2e6c22ecc51eeecc496251489029bddjorton# Paths must all use the '/' character
8fae12696bce44be9ce4c56888690cad8ac7b8f9sfFILES_lib_objs = \
8fae12696bce44be9ce4c56888690cad8ac7b8f9sf# implement targets and dependancies (leave this section alone)
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc