files specifies a list of files to use in building an SDTool
%files
filename ...
The files section of a source description file contains a list of files to incorporate into an SDTool. The files are normally C source code, C header files or C libraries.
This section is provided because it is often convenient to
keep custom-written code, code that becomes part of an
SDTool, in files that are separate from the source
description and product description files. For example,
instead of putting a lengthy checking algorithm in a
middlecode section, a subroutine check could be written and
placed in a separate file, say check.c. Then the files
section:
%files check.c
would cause ivy*meta SDTB to automatically include this file
in the SDTool. The same technique works for C header files
and precompiled library files. With header files, however,
it is important to add header file dependencies in the
makefile section.
%middlecode