Windows Driver Kit: Driver Development Tools
Sources file
You describe Build utility products in a file named "sources" that resides in each source code subdirectory.
The Sources file contains a series of macro definitions that are recognized by the Build utility. For more information, see Using Macros and Environment Variables.
The !include Directive and the SOURCES_USED Macro
If you use the !include preprocessing directive to include some file in a Sources file or in Makefile.inc, you must use the SOURCES_USED macro to list the included files.
The files listed in SOURCES_USED are treated as a dependency for regenerating the _objects.mac file. This file is in the root of the dependency tree, and contains all of the dependencies for building the current directory. Adding these file names to the SOURCES_USED macro assures that the Build utility will correctly detect whether _objects.mac needs to be updated.
There are several preprocessing directives available, such as !include, !if, and !endif. See the topic "Makefile Preprocessing Directives" in the "NMAKE Reference" section of the MSDN for more information.
For information about creating a Sources file, see Utilizing a Sources file Template.