[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.6.3 Make Targets in Cygnus Tree

The top level `Makefile' in the Cygnus tree defines targets for every known subdirectory.

For every subdirectory dir which holds a host library or program, the `Makefile' target `all-dir' will build that library or program.

There are dependencies among host tools. For example, building gcc requires first building gas, because the gcc build process invokes the target assembler. These dependencies are reflected in the top level `Makefile'.

For every subdirectory dir which holds a target library, the `Makefile' target `configure-target-dir' will configure that library. The `Makefile' target `all-target-dir' will build that library.

Every `configure-target-dir' target depends upon `all-gcc', since gcc, the target compiler, is required to configure the tool. Every `all-target-dir' target depends upon the corresponding `configure-target-dir' target.

There are several other targets which may be of interest for each directory: `install-dir', `clean-dir', and `check-dir'. There are also corresponding `target' versions of these for the target libraries , such as `install-target-dir'.



This document was generated by system on December, 2 2004 using texi2html