Always set CLEANFILES, even if not building.

This will ensure that 'make clean' does the right thing.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2016-11-13 00:10:56 +00:00
parent 3e7ddf02dc
commit 1deef6e403
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308597

View File

@ -304,7 +304,6 @@ all:
.else
.if defined(_LIBS) && !empty(_LIBS)
all: ${_LIBS}
CLEANFILES+= ${_LIBS}
.endif
.if ${MK_MAN} != "no" && !defined(LIBRARIES_ONLY)
@ -312,6 +311,8 @@ all: all-man
.endif
.endif
CLEANFILES+= ${_LIBS}
_EXTRADEPEND:
.if !defined(NO_EXTRADEPEND) && defined(SHLIB_NAME)
.if defined(DPADD) && !empty(DPADD)