From 912ec94d68f55da823d1818442c50925d735455f Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 8 Aug 1998 07:02:08 +0000 Subject: 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). --- share/mk/bsd.lib.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'share/mk/bsd.lib.mk') diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index bbabf5e..eef7265 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,10 +1,13 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.73 1998/06/04 15:15:38 peter Exp $ +# $Id: bsd.lib.mk,v 1.74 1998/06/05 18:38:54 dt Exp $ # +.if !target(__initialized__) +__initialized__: .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif +.endif # Default executable format .if ${MACHINE} == "alpha" -- cgit v1.1