FILES(2)

Table of Contents

Name

files specifies a list of files to use in building an SDTool

Synopsis

%files
filename ...

Description

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.

Example

%middlecode

check1();
/* do first semantic check */
check2();
/* do second semantic check */ %files check1.c check2.c constants.h %makefile check1.o: constants.h global.h check2.o: global.h

See Also

MAKEFILE(2)
MIDDLECODE(2)


© 1990 Lucent Technologies, Inc
© 1998 Harmony Software, Inc