|
||
start
platform
platform-specific-statement-list
[COPY_FOR_STATIC_LINKAGE
]
end
A platform-specific section is enclosed in a start
and
end
block.
The platform-specific statements allowed depend on the platform.
Unlike #if defined
blocks, which allow statements to specify
different files dependent upon the platform for which the makefile is being
created, start ... end
platform blocks are used to delimit
statements understood only by the build tools when creating a makefile for a
particular platform.
Specify the platform as MARM if the section is defined for ARM platforms, or WINS for non-ARM platforms. Specify the platform as WINC for WINC and VC6WINC only sections.
The COPY_FOR_STATIC_LINKAGE
statement is useful for DLLs
that are both dynamically loaded and statically linked. If it is used in a
START WINS
block, then the target DLL is built both into the
specified target directory (for dynamic loading), and into the
epoc32\release\
wins or
winscw\
udeb or urel (for static
linking).