prj_extensions
start extension subsystem\ext-template
[target target_file_name]
[sources source_file_1 ... source_file_n]
[dependencies dependency_file_1 ... dependency_file_n]
[tool toolname]
[option key_1 value_1]
...
[option key_n value_n]
end
Note: The value argument in the option statement is optional.
The prj_extensions section lists all the template extension makefiles that are to be invoked while building the component. This approach is introduced since Symbian OS v9.3 and it deprecates the use of makefile and gnumakefile directives in bld.inf files. It is recommend to use prj_extensions approach to call the extension makefile templates.
Note that a prj_extensions section can have one or more of start extension ... end blocks.
subsystem/ext-template specifies the extension makefile template name along with its path relative to the epoc32 template directory, which is \epoc32\tools\makefile_templates\. The .mk suffix of the template need not be specified, as it is handled automatically.
The optional target target_file_name specifies the name and location of the target to be built.
The optional sources source_file_1 .... source_file_n specifies the list of source file names along with their path, which are required to build the target.
The optional dependencies dependency_file_1 ... dependency_file_n specifies the list of dependency file names along with their path, which are required to build the target. The file extension part of the name need not be specified, as this will be automatically supplied.
The optional tool toolname specifies the tool to be used to build the target.
The optional option key_1 value_1 specifies the parameter values for the template extension makefile, as key-value pairs. These parameters are variables used in the template, and the precise set of variables specified here are entirely dependent on the requirement. There is no limit to the number of parameters a template extension makefile may require and can take.