This script generates dependencies for lisp sources, based on
(require) sexps, a load-path, a set of logical pathname translations
and ad-hoc processing.
LICENSE:
AGPL3
Copyright Pascal J. Bourguignon 2002 - 2015
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
|
(make-depends object-files packages translations load-paths &key idf verbose) |
function |
DO: Finds the dependencies of the object files.
PACKAGES: A list of names of the packages preloaded.
NOTE: Since the list of preloaded packages depends on the lisp
compiler, it should be given along with object files
compiled by this compiler. However, if it is known that
only a common list of predefined package is used in the
source packages, it can be given.
TRANSLATIONS: A list of (CONS HOST TRANSLATIONS) that will be used to
set the logical pathname translations. These translations
are used first
NOTE: We set the logical pathname translations only in here to avoid
problems loading this program.
LOAD-PATHS: A list of directory path names where to find the files when
not found thru the logical pathname translations.
The presence in LOAD-PATHS of a logical pathname warrants
the presence in HOST-LPT of an entry mapping it to a physical
path.
IDF: If NIL, write the dependencies on the standard output,
else, write the dependencies of each object file into its
own .d file.