NWGNUmakefile revision bb2b38cd44b032118359afbc743efbea12f48e61
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# Declare the sub-directories to be built here
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# Get the 'head' of the build environment. This includes default targets and
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# paths to tools
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Siraineninclude $(AP_WORK)\build\NWGNUhead.inc
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# build this level's files
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# Make sure all needed macro's are defined
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These directories will be at the beginning of the include list, followed by
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These flags will come after CFLAGS
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These defines will come after DEFINES
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These flags will be added to the link.opt file
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These values will be appended to the correct variables based on the value of
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainenifeq "$(RELEASE)" "debug"
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainenifeq "$(RELEASE)" "noopt"
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainenifeq "$(RELEASE)" "release"
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These are used by the link target if an NLM is being generated
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# This is used by the link 'name' directive to name the nlm. If left blank
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# TARGET_nlm (see below) will be used.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# This is used by the link '-desc ' directive.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If left blank, NLM_NAME will be used.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenNLM_DESCRIPTION =
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# This is used by the '-threadname' directive. If left blank,
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# NLM_NAME Thread will be used.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenNLM_THREAD_NAME =
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If this is specified, it will override VERSION value in
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# $(AP_WORK)\build\NWGNUenvironment.inc
4a0641e1ff10f0b0299fd36baf38057c54268e48Timo Sirainen# If this is specified, it will override the default of 64K
4a0641e1ff10f0b0299fd36baf38057c54268e48Timo SirainenNLM_STACK_SIZE =
57593ca3c443884bac880b8deff7c0655ddd9a30Timo Sirainen# If this is specified it will be used by the link '-entry' directive
4a0641e1ff10f0b0299fd36baf38057c54268e48Timo SirainenNLM_ENTRY_SYM =
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If this is specified it will be used by the link '-exit' directive
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenNLM_EXIT_SYM =
4a0641e1ff10f0b0299fd36baf38057c54268e48Timo Sirainen# If this is specified it will be used by the link '-check' directive
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenNLM_CHECK_SYM =
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If these are specified it will be used by the link '-flags' directive
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If this is specified it will be linked in with the XDCData option in the def
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# by setting APACHE_UNIPROC in the environment
66c3f635f2f33905af527d49b27f95322aa7dfa7Timo Sirainen# If there is an NLM target, put it here
66c3f635f2f33905af527d49b27f95322aa7dfa7Timo SirainenTARGET_nlm = \
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If there is an LIB target, put it here
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenTARGET_lib = \
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These are the OBJ files needed to create the NLM target above.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# Paths must all use the '/' character
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenFILES_nlm_objs = \
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These are the LIB files needed to create the NLM target above.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These will be added as a library command in the link.opt file.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenFILES_nlm_libs = \
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These are the modules that the above NLM target depends on to load.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# These will be added as a module command in the link.opt file.
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo SirainenFILES_nlm_modules = \
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If the nlm has a msg file, put it's path here
4a0641e1ff10f0b0299fd36baf38057c54268e48Timo SirainenFILE_nlm_msg =
9137c55411aa39d41c1e705ddc34d5bd26c65021Timo Sirainen# If the nlm has a hlp file put it's path here
3b8d05391336c0e4d24c8ddcc962f350409ffbd3Timo SirainenFILE_nlm_hlp =
3b8d05391336c0e4d24c8ddcc962f350409ffbd3Timo Sirainen# If this is specified, it will override $(NWOS)\copyright.txt.
3b8d05391336c0e4d24c8ddcc962f350409ffbd3Timo SirainenFILE_nlm_copyright =
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc