NWGNUmakefile revision ead6a6e1c000b755e663234c889e8dd542a598a5
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Declare the sub-directories to be built here
5d3e5520c34648220ed0cd9dc01c2c203257c86fnd# Get the 'head' of the build environment. This includes default targets and
5d3e5520c34648220ed0cd9dc01c2c203257c86fnd# paths to tools
15240541412d9584f72016c353296e95b7339236thommayinclude $(AP_WORK)\build\NWGNUhead.inc
92d95be777d4365eb79444a7a558355a7a92081ajorton# build this level's files
af8dee354a287249dd9f3f77bbe850108e5afe43trawick# Make sure all needed macro's are defined
af8dee354a287249dd9f3f77bbe850108e5afe43trawick# These directories will be at the beginning of the include list, followed by
6f95d7970f0d8e1ce5f8b55b44e01eaf50f91409stoddardXINCDIRS += \
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhum# These flags will come after CFLAGS
fb82af0f0cd7b58eef19c54b086131b7e1e1e749madhumXCFLAGS += \
f78505c7d260473bf11002f5028186f27d0ed8a0geoff# These defines will come after DEFINES
f78505c7d260473bf11002f5028186f27d0ed8a0geoffXDEFINES += \
5317df0c9398c362b856b205fa810dfdbca60671trawick# These flags will be added to the link.opt file
5317df0c9398c362b856b205fa810dfdbca60671trawickXLFLAGS += \
a8a509c9b67eea07a4a239e7f36c9f3de6022585trawick# These values will be appended to the correct variables based on the value of
464f9b8ffadf219501efd5536bb7e7ccdc8c01f9trawickifeq "$(RELEASE)" "debug"
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9ndXINCDIRS += \
ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9ndXCFLAGS += \
ced699ca391a4fb7d70cfeb995c58d4bf62f00a8trawickXDEFINES += \
d57b793ddd42a997c2cb3bd389bbcf1161226fd8trawickXLFLAGS += \
d11bf78168abbb07d8ed9f54d7ea0953d46aad83ndifeq "$(RELEASE)" "noopt"
d11bf78168abbb07d8ed9f54d7ea0953d46aad83ndXINCDIRS += \
bf28a00d8218aa76a56eddabca308e8d0e691626ndXCFLAGS += \
bf28a00d8218aa76a56eddabca308e8d0e691626ndXDEFINES += \
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29ndXLFLAGS += \
c08f5a0cf2b8903255186ba998a4481dfac9c796ndifeq "$(RELEASE)" "release"
c08f5a0cf2b8903255186ba998a4481dfac9c796ndXINCDIRS += \
eea521297270de3f9ae70d8822f8665c513de574ndXCFLAGS += \
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1ndXDEFINES += \
02b0660d7f44ff8106bd5095653e9c19e39ec37dndXLFLAGS += \
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# These are used by the link target if an NLM is being generated
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# This is used by the link 'name' directive to name the nlm. If left blank
3b86be5b30d5cbacc1f942b05dff8a9365449d30jorton# TARGET_nlm (see below) will be used.
46ef178b8f55b794c65491b370974833ce9e621bben# This is used by the link '-desc ' directive.
8aad5258d3ecde3751559bc685a3185e63cbde9aianh# If left blank, NLM_NAME will be used.
8aad5258d3ecde3751559bc685a3185e63cbde9aianhNLM_DESCRIPTION =
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar# This is used by the '-threadname' directive. If left blank,
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar# NLM_NAME Thread will be used.
49a82db11388cff9b29ff861b4241bbce69c76fdtrawickNLM_THREAD_NAME =
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick# If this is specified, it will override VERSION value in
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# $(AP_WORK)\build\NWGNUenvironment.inc
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawickNLM_VERSION =
8dc154408549195c828b823e9dc7396f107f2512jorton# If this is specified, it will override the default of 64K
ca2504b59d48a926af23f6b18af550c1e892d8a6jortonNLM_STACK_SIZE =
6126fad8adeca94e9813812c691747afeca164dftrawick# If this is specified it will be used by the link '-entry' directive
7ed5992392d5babab20be4ce4029ad17ae062b5aianhNLM_ENTRY_SYM =
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawick# If this is specified it will be used by the link '-exit' directive
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawickNLM_EXIT_SYM =
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick# If this is specified it will be used by the link '-check' directive
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawickNLM_CHECK_SYM =
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd# If these are specified it will be used by the link '-flags' directive
6c4c113ce85934b11c9e78399e1bb8ec7a568af9ndNLM_FLAGS =
81ef3d132c8f335006465f297c42319f8734825dnd# If this is specified it will be linked in with the XDCData option in the def
73291de2e17c97d3549f2f8aa085ca43d27e108and# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
73291de2e17c97d3549f2f8aa085ca43d27e108and# by setting APACHE_UNIPROC in the environment
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz# If there is an NLM target, put it here
36f2369ee230c310fed3b600e9e99cf5770804a3wroweTARGET_nlm = \
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd $(OBJDIR)/logres.nlm \
987c2c2ff2f19f306357f79d3280b347d96c470fnd# If there is an LIB target, put it here
987c2c2ff2f19f306357f79d3280b347d96c470fndTARGET_lib = \
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd# These are the OBJ files needed to create the NLM target above.
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd# Paths must all use the '/' character
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndFILES_nlm_objs = \
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# These are the LIB files needed to create the NLM target above.
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# These will be added as a library command in the link.opt file.
36f2369ee230c310fed3b600e9e99cf5770804a3wroweFILES_nlm_libs = \
ab56518227d474ee08f039e4c5540011c1b8a913trawick# These are the modules that the above NLM target depends on to load.
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick# These will be added as a module command in the link.opt file.
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawickFILES_nlm_modules = \
fc25339741311efd7d460f18b6287ef38d76bbe6madhum# If the nlm has a msg file, put it's path here
36f2369ee230c310fed3b600e9e99cf5770804a3wroweFILE_nlm_msg =
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz# If the nlm has a hlp file put it's path here
92a2439559cf1161742650ed9c50c6483bd029cemadhumFILE_nlm_hlp =
ebecc16986604cce1369d5075eff65032e3dd0deianh# If this is specified, it will override $(NWOS)\copyright.txt.
ebecc16986604cce1369d5075eff65032e3dd0deianhFILE_nlm_copyright =
764315969cef40e50cdc6a5e9638454e10c1c06end# Any additional imports go here
b92cba59a0890be43b14aaf1ce30606140be9593ndFILES_nlm_Ximports = \
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawick# Any symbols exported to here
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawickFILES_nlm_exports = \
a3f2646ef3d8a3a5234a5601de0f95f10308c2a6jerenkrantz# These are the OBJ files needed to create the LIB target above.
a3f2646ef3d8a3a5234a5601de0f95f10308c2a6jerenkrantz# Paths must all use the '/' character
9e398d701dd430f073ff5418fb720642e064046ajerenkrantzFILES_lib_objs = \
1a5b9e0071f0c662036250b482d566ad87ff0b4bjerenkrantz# implement targets and dependancies (leave this section alone)
a7ac9b52c3d9f7ce937f078a0d585023db626c55jerenkrantzlibs :: $(OBJDIR) $(TARGET_lib)
ba6c07204bd224fa5d4cd0e6b8bf256d6daffb74ndnlms :: libs $(TARGET_nlm)
db5837bbc9bef214303e755fa52122140366cb6fianh# Updated this target to create necessary directories and copy files to the
db5837bbc9bef214303e755fa52122140366cb6fianh# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
aac2b82fe4f1ac117e2a0702438d6615542642dandinstall :: nlms FORCE
aac2b82fe4f1ac117e2a0702438d6615542642dand copy $(OBJDIR)\*.nlm $(INSTALL)\Apache2\bin\*.*
a793d402c74e50326a2401cfbdc562c5781948fdnd# Any specialized rules here
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe# Include the 'tail' makefile that has targets that depend on variables defined
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz# in this makefile
3ded62d7f2c9b12616d718b8c97d3044baa9ecdbjerenkrantzinclude $(AP_WORK)\build\NWGNUtail.inc