1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

The warning was triggering off the unused variable MAKEOBJDIR, instead

of the variable OBJLINK which is used in /etc/make.conf to build 'obj'
links in the current directory.  This caused lots of useless warnings
since if OBJLINK is defined ./obj will be created and used.
This commit is contained in:
Nate Williams 1996-09-28 19:39:18 +00:00
parent 621c6c073d
commit 7fc738cf77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18545

View File

@ -1,4 +1,4 @@
# $Id: bsd.obj.mk,v 1.13 1996/09/24 03:48:10 ache Exp $
# $Id: bsd.obj.mk,v 1.14 1996/09/24 04:17:14 ache Exp $
#
# The include file <bsd.obj.mk> handles creating 'obj' directory
# and cleaning up object files, log files etc.
@ -46,7 +46,7 @@ objwarn:
.if ${.OBJDIR} == ${.CURDIR}
@${ECHO} "Warning: Object directory not changed from original ${.CURDIR}"
.elif !defined(MAKEOBJDIRPREFIX) && ${.OBJDIR} != ${CANONICALOBJDIR}
.if !defined(MAKEOBJDIR)
.if !defined(OBJLINK)
@${ECHO} "Warning: Using ${.OBJDIR} as object directory instead of\
canonical ${CANONICALOBJDIR}"
.endif