NWGNUmakefile revision 4f935de4900dc064a1e145be5e48f6af77ac24fc
670734c2ee137c587411795c6f82566c9d3729b7coar# Declare the sub-directories to be built here
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# Get the 'head' of the build environment. This includes default targets and
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# paths to tools
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddardinclude $(AP_WORK)\build\NWGNUhead.inc
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# build this level's files
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# Make sure all needed macro's are defined
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb# These directories will be at the beginning of the include list, followed by
f755f06050191550f77c825eff6b0e48a35b3e91dgaudetXINCDIRS += \
211bf1d44f4653bf753a15740cd5ebbf330b6e93manoj# These flags will come after CFLAGS
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manojXCFLAGS += \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# These defines will come after DEFINES
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardXDEFINES += \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard# These flags will be added to the link.opt file
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardXLFLAGS += \
75960f20f88dad6bc67892c711c429946063d133stoddard# These values will be appended to the correct variables based on the value of
75960f20f88dad6bc67892c711c429946063d133stoddardifeq "$(RELEASE)" "debug"
75960f20f88dad6bc67892c711c429946063d133stoddardXINCDIRS += \
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojXCFLAGS += \
f6a6245816cd866361da8c576b1f47c7a54b6610fanfXDEFINES += \
2a6c49cfaef5979a5a06098f3ce987cd76769409manojXLFLAGS += \
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddardifeq "$(RELEASE)" "noopt"
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddardXINCDIRS += \
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardXCFLAGS += \
670734c2ee137c587411795c6f82566c9d3729b7coarXDEFINES += \
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddardXLFLAGS += \
56ca30c968906053ae61acb218420667bb58d996rbbifeq "$(RELEASE)" "release"
56ca30c968906053ae61acb218420667bb58d996rbbXINCDIRS += \
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojXCFLAGS += \
56ca30c968906053ae61acb218420667bb58d996rbbXDEFINES += \
0bff2f28ef945280c17099c142126178a78e1e54manojXLFLAGS += \
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard# These are used by the link target if an NLM is being generated
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard# This is used by the link 'name' directive to name the nlm. If left blank
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard# TARGET_nlm (see below) will be used.
0bff2f28ef945280c17099c142126178a78e1e54manoj# This is used by the link '-desc ' directive.
0bff2f28ef945280c17099c142126178a78e1e54manoj# If left blank, NLM_NAME will be used.
75960f20f88dad6bc67892c711c429946063d133stoddardNLM_DESCRIPTION =
aa1faea36e4ae357bc603a2337b6adc54f5daec1manoj# This is used by the '-threadname' directive. If left blank,
f03d292915be9977eaf74e9be7b0404aec226f84manoj# NLM_NAME Thread will be used.
f03d292915be9977eaf74e9be7b0404aec226f84manojNLM_THREAD_NAME =
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If this is specified, it will override VERSION value in
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj# $(AP_WORK)\build\NWGNUenvironment.inc
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanojNLM_VERSION =
ff849e4163ed879288f0df15f78b6c9d278ec804fanf# If this is specified, it will override the default of 64K
ff849e4163ed879288f0df15f78b6c9d278ec804fanfNLM_STACK_SIZE =
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# If this is specified it will be used by the link '-entry' directive
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgsteinNLM_ENTRY_SYM =
c03566fa0156d3a1500a42e4fe539e3e0fc8a11dgstein# If this is specified it will be used by the link '-exit' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_EXIT_SYM =
d5defd5a0c5cdbaf74b85939484dc2b6c8317d19manoj# If this is specified it will be used by the link '-check' directive
2a6c49cfaef5979a5a06098f3ce987cd76769409manojNLM_CHECK_SYM =
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If these are specified it will be used by the link '-flags' directive
0bff2f28ef945280c17099c142126178a78e1e54manoj# If this is specified it will be linked in with the XDCData option in the def
d6b3cb141f0667101c1bca883ad15b383402c93bfielding# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# by setting APACHE_UNIPROC in the environment
dbf0c7bef06259486cd2748a2d0e82f27e099d6efielding# If there is an NLM target, put it here
2a6c49cfaef5979a5a06098f3ce987cd76769409manojTARGET_nlm = \
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# If there is an LIB target, put it here
2a6c49cfaef5979a5a06098f3ce987cd76769409manojTARGET_lib = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# These are the OBJ files needed to create the NLM target above.
d6b3cb141f0667101c1bca883ad15b383402c93bfielding# Paths must all use the '/' character
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingFILES_nlm_objs = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# These are the LIB files needed to create the NLM target above.
670734c2ee137c587411795c6f82566c9d3729b7coar# These will be added as a library command in the link.opt file.
670734c2ee137c587411795c6f82566c9d3729b7coarFILES_nlm_libs = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# These are the modules that the above NLM target depends on to load.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# These will be added as a module command in the link.opt file.
2a6c49cfaef5979a5a06098f3ce987cd76769409manojFILES_nlm_modules = \
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If the nlm has a msg file, put it's path here
d6b3cb141f0667101c1bca883ad15b383402c93bfieldingFILE_nlm_msg =
# If this is specified, it will override $(NWOS)\copyright.txt.
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc