NWGNUslotmem_plain revision 0662ed52e814f8f08ef0e09956413a792584eddf
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Make sure all needed macro's are defined
9e8c2603790f490398a0fabf97866b6815748a54ianh# Get the 'head' of the build environment if necessary. This includes default
9e8c2603790f490398a0fabf97866b6815748a54ianh# targets and paths to tools
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fndifndef EnvironmentDefined
a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5fndinclude $(AP_WORK)/build/NWGNUhead.inc
5fcef4390e6414ad7754c2f004974982bc33cac2nd# These directories will be at the beginning of the include list, followed by
46820eca7dc57ae17c235389a0cd39140a5db8b5ndXINCDIRS += \
46820eca7dc57ae17c235389a0cd39140a5db8b5nd $(APR)/include \
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd $(APRUTIL)/include \
1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052nd $(AP_WORK)/include \
e6c244ee56578707b20a86e0e938498299a93b6cnd# These flags will come after CFLAGS
56d70402724e1872992bcac08b802681cf762d9andXCFLAGS += \
bfbca4e24db7fef55c0ab787aca9f89594530b45geoff# These defines will come after DEFINES
f769c33501f474aed3e0f7c769477c8c4f478783geoffXDEFINES += \
89ea31761658f422cf21cd3b0224dc5fe95cccd3nd# These flags will be added to the link.opt file
89ea31761658f422cf21cd3b0224dc5fe95cccd3ndXLFLAGS += \
67a4d05bab3fc19c1b87fb9042977975bf27cdbdnd# These values will be appended to the correct variables based on the value of
210817da3118a900388980e4481e4aec6a58f101ndifeq "$(RELEASE)" "debug"
210817da3118a900388980e4481e4aec6a58f101ndXINCDIRS += \
46c99ed700a996f84dee6b1fe42d22ce9f27b5a0ndXCFLAGS += \
d7c7669331357296719d67d1963d40d713ed455atrawickXDEFINES += \
781888a651637edc0b043a6787cb0c2acf30a187geoffXLFLAGS += \
82418a946182d550955bde2daae409766544c544trawickifeq "$(RELEASE)" "noopt"
82418a946182d550955bde2daae409766544c544trawickXINCDIRS += \
5d3e5520c34648220ed0cd9dc01c2c203257c86fndXCFLAGS += \
15240541412d9584f72016c353296e95b7339236thommayXDEFINES += \
92d95be777d4365eb79444a7a558355a7a92081ajortonXLFLAGS += \
af8dee354a287249dd9f3f77bbe850108e5afe43trawickifeq "$(RELEASE)" "release"
af8dee354a287249dd9f3f77bbe850108e5afe43trawickXINCDIRS += \
14763a0db22322626dd8cd59dfbc3a4fcc655d99trawickXCFLAGS += \
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhumXDEFINES += \
bcccfc984c481af611fa4ffc3e2732400b041cfendXLFLAGS += \
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# These are used by the link target if an NLM is being generated
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# This is used by the link 'name' directive to name the nlm. If left blank
5317df0c9398c362b856b205fa810dfdbca60671trawick# TARGET_nlm (see below) will be used.
5317df0c9398c362b856b205fa810dfdbca60671trawickNLM_NAME = slotmem_plain
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick# This is used by the link '-desc ' directive.
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick# If left blank, NLM_NAME will be used.
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawickNLM_DESCRIPTION = Apache $(VERSION_STR) Slotmem Plain Module
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd# This is used by the '-threadname' directive. If left blank,
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9nd# NLM_NAME Thread will be used.
ced699ca391a4fb7d70cfeb995c58d4bf62f00a8trawickNLM_THREAD_NAME = Slotmem Plain Module
d57b793ddd42a997c2cb3bd389bbcf1161226fd8trawick# If this is specified, it will override VERSION value in
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawickNLM_VERSION =
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# If this is specified, it will override the default of 64K
d11bf78168abbb07d8ed9f54d7ea0953d46aad83ndNLM_STACK_SIZE = 8192
bf28a00d8218aa76a56eddabca308e8d0e691626nd# If this is specified it will be used by the link '-entry' directive
bf28a00d8218aa76a56eddabca308e8d0e691626ndNLM_ENTRY_SYM =
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29nd# If this is specified it will be used by the link '-exit' directive
c08f5a0cf2b8903255186ba998a4481dfac9c796ndNLM_EXIT_SYM =
eea521297270de3f9ae70d8822f8665c513de574nd# If this is specified it will be used by the link '-check' directive
eea521297270de3f9ae70d8822f8665c513de574ndNLM_CHECK_SYM =
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd# If these are specified it will be used by the link '-flags' directive
02b0660d7f44ff8106bd5095653e9c19e39ec37dndNLM_FLAGS =
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd# If this is specified it will be linked in with the XDCData option in the def
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# by setting APACHE_UNIPROC in the environment
3b86be5b30d5cbacc1f942b05dff8a9365449d30jorton# If there is an NLM target, put it here
8aad5258d3ecde3751559bc685a3185e63cbde9aianhTARGET_nlm = \
8aad5258d3ecde3751559bc685a3185e63cbde9aianh $(OBJDIR)/$(NLM_NAME).nlm \
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar# If there is an LIB target, put it here
49a82db11388cff9b29ff861b4241bbce69c76fdtrawickTARGET_lib = \
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# These are the OBJ files needed to create the NLM target above.
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# Paths must all use the '/' character
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawickFILES_nlm_objs = \
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton# These are the LIB files needed to create the NLM target above.
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton# These will be added as a library command in the link.opt file.
6126fad8adeca94e9813812c691747afeca164dftrawickFILES_nlm_libs = \
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawick# These are the modules that the above NLM target depends on to load.
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe# These will be added as a module command in the link.opt file.
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawickFILES_nlm_modules = \
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# If the nlm has a msg file, put it's path here
679cafe33462d8c6bd0a74cc4359e561d19a0aafndFILE_nlm_msg =
81ef3d132c8f335006465f297c42319f8734825dnd# If the nlm has a hlp file put it's path here
73291de2e17c97d3549f2f8aa085ca43d27e108andFILE_nlm_hlp =
73291de2e17c97d3549f2f8aa085ca43d27e108and# If this is specified, it will override $(NWOS)\copyright.txt.
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantzFILE_nlm_copyright =
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe# Any additional imports go here
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolleyFILES_nlm_Ximports = \
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd# Any symbols exported to here
5fb2e8564729922524cd011b11e2d4f5d76f5a8dndFILES_nlm_exports = \
987c2c2ff2f19f306357f79d3280b347d96c470fnd slotmem_plain_module \
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd# These are the OBJ files needed to create the LIB target above.
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd# Paths must all use the '/' character
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndFILES_lib_objs = \
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# implement targets and dependancies (leave this section alone)
7de6cb79f71a9007ba2b1e786cbad8b84f05d101ndlibs :: $(OBJDIR) $(TARGET_lib)
36f2369ee230c310fed3b600e9e99cf5770804a3wrowenlms :: libs $(TARGET_nlm)
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe# Updated this target to create necessary directories and copy files to the
ab56518227d474ee08f039e4c5540011c1b8a913trawick# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
36f2369ee230c310fed3b600e9e99cf5770804a3wroweinstall :: nlms FORCE
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick# Any specialized rules here
fcdca175a52fe517f2317ba0e2b6e6d14522b869madhum# Include the 'tail' makefile that has targets that depend on variables defined
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz# in this makefile
36f2369ee230c310fed3b600e9e99cf5770804a3wroweinclude $(APBUILD)/NWGNUtail.inc