From: niklas Date: Thu, 6 Feb 1997 10:49:16 +0000 (+0000) Subject: Add a LORDER make symbol and use it X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c196a70a74399e00474df5c0ab2451f85bd1bdbd;p=openbsd Add a LORDER make symbol and use it --- diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 9198d281c72..71e35bb67d0 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lib.mk,v 1.11 1997/01/26 00:22:28 deraadt Exp $ +# $OpenBSD: bsd.lib.mk,v 1.12 1997/02/06 10:49:17 niklas Exp $ # $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $ # @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 @@ -115,21 +115,21 @@ OBJS+= ${SRCS:N*.h:R:S/$/.o/g} lib${LIB}.a:: ${OBJS} @echo building standard ${LIB} library @rm -f lib${LIB}.a - @${AR} cq lib${LIB}.a `lorder ${OBJS} | tsort -q` + @${AR} cq lib${LIB}.a `${LORDER} ${OBJS} | tsort -q` ${RANLIB} lib${LIB}.a POBJS+= ${OBJS:.o=.po} lib${LIB}_p.a:: ${POBJS} @echo building profiled ${LIB} library @rm -f lib${LIB}_p.a - @${AR} cq lib${LIB}_p.a `lorder ${POBJS} | tsort -q` + @${AR} cq lib${LIB}_p.a `${LORDER} ${POBJS} | tsort -q` ${RANLIB} lib${LIB}_p.a SOBJS+= ${OBJS:.o=.so} lib${LIB}_pic.a:: ${SOBJS} @echo building shared object ${LIB} library @rm -f lib${LIB}_pic.a - @${AR} cq lib${LIB}_pic.a `lorder ${SOBJS} | tsort -q` + @${AR} cq lib${LIB}_pic.a `${LORDER} ${SOBJS} | tsort -q` ${RANLIB} lib${LIB}_pic.a .if (${MACHINE_ARCH} != "mips") diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 236f9bcaaa3..ab49ddf4226 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -1,4 +1,4 @@ -# $OpenBSD: sys.mk,v 1.10 1997/01/08 07:35:04 niklas Exp $ +# $OpenBSD: sys.mk,v 1.11 1997/02/06 10:49:16 niklas Exp $ # $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $ # @(#)sys.mk 5.11 (Berkeley) 3/13/91 @@ -17,6 +17,7 @@ unix= We run OpenBSD. AR?= ar ARFLAGS?= rl RANLIB?= ranlib +LORDER?= lorder AS?= as AFLAGS?= ${DEBUG}