Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib Use the standard build rules.
details: https://anonhg.NetBSD.org/src/rev/53881bd9194c
branches: trunk
changeset: 323237:53881bd9194c
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 05 00:57:47 2018 +0000
description:
Use the standard build rules.
diffstat:
sys/lib/libkern/Makefile | 12 +++---------
sys/lib/libsa/Makefile | 7 ++-----
sys/lib/libz/Makefile | 7 ++-----
3 files changed, 7 insertions(+), 19 deletions(-)
diffs (69 lines):
diff -r 05d129663b37 -r 53881bd9194c sys/lib/libkern/Makefile
--- a/sys/lib/libkern/Makefile Tue Jun 05 00:56:51 2018 +0000
+++ b/sys/lib/libkern/Makefile Tue Jun 05 00:57:47 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2016/03/22 08:25:23 mrg Exp $
+# $NetBSD: Makefile,v 1.101 2018/06/05 00:57:47 christos Exp $
LIB= kern
NOPIC= # defined
@@ -17,15 +17,9 @@
.undef DESTDIR
.include <bsd.lib.mk>
-lib${LIB}.o:: ${OBJS:O}
- @echo building standard ${LIB} library
- @rm -f lib${LIB}.o
- @${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
+lib${LIB}.o:: ${OBJS:O} __buildstdlib
-lib${LIB}.po:: ${POBJS:O}
- @echo building profiled ${LIB} library
- @rm -f lib${LIB}.po
- @${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
+lib${LIB}.po:: ${POBJS:O} __buildproflib
showsources: ${SRCS:O}
@echo ${.ALLSRC}
diff -r 05d129663b37 -r 53881bd9194c sys/lib/libsa/Makefile
--- a/sys/lib/libsa/Makefile Tue Jun 05 00:56:51 2018 +0000
+++ b/sys/lib/libsa/Makefile Tue Jun 05 00:57:47 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2016/03/22 08:25:23 mrg Exp $
+# $NetBSD: Makefile,v 1.88 2018/06/05 00:57:47 christos Exp $
LIB= sa
LIBISPRIVATE?= yes
@@ -79,10 +79,7 @@
.include <bsd.lib.mk>
-lib${LIB}.o:: ${OBJS:O}
- @echo building standard ${LIB} library
- @rm -f lib${LIB}.o
- @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
+lib${LIB}.o:: ${OBJS:O} __buildstdlib
CPPFLAGS+= -Wno-pointer-sign
diff -r 05d129663b37 -r 53881bd9194c sys/lib/libz/Makefile
--- a/sys/lib/libz/Makefile Tue Jun 05 00:56:51 2018 +0000
+++ b/sys/lib/libz/Makefile Tue Jun 05 00:57:47 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2016/03/22 08:25:23 mrg Exp $
+# $NetBSD: Makefile,v 1.23 2018/06/05 00:57:47 christos Exp $
LIB= z
LIBISPRIVATE= yes
@@ -24,10 +24,7 @@
.undef DESTDIR
.include <bsd.lib.mk>
-lib${LIB}.o:: ${OBJS:O}
- @echo building standard ${LIB} library
- @rm -f lib${LIB}.o
- @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
+lib${LIB}.o:: ${OBJS:O} __buildstdlib
.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
COPTS.inftrees.c+= -O0
Home |
Main Index |
Thread Index |
Old Index