NWGNUmakefile revision f2f3f241c00a7a4bd597e57a19023940e072918a
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Declare the sub-directories to be built here
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Get the 'head' of the build environment. This includes default targets and
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# paths to tools
38115c792a2142d264ca2617b11962301f079c0aTrond Norbyeinclude $(AP_WORK)\build\NWGNUhead.inc
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# build this level's files
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Make sure all needed macro's are defined
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# These directories will be at the beginning of the include list, followed by
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos KoscoXINCDIRS += \
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# These flags will come after CFLAGS
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# These defines will come after DEFINES
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeXDEFINES += \
4db6dbfe971f3c68c0945e5da3b6d5a3248054daTrond Norbye# These flags will be added to the link.opt file
a90c307564052f582357f820eadec4390e6a86c6Trond Norbye# These values will be appended to the correct variables based on the value of
9f5a7adefcd3e07345b92f0deb1ed1c30df6eec2Trond Norbyeifeq "$(RELEASE)" "debug"
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos KoscoXINCDIRS += \
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeXDEFINES += \
38115c792a2142d264ca2617b11962301f079c0aTrond Norbyeifeq "$(RELEASE)" "noopt"
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond NorbyeXINCDIRS += \
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeXDEFINES += \
38115c792a2142d264ca2617b11962301f079c0aTrond Norbyeifeq "$(RELEASE)" "release"
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeXINCDIRS += \
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeXDEFINES += \
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# These are used by the link target if an NLM is being generated
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# This is used by the link 'name' directive to name the nlm. If left blank
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# TARGET_nlm (see below) will be used.
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond Norbye# This is used by the link '-desc ' directive.
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# If left blank, NLM_NAME will be used.
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond NorbyeNLM_DESCRIPTION =
760369283613b2d5c2449cdc5b7a74e16d929750Trond Norbye# This is used by the '-threadname' directive. If left blank,
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# NLM_NAME Thread will be used.
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond NorbyeNLM_THREAD_NAME =
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond Norbye# If this is specified, it will override VERSION value in
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# $(AP_WORK)\build\NWGNUenvironment.inc
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos KoscoNLM_VERSION =
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond Norbye# If this is specified, it will override the default of 64K
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond NorbyeNLM_STACK_SIZE =
a90c307564052f582357f820eadec4390e6a86c6Trond Norbye# If this is specified it will be used by the link '-entry' directive
a90c307564052f582357f820eadec4390e6a86c6Trond NorbyeNLM_ENTRY_SYM =
a90c307564052f582357f820eadec4390e6a86c6Trond Norbye# If this is specified it will be used by the link '-exit' directive
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos KoscoNLM_EXIT_SYM =
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# If this is specified it will be used by the link '-check' directive
e325ce06d9350834b2eab65f00334d7861354c61Lubos KoscoNLM_CHECK_SYM =
e325ce06d9350834b2eab65f00334d7861354c61Lubos Kosco# If these are specified it will be used by the link '-flags' directive
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# If this is specified it will be linked in with the XDCData option in the def
e325ce06d9350834b2eab65f00334d7861354c61Lubos Kosco# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# by setting APACHE_UNIPROC in the environment
a90c307564052f582357f820eadec4390e6a86c6Trond Norbye# If there is an NLM target, put it here
a90c307564052f582357f820eadec4390e6a86c6Trond NorbyeTARGET_nlm = \
5e0ccd8bb84a766f65680b4cc1e43b356d1d78b8Trond Norbye# If there is an LIB target, put it here
a90c307564052f582357f820eadec4390e6a86c6Trond NorbyeTARGET_lib = \
a90c307564052f582357f820eadec4390e6a86c6Trond Norbye# These are the OBJ files needed to create the NLM target above.
a90c307564052f582357f820eadec4390e6a86c6Trond Norbye# Paths must all use the '/' character
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeFILES_nlm_objs = \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# 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