diff options
author | swallace <swallace@FreeBSD.org> | 1996-09-18 06:09:19 +0000 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1996-09-18 06:09:19 +0000 |
commit | bf917b585281f36dcd0b77776310bbed3d2afa75 (patch) | |
tree | 5e68ffb00772ef80e8a846a595fea3f835598d1c /sys/conf | |
parent | 61bc096e33ee817e7457d3f20f9218cae76fd257 (diff) | |
download | FreeBSD-src-bf917b585281f36dcd0b77776310bbed3d2afa75.zip FreeBSD-src-bf917b585281f36dcd0b77776310bbed3d2afa75.tar.gz |
.TARGETOBJDIR has been removed from make and CANONICALOBJDIR set in
bsd.obj.mk. Also, a make target called objwarn checks to see
if ${.OBJDIR} != ${.CURDIR} and ${.OBJDIR} != ${CANONICALOBJDIR}
and outputs a warning. (No warning for the latter if MAKEOBJDIR or MAKEOBJDIRP
REFIX is set). objwarn is called from all targets in bsd.prog.mk, bsd.kmod.mk,
and bsd.lib.mk.
Reviewed by: bde
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 89fd5af..99b41e0 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.24 1996/06/30 22:16:19 jkh Exp $ +# $Id: bsd.kmod.mk,v 1.25 1996/08/31 14:46:58 bde Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists, @@ -139,7 +139,7 @@ all-man: .endif .MAIN: all -all: ${PROG} all-man _SUBDIR +all: objwarn ${PROG} all-man _SUBDIR CLEANFILES+=${PROG} ${OBJS} |