Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common use the standard rules, instead of rolling...
details: https://anonhg.NetBSD.org/src/rev/1ea8e661106f
branches: trunk
changeset: 323238:1ea8e661106f
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 05 00:58:17 2018 +0000
description:
use the standard rules, instead of rolling our own.
diffstat:
sys/compat/common/Makefile | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diffs (27 lines):
diff -r 53881bd9194c -r 1ea8e661106f sys/compat/common/Makefile
--- a/sys/compat/common/Makefile Tue Jun 05 00:57:47 2018 +0000
+++ b/sys/compat/common/Makefile Tue Jun 05 00:58:17 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2017/12/20 04:46:19 maya Exp $
+# $NetBSD: Makefile,v 1.64 2018/06/05 00:58:17 christos Exp $
LIB= compat
NOPIC= # defined
@@ -23,15 +23,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 ${LDFLAGS} `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 ${LDFLAGS} `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
+lib${LIB}.po:: ${POBJS:O} __buildproflib
showsources: ${SRCS}
@echo ${.ALLSRC}
Home |
Main Index |
Thread Index |
Old Index