diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-08-08 07:02:08 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-08-08 07:02:08 +0000 |
commit | e0301e5d4b074b7856f2d2cc284998a4d1b1a038 (patch) | |
tree | bd03db8f8e0b73500b5897dd42ca31776efe8d91 /sys/conf | |
parent | 57eec98d624a502483e3c5301120da14fd7f0a10 (diff) | |
download | src-e0301e5d4b074b7856f2d2cc284998a4d1b1a038.tar.gz src-e0301e5d4b074b7856f2d2cc284998a4d1b1a038.zip |
Make ../Makefile.inc handling more consistant to prevent multiple includes
when certain .mk files include other .mk files. This will remove the
need for multiple include protection in some other makefiles around the
tree (and helps some elf conditionals).
Notes
Notes:
svn path=/head/; revision=38183
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 3d97b72a11df..229923b49e68 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.49 1998/06/09 02:55:40 bde Exp $ +# $Id: bsd.kmod.mk,v 1.50 1998/07/29 14:19:48 bde Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # @@ -81,9 +81,12 @@ MODLOAD?= /sbin/modload MODUNLOAD?= /sbin/modunload +.if !target(__initialized__) +__initialized__: .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif +.endif .SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S |