NWGNUmakefile revision e961abd49ab1b184b356f63591d37083a5651451
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim# Declare the sub-directories to be built here
f3a5934ca0fb0f0f813bd9d9d06af8937e3f401fjimSUBDIRS = \
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim# Get the 'head' of the build environment. This includes default targets and
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim# paths to tools
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianhinclude $(AP_WORK)\build\NWGNUhead.inc
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh# build this level's files
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh# These directories will be at the beginning of the include list, followed by
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianhXINCDIRS += \
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh $(APR)/include \
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh $(AP_WORK)/include \
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh $(APRUTIL)/include \
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe# These flags will come after CFLAGS
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwroweXCFLAGS += \
b999f6ba2a266bf9a92687f31bb7e76021ac5891ianh# These defines will come after DEFINES
b999f6ba2a266bf9a92687f31bb7e76021ac5891ianhXDEFINES += \
b9b69856aec9ea58ea1b1e5aff669e8eaf2ebce4rbb# These flags will be added to the link.opt file
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbbXLFLAGS += \
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb# These values will be appended to the correct variables based on the value of
43ea154f46345c9722c2b25b2b9f5086ec79eaeeorlikowskiifeq "$(RELEASE)" "debug"
43ea154f46345c9722c2b25b2b9f5086ec79eaeeorlikowskiXINCDIRS += \
0c233c76f21b358f4a0d81e0f956339ca727c14cchuckXCFLAGS += \
0c233c76f21b358f4a0d81e0f956339ca727c14cchuckXDEFINES += \
0c233c76f21b358f4a0d81e0f956339ca727c14cchuckXLFLAGS += \
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowskiifeq "$(RELEASE)" "noopt"
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowskiXINCDIRS += \
4f7dd0949d92462a8adc31eee8aff266eea55204chuckXDEFINES += \
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuckXLFLAGS += \
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuckifeq "$(RELEASE)" "release"
0c233c76f21b358f4a0d81e0f956339ca727c14cchuckXINCDIRS += \
68bcde9c52e9e749482df2800dbdff09559115e0chuckXCFLAGS += \
68bcde9c52e9e749482df2800dbdff09559115e0chuckXDEFINES += \
68bcde9c52e9e749482df2800dbdff09559115e0chuckXLFLAGS += \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These are used by the link target if an NLM is being generated
68bcde9c52e9e749482df2800dbdff09559115e0chuck# This is used by the link 'name' directive to name the nlm. If left blank
68bcde9c52e9e749482df2800dbdff09559115e0chuck# TARGET_nlm (see below) will be used.
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_NAME = genchars
68bcde9c52e9e749482df2800dbdff09559115e0chuck# This is used by the link '-desc ' directive.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If left blank, NLM_NAME will be used.
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_DESCRIPTION = Generate Test Characters
68bcde9c52e9e749482df2800dbdff09559115e0chuck# This is used by the '-threadname' directive. If left blank,
68bcde9c52e9e749482df2800dbdff09559115e0chuck# NLM_NAME Thread will be used.
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_THREAD_NAME = genchars
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# If this is specified, it will override VERSION value in
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_VERSION = 1,0,0
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified, it will override the default of 64K
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_STACK_SIZE = 8192
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified it will be used by the link '-entry' directive
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_ENTRY_SYM =_LibCPrelude
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified it will be used by the link '-exit' directive
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_EXIT_SYM =_LibCPostlude
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified it will be used by the link '-check' directive
68bcde9c52e9e749482df2800dbdff09559115e0chuckNLM_CHECK_SYM =
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified it will be used by the link '-flags' directive
0c233c76f21b358f4a0d81e0f956339ca727c14cchuckNLM_FLAGS = PSEUDOPREEMPTION
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified it will be linked in with the XDCData option in the def
68bcde9c52e9e749482df2800dbdff09559115e0chuck# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
68bcde9c52e9e749482df2800dbdff09559115e0chuck# by setting APACHE_UNIPROC in the environment
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Declare all target files (you must add your files here)
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If there is an NLM target, put it here
68bcde9c52e9e749482df2800dbdff09559115e0chuckTARGET_nlm = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If there is an LIB target, put it here
68bcde9c52e9e749482df2800dbdff09559115e0chuckTARGET_lib = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These are the OBJ files needed to create the NLM target above.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Paths must all use the '/' character
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILES_nlm_objs = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These are the LIB files needed to create the NLM target above.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These will be added as a library command in the link.opt file.
0c233c76f21b358f4a0d81e0f956339ca727c14cchuckFILES_nlm_libs = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These are the modules that the above NLM target depends on to load.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These will be added as a module command in the link.opt file.
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILES_nlm_modules = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If the nlm has a msg file, put it's path here
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILE_nlm_msg =
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If the nlm has a hlp file put it's path here
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILE_nlm_hlp =
68bcde9c52e9e749482df2800dbdff09559115e0chuck# If this is specified, it will override $(NWOS)\copyright.txt.
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILE_nlm_copyright =
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Any additional imports go here
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILES_nlm_Ximports = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Any symbols exported to here
4f7dd0949d92462a8adc31eee8aff266eea55204chuckFILES_nlm_exports = \
68bcde9c52e9e749482df2800dbdff09559115e0chuck# These are the OBJ files needed to create the LIB target above.
4f7dd0949d92462a8adc31eee8aff266eea55204chuck# Paths must all use the '/' character
68bcde9c52e9e749482df2800dbdff09559115e0chuckFILES_lib_objs = \
include $(AP_WORK)\build\NWGNUtail.inc