The dependencies are converted into a format like:
libmyalps${LIBPOSTFIX}(myarith.${FILEEXTENSION}):\
libmyalps${LIBPOSTFIX}(myprtype.${FILEEXTENSION}) |
for lines that look like
myalps src/myalps/arith my
myalps src/myalps/prtype my |
in the corresponding file given as the first parameter (see page 502).
The generated files src/Makefile.dep and test/Makefile.dep are used for the generation of the .al as well as the .a libraries. The corresponding extensions will be set in src/Makefile.nw and test/Makefile.nw via the variables LIBPOSTFIX and FILEEXTENSION. They are set to
LIBPOSTFIX=.al
FILEEXTENSION=ao |
or
LIBPOSTFIX=.a
FILEEXTENSION=o |
in the corresponding Makefile before src/Makefile.dep and test/Makefile.dep become relevant.
If one wants to see the full set of dependencies, simply comment out the line
if ($DEP{$LIBfile}{$f} == 0) {next} #full or not full
|