summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-06 10:49:18 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-06 10:49:18 +0000
commit07dcbcc923180c76135e12ab549a17fd00795bde (patch)
tree2d24165a195a8b0188cd9bfc4bc21927e437e0dd /share
parent9d740d77ff26bf16f43d66ba88a21ee0278dba34 (diff)
Add a LORDER make symbol and use it
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lib.mk8
-rw-r--r--share/mk/sys.mk3
2 files changed, 6 insertions, 5 deletions
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}