NWGNUsession_dbd revision 1deefaad8846266c903a2622d2d5f9df9ef91ad1
181e56d8b348d301d615ccf5465ae600fee2867berikabele# Make sure all needed macro's are defined
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# Get the 'head' of the build environment if necessary. This includes default
5a58787efeb02a1c3f06569d019ad81fd2efa06end# targets and paths to tools
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimifndef EnvironmentDefined
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erboweninclude $(AP_WORK)/build/NWGNUhead.inc
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# These directories will be at the beginning of the include list, followed by
3f08db06526d6901aa08c110b5bc7dde6bc39905ndXINCDIRS += \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim $(APR)/include \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim $(APRUTIL)/include \
5a58787efeb02a1c3f06569d019ad81fd2efa06end $(SRC)/include \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(STDMOD)/database \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# These flags will come after CFLAGS
fac8c35bfb158112226ab43ddf84d59daca5dc30ndXCFLAGS += \
654d8eb036bedc99e90e11910ee02d3421417697rbowen# These defines will come after DEFINES
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimXDEFINES += \
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh# These flags will be added to the link.opt file
5a58787efeb02a1c3f06569d019ad81fd2efa06endXLFLAGS += \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# These values will be appended to the correct variables based on the value of
c0c6c6e1fc6d75274623ec07b635725c5ffaaa20rbowenifeq "$(RELEASE)" "debug"
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenXINCDIRS += \
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfXCFLAGS += \
59c15ce2922cf16717326159168f26f628345a82rbowenXDEFINES += \
b1ced323143ade589985456a78f3f64d6a6580c5yoshikiXLFLAGS += \
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfifeq "$(RELEASE)" "noopt"
59c15ce2922cf16717326159168f26f628345a82rbowenXINCDIRS += \
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenXCFLAGS += \
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenXDEFINES += \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowenXLFLAGS += \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowenifeq "$(RELEASE)" "release"
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXINCDIRS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXCFLAGS += \
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowenXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXLFLAGS += \
5383fa753e1bcd3a04ec34ba9810d671302380f2colm# These are used by the link target if an NLM is being generated
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen# This is used by the link 'name' directive to name the nlm. If left blank
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen# TARGET_nlm (see below) will be used.
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfNLM_NAME = session_dbd
a166215fba9f76030a979c81f95becff52f5aeefrbowen# This is used by the link '-desc ' directive.
a166215fba9f76030a979c81f95becff52f5aeefrbowen# If left blank, NLM_NAME will be used.
a166215fba9f76030a979c81f95becff52f5aeefrbowenNLM_DESCRIPTION = Apache $(VERSION_STR) Session Cookie Module
5a58787efeb02a1c3f06569d019ad81fd2efa06end# This is used by the '-threadname' directive. If left blank,
5a58787efeb02a1c3f06569d019ad81fd2efa06end# NLM_NAME Thread will be used.
b442af56a5e2104663b84fb345c070ce185d4ab3sliveNLM_THREAD_NAME = SessionDbd Module
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# If this is specified, it will override VERSION value in
c0c6c6e1fc6d75274623ec07b635725c5ffaaa20rbowenNLM_VERSION =
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# If this is specified, it will override the default of 64K
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemNLM_STACK_SIZE = 8192
4566c682d671cfda9cfcb77ea3f8e3fb8a265010trawick# If this is specified it will be used by the link '-entry' directive
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfNLM_ENTRY_SYM =
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# If this is specified it will be used by the link '-exit' directive
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfNLM_EXIT_SYM =
b442af56a5e2104663b84fb345c070ce185d4ab3slive# If this is specified it will be used by the link '-check' directive
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfNLM_CHECK_SYM =
b442af56a5e2104663b84fb345c070ce185d4ab3slive# If these are specified it will be used by the link '-flags' directive
c3c006c28c5b03892ccaef6e4d2cbb15a13a2072rbowen# If this is specified it will be linked in with the XDCData option in the def
b442af56a5e2104663b84fb345c070ce185d4ab3slive# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# by setting APACHE_UNIPROC in the environment
5a58787efeb02a1c3f06569d019ad81fd2efa06end# If there is an NLM target, put it here
6f7c18e70781deff3d1129774221de81b43c828endTARGET_nlm = \
6f7c18e70781deff3d1129774221de81b43c828end $(OBJDIR)/$(NLM_NAME).nlm \
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# If there is an LIB target, put it here
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfTARGET_lib = \
6f7c18e70781deff3d1129774221de81b43c828end# These are the OBJ files needed to create the NLM target above.
6f7c18e70781deff3d1129774221de81b43c828end# Paths must all use the '/' character
6f7c18e70781deff3d1129774221de81b43c828endFILES_nlm_objs = \
5a58787efeb02a1c3f06569d019ad81fd2efa06end# These are the LIB files needed to create the NLM target above.
b442af56a5e2104663b84fb345c070ce185d4ab3slive# These will be added as a library command in the link.opt file.
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfFILES_nlm_libs = \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem $(PRELUDE) \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# These are the modules that the above NLM target depends on to load.
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# These will be added as a module command in the link.opt file.
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemFILES_nlm_modules = \
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# If the nlm has a msg file, put it's path here
5a58787efeb02a1c3f06569d019ad81fd2efa06endFILE_nlm_msg =
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# If the nlm has a hlp file put it's path here
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0ndFILE_nlm_hlp =
727872d18412fc021f03969b8641810d8896820bhumbedooh# If this is specified, it will override $(NWOS)\copyright.txt.
727872d18412fc021f03969b8641810d8896820bhumbedoohFILE_nlm_copyright =
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh# Any additional imports go here
0d0ba3a410038e179b695446bb149cce6264e0abndFILES_nlm_Ximports = \
0d0ba3a410038e179b695446bb149cce6264e0abnd ap_hook_session_load \
0d0ba3a410038e179b695446bb149cce6264e0abnd ap_hook_session_save \
0d0ba3a410038e179b695446bb149cce6264e0abnd# Any symbols exported to here
5effc8b39fae5cd169d17f342bfc265705840014rbowenFILES_nlm_exports = \
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen session_dbd_module \
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd# These are the OBJ files needed to create the LIB target above.
5a58787efeb02a1c3f06569d019ad81fd2efa06end# Paths must all use the '/' character
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
vpath %.c ../arch/netware
include $(APBUILD)/NWGNUtail.inc