diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index ff954ecfeac8..cdcadb034b44 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -5,8 +5,6 @@ # # +++ variables +++ # -# CLEANDEPFILES Additional files to clean when doing cleandepend -# # CTAGS A tags file generation program [gtags] # # CTAGSFLAGS Options for ctags(1) [not set] @@ -184,9 +182,6 @@ cleandepend: .if defined(HTML) rm -rf HTML .endif -.if defined(CLEANDEPFILES) - rm -f ${CLEANDEPFILES} -.endif .endif .endif .endif diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index c0c74e3dbfe2..2ca8561c4eb9 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -7,8 +7,7 @@ PROG= kdump SRCS= kdump.c ioctl.c kdump_subr.c subr.c CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../.. -CLEANDEPFILES= ioctl.c kdump_subr.c -CLEANFILES= ${CLEANDEPFILES} +CLEANFILES= ioctl.c kdump_subr.c ioctl.c: mkioctls sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET} diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile index 35ec96953588..d1ae0ace15db 100644 --- a/usr.bin/truss/Makefile +++ b/usr.bin/truss/Makefile @@ -9,9 +9,8 @@ SRCS+= i386-linux.c linux_syscalls.h .endif CFLAGS+= -I${.CURDIR} -I. -CLEANDEPFILES=i386l-syscalls.master syscalls.master linux_syscalls.h \ +CLEANFILES=i386l-syscalls.master syscalls.master linux_syscalls.h \ syscalls.h ioctl.c -CLEANFILES+=${CLEANDEPFILES} .SUFFIXES: .master