Module Name: src Committed By: christos Date: Tue Jun 5 00:58:17 UTC 2018
Modified Files: src/sys/compat/common: Makefile Log Message: use the standard rules, instead of rolling our own. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/compat/common/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/common/Makefile diff -u src/sys/compat/common/Makefile:1.63 src/sys/compat/common/Makefile:1.64 --- src/sys/compat/common/Makefile:1.63 Tue Dec 19 23:46:19 2017 +++ src/sys/compat/common/Makefile Mon Jun 4 20:58:17 2018 @@ -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 @@ libinstall:: .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}.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}.o:: ${OBJS:O} __buildstdlib + +lib${LIB}.po:: ${POBJS:O} __buildproflib showsources: ${SRCS} @echo ${.ALLSRC}