Tue Sep 1 17:12:30 2020 UTC ()
make(1): remove filemon object files on clean


(rillig)
diff -r1.98 -r1.99 src/usr.bin/make/Makefile

cvs diff -r1.98 -r1.99 src/usr.bin/make/Makefile (expand / switch to unified diff)

--- src/usr.bin/make/Makefile 2020/08/31 16:41:19 1.98
+++ src/usr.bin/make/Makefile 2020/09/01 17:12:30 1.99
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.98 2020/08/31 16:41:19 rillig Exp $ 1# $NetBSD: Makefile,v 1.99 2020/09/01 17:12:30 rillig Exp $
2# @(#)Makefile 5.2 (Berkeley) 12/28/90 2# @(#)Makefile 5.2 (Berkeley) 12/28/90
3 3
4PROG= make 4PROG= make
5SRCS= arch.c 5SRCS= arch.c
6SRCS+= buf.c 6SRCS+= buf.c
7SRCS+= compat.c 7SRCS+= compat.c
8SRCS+= cond.c 8SRCS+= cond.c
9SRCS+= dir.c 9SRCS+= dir.c
10SRCS+= enum.c 10SRCS+= enum.c
11SRCS+= for.c 11SRCS+= for.c
12SRCS+= hash.c 12SRCS+= hash.c
13SRCS+= job.c 13SRCS+= job.c
14SRCS+= lst.c 14SRCS+= lst.c
@@ -112,26 +112,27 @@ FILEMON_H?= /usr/include/dev/filemon/fil @@ -112,26 +112,27 @@ FILEMON_H?= /usr/include/dev/filemon/fil
112COPTS.filemon_dev.c+= \ 112COPTS.filemon_dev.c+= \
113 -DHAVE_FILEMON_H -I${FILEMON_H:H} 113 -DHAVE_FILEMON_H -I${FILEMON_H:H}
114. endif 114. endif
115. endif 115. endif
116. endif 116. endif
117.endif 117.endif
118 118
119SUBDIR.roff+= PSD.doc 119SUBDIR.roff+= PSD.doc
120.if make(obj) || make(clean) 120.if make(obj) || make(clean)
121SUBDIR+= unit-tests 121SUBDIR+= unit-tests
122.endif 122.endif
123 123
124${SRCS:M*.c:.c=.o}: ${HDRS} 124${SRCS:M*.c:.c=.o}: ${HDRS}
 125CLEANFILES+= *.o
125 126
126.include <bsd.prog.mk> 127.include <bsd.prog.mk>
127.include <bsd.subdir.mk> 128.include <bsd.subdir.mk>
128 129
129CPPFLAGS+= -DMAKE_NATIVE 130CPPFLAGS+= -DMAKE_NATIVE
130COPTS.job.c+= -Wno-format-nonliteral 131COPTS.job.c+= -Wno-format-nonliteral
131COPTS.parse.c+= -Wno-format-nonliteral 132COPTS.parse.c+= -Wno-format-nonliteral
132COPTS.var.c+= -Wno-format-nonliteral 133COPTS.var.c+= -Wno-format-nonliteral
133 134
134.if ${USE_GCC10} == "yes" 135.if ${USE_GCC10} == "yes"
135GCC10BASE?= /usr/pkg/gcc10 136GCC10BASE?= /usr/pkg/gcc10
136CC= ${GCC10BASE}/bin/gcc 137CC= ${GCC10BASE}/bin/gcc
137GCOV= ${GCC10BASE}/bin/gcov 138GCOV= ${GCC10BASE}/bin/gcov