From owner-cvs-share Wed Apr 9 09:10:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA28888 for cvs-share-outgoing; Wed, 9 Apr 1997 09:10:36 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA28881; Wed, 9 Apr 1997 09:10:33 -0700 (PDT) Date: Wed, 9 Apr 1997 09:10:33 -0700 (PDT) From: Bruce Evans Message-Id: <199704091610.JAA28881@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-share Subject: cvs commit: src/share/mk bsd.dep.mk bsd.lib.mk bsd.prog.mk Sender: owner-cvs-share@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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