Date: Wed, 9 Apr 1997 09:10:33 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-share Subject: cvs commit: src/share/mk bsd.dep.mk bsd.lib.mk bsd.prog.mk Message-ID: <199704091610.JAA28881@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 97/04/09 09:10:33
Modified: share/mk bsd.dep.mk bsd.lib.mk bsd.prog.mk
Log:
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.
Revision Changes Path
1.11 +4 -1 src/share/mk/bsd.dep.mk
1.51 +13 -6 src/share/mk/bsd.lib.mk
1.46 +15 -6 src/share/mk/bsd.prog.mk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704091610.JAA28881>
