1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Use lorder/tsort for shared libraries. It might help group things better.

Suggested by Garrett Wollman.
This commit is contained in:
David Greenman 1995-08-02 22:31:52 +00:00
parent 1a72d1f5bf
commit 670173822b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9870

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# $Id: bsd.lib.mk,v 1.23 1995/02/25 20:51:12 phk Exp $
# $Id: bsd.lib.mk,v 1.24 1995/03/28 17:54:11 nate Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@ -199,7 +199,7 @@ lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${SOBJS}
@rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
@${LD} -Bshareable \
-o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
${SOBJS} ${LDDESTDIR} ${LDADD}
`lorder ${SOBJS} | tsort` ${LDDESTDIR} ${LDADD}
lib${LIB}_pic.a:: ${SOBJS}
@${ECHO} building special pic ${LIB} library