NWGNUsession revision 1deefaad8846266c903a2622d2d5f9df9ef91ad1
97a9a944b5887e91042b019776c41d5dd74557aferikabele# Make sure all needed macro's are defined
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive# Get the 'head' of the build environment if necessary. This includes default
b686b6a420bde7f78c416b90be11db94cb789979nd# targets and paths to tools
b686b6a420bde7f78c416b90be11db94cb789979ndifndef EnvironmentDefined
b686b6a420bde7f78c416b90be11db94cb789979ndinclude $(AP_WORK)/build/NWGNUhead.inc
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz# These directories will be at the beginning of the include list, followed by
b686b6a420bde7f78c416b90be11db94cb789979ndXINCDIRS += \
4b5981e276e93df97c34e4da05ca5cf8bbd937dand $(APR)/include \
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd $(APRUTIL)/include \
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd $(SRC)/include \
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end# These flags will come after CFLAGS
3b3b7fc78d1f5bfc2769903375050048ff41ff26ndXCFLAGS += \
381b101317d64df9ce37f788d903a999f9f26ca7rbowen# These defines will come after DEFINES
06ba4a61654b3763ad65f52283832ebf058fdf1csliveXDEFINES += \
5b10fd3977e6dfff19afe770e612e276962f7950nd# These flags will be added to the link.opt file
a63f0ab647ad2ab72efc9bea7a66e24e9ebc5cc2ndXLFLAGS += \
a63f0ab647ad2ab72efc9bea7a66e24e9ebc5cc2nd# These values will be appended to the correct variables based on the value of
5b10fd3977e6dfff19afe770e612e276962f7950ndifeq "$(RELEASE)" "debug"
5b10fd3977e6dfff19afe770e612e276962f7950ndXINCDIRS += \
2aff288113d772cedca6add888eb643afffe9fb1ndXCFLAGS += \
166c7891cc2a7545eca0f4dda6af92026bc43fcfrpluemXDEFINES += \
2aff288113d772cedca6add888eb643afffe9fb1ndXLFLAGS += \
a63f0ab647ad2ab72efc9bea7a66e24e9ebc5cc2ndifeq "$(RELEASE)" "noopt"
2aff288113d772cedca6add888eb643afffe9fb1ndXINCDIRS += \
80d3dc69b0e6ad772135f6a78af3d16bd6cccc42ndXCFLAGS += \
7ec4d5cc4aa574e3191bc5a612e68fd8f25ab7earpluemXDEFINES += \
2aff288113d772cedca6add888eb643afffe9fb1ndXLFLAGS += \
2aff288113d772cedca6add888eb643afffe9fb1ndifeq "$(RELEASE)" "release"
2aff288113d772cedca6add888eb643afffe9fb1ndXINCDIRS += \
d9b843d090f14405079b4a61a493316cd3f1e5b9minfrinXCFLAGS += \
8951c7d73bfa2ae5a2c8fe5bd27f3e677be02564noirinXDEFINES += \
2aff288113d772cedca6add888eb643afffe9fb1ndXLFLAGS += \
2aff288113d772cedca6add888eb643afffe9fb1nd# These are used by the link target if an NLM is being generated
2aff288113d772cedca6add888eb643afffe9fb1nd# This is used by the link 'name' directive to name the nlm. If left blank
2aff288113d772cedca6add888eb643afffe9fb1nd# TARGET_nlm (see below) will be used.
64c02f1310b7747423957823ee09fb3608430f89ndNLM_NAME = session
2aff288113d772cedca6add888eb643afffe9fb1nd# This is used by the link '-desc ' directive.
2aff288113d772cedca6add888eb643afffe9fb1nd# If left blank, NLM_NAME will be used.
80d3dc69b0e6ad772135f6a78af3d16bd6cccc42ndNLM_DESCRIPTION = Apache $(VERSION_STR) Session Module
2aff288113d772cedca6add888eb643afffe9fb1nd# This is used by the '-threadname' directive. If left blank,
2aff288113d772cedca6add888eb643afffe9fb1nd# NLM_NAME Thread will be used.
80d3dc69b0e6ad772135f6a78af3d16bd6cccc42ndNLM_THREAD_NAME = Session Module
05ede5110427cb9dc071cc671d5aaba5d3b88c79nd# If this is specified, it will override VERSION value in
bf94bedcb62d7f0b926f4286069def5ee6b07b60ndNLM_VERSION =
bbcbf978a3074512c627c797fedcb30eeab7b39dslive# If this is specified, it will override the default of 64K
80d3dc69b0e6ad772135f6a78af3d16bd6cccc42ndNLM_STACK_SIZE = 8192
2aff288113d772cedca6add888eb643afffe9fb1nd# If this is specified it will be used by the link '-entry' directive
7f3fdc63be07f2ad39e01a44e68e9324998a5c03sliveNLM_ENTRY_SYM =
75585bd48fe0f30483dba4762e61edf39ea3e0f6nd# If this is specified it will be used by the link '-exit' directive
03a4ff9ac4c9b8009249010e7c53bb86ff05915andNLM_EXIT_SYM =
1e367a83311e5243e04d68857d007d04765a48f9chrisd# If this is specified it will be used by the link '-check' directive
a0d937b340692a3578f1d2f2535890c520c4bf0cndNLM_CHECK_SYM =
2aff288113d772cedca6add888eb643afffe9fb1nd# If these are specified it will be used by the link '-flags' directive
2aff288113d772cedca6add888eb643afffe9fb1ndNLM_FLAGS =
2704de98885368683621b01c8f8f4e4b01557611takashi# If this is specified it will be linked in with the XDCData option in the def
1e367a83311e5243e04d68857d007d04765a48f9chrisd# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2704de98885368683621b01c8f8f4e4b01557611takashi# by setting APACHE_UNIPROC in the environment
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen# If there is an NLM target, put it here
cd6c8de3bedcc401ee230159b0439fa20f44488etakashiTARGET_nlm = \
2aff288113d772cedca6add888eb643afffe9fb1nd $(OBJDIR)/$(NLM_NAME).nlm \
2aff288113d772cedca6add888eb643afffe9fb1nd# If there is an LIB target, put it here
c023f60e35022146373e40249f0c8c8d623b6fcfndTARGET_lib = \
a43bfa789f4e52dde53ae8e53fa0427b5c1cf977nd# These are the OBJ files needed to create the NLM target above.
a43bfa789f4e52dde53ae8e53fa0427b5c1cf977nd# Paths must all use the '/' character
73ba54c33b4fcad0e13005e10ea8648c9fe4265bndFILES_nlm_objs = \
a329941afa602684be21fa85a54f2639e91763f8pquerna# These are the LIB files needed to create the NLM target above.
73ba54c33b4fcad0e13005e10ea8648c9fe4265bnd# These will be added as a library command in the link.opt file.
73ba54c33b4fcad0e13005e10ea8648c9fe4265bndFILES_nlm_libs = \
73ba54c33b4fcad0e13005e10ea8648c9fe4265bnd $(PRELUDE) \
5f4e50966b2b9b58436a1651cbe588d1b595657ewrowe# These are the modules that the above NLM target depends on to load.
5f4e50966b2b9b58436a1651cbe588d1b595657ewrowe# These will be added as a module command in the link.opt file.
af4381d113faafc97340eaaa008840c7fcbcc8fdsfFILES_nlm_modules = \
79b024b81f6bb3c44dce77a7552191daf8b522d2jim# If the nlm has a msg file, put it's path here
4277c95b5a9454a5c25f8d8762634fcff37aa840minfrinFILE_nlm_msg =
2aff288113d772cedca6add888eb643afffe9fb1nd# If the nlm has a hlp file put it's path here
1de1266f0ea387d6373be8415745dfd2ab876341jimFILE_nlm_hlp =
2aff288113d772cedca6add888eb643afffe9fb1nd# If this is specified, it will override $(NWOS)\copyright.txt.
2aff288113d772cedca6add888eb643afffe9fb1ndFILE_nlm_copyright =
2aff288113d772cedca6add888eb643afffe9fb1nd# Any additional imports go here
10eed2803538d660048f6e733602e82a75ef6885noodlFILES_nlm_Ximports = \
2aff288113d772cedca6add888eb643afffe9fb1nd# Any symbols exported to here
2aff288113d772cedca6add888eb643afffe9fb1ndFILES_nlm_exports = \
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd session_module \
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd ap_hook_session_decode \
2aff288113d772cedca6add888eb643afffe9fb1nd ap_hook_session_encode \
a63f0ab647ad2ab72efc9bea7a66e24e9ebc5cc2nd ap_hook_session_load \
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd ap_hook_session_save \
cc8190433d13f5e9de618c5d7f10c824c0c1919cgryzor# These are the OBJ files needed to create the LIB target above.
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd# Paths must all use the '/' character
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1endFILES_lib_objs = \
80d3dc69b0e6ad772135f6a78af3d16bd6cccc42nd# implement targets and dependancies (leave this section alone)
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
vpath %.c ../arch/netware
include $(APBUILD)/NWGNUtail.inc