]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use `ld -f' (actually `cc -Wl,-f') at `make depend' time to generate
authorBruce Evans <bde@FreeBSD.org>
Wed, 9 Apr 1997 16:10:27 +0000 (16:10 +0000)
committerBruce Evans <bde@FreeBSD.org>
Wed, 9 Apr 1997 16:10:27 +0000 (16:10 +0000)
commit663e9677d5e8ba82effa9440380de13b92eaa145
tree649bca50267531661f1f53bdea304688746b7d68
parentc67b1734f54108e9369f72dfc47649224e6bd14d
Use `ld -f' (actually `cc -Wl,-f') at `make depend' time to generate
almost perfect dependencies on crt0's and libraries.  DPADD and
bsd.libnames.mk should go away soon.  Use a new _EXTRADEPEND target
to implement this and to avoid editing of .depend when .depend isn;t
being rebuilt.  The afterdepend target doesn't seem to be good for
anything and is now unused.

Fixed LDDESTDIR for the DESTDIR case when ${SHLIBDIR} != /usr/lib.

Added commented-out -nostdlib to LDDESTDIR for the DESTDIR case.
The wrong libraries may be used without this; however it breaks
linkage to crt0 and libc.
share/mk/bsd.dep.mk
share/mk/bsd.lib.mk
share/mk/bsd.prog.mk