ChorusOS 5.0 Source Delivery Guide

all.dp

The Makefile listed above for the OS component, located at build_dir/build-OS/src/sys, includes a dependency file, all.dp. This dependency file is located in the same directory as the Makefile. In the OS component, the all.dp file contains the list of files upon which the linked binary files, such as actors or libraries, are dependent. The -export lines at the top of the file are used by getExport during the link phase. In this example, as the directory contains no object file, these lines are empty.


Example 4-6 An all.dp File

host% head all.dp
#       automatically generated file
# -export ALL :      
# -export SUP :                                        
# -export USR :                                        
# built from a complex makefile

C_OS: cam/scsi/all.dp
C_OS: cam/scsi/scsi_da.o
C_OS: cam/scsi/scsi_all.o
....
C_OS: all.dp