From 88297284ad14a233430cb5140d368edf17dacf7a Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 18 Feb 2016 13:04:05 +0100 Subject: Don't treat .d (depend) files separately from object files .d (.MMS in the VMS world) files with just dependencies are built from exactly the same conditions as the object files. Therefore, the rules for them can be built at the same time as the rules for the corresponding object files. This removes the requirement for a src2dep function in the build file templates, and for common.tmpl to call it. In the end, the existence of depend files is entirely up to the build file. Reviewed-by: Rich Salz --- Configurations/README | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'Configurations/README') diff --git a/Configurations/README b/Configurations/README index 89fc65ca21..4945c1ce3b 100644 --- a/Configurations/README +++ b/Configurations/README @@ -480,26 +480,6 @@ The build-file template is expected to define at least the following perl functions in a perl code fragment enclosed with "{-" and "-}". They are all expected to return a string with the lines they produce. - src2dep - function that produces build file lines to get the - dependencies for an object file into a dependency - file. - - It's called like this: - - src2dep(obj => "PATH/TO/objectfile", - srcs => [ "PATH/TO/sourcefile", ... ], - deps => [ "dep1", ... ], - incs => [ "INCL/PATH", ... ]); - - 'obj' has the dependent object file as well as - object file the dependencies are for; it's *without* - extension, src2dep() is expected to add that. - 'srcs' has the list of source files to build the - object file, with the first item being the source - file that directly corresponds to the object file. - 'deps' is a list of explicit dependencies. 'incs' - is a list of include file directories. - src2obj - function that produces build file lines to build an object file from source files and associated data. -- cgit v1.2.3