HardenedBSD/tools/build/make_check/check.mk
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

19 lines
326 B
Makefile

all:
${MK} ${MK_ARG}
.if exists(${.OBJDIR}/../../../usr.bin/make/make)
MK= ${.OBJDIR}/../../../usr.bin/make/make
new:
${MK} ${MK_ARG} 2>&1 | tee out-new
@echo "-=-=-=-=-=-"
make ${MK_ARG} 2>&1 | tee out-old
@echo "-=-=-=-=-=-"
diff -s out-old out-new
.else
MK= make
.endif
MK_ARG= -C ${.CURDIR}
.include <bsd.obj.mk>