diff options
author | peter <peter@FreeBSD.org> | 1998-08-08 07:02:08 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-08-08 07:02:08 +0000 |
commit | 912ec94d68f55da823d1818442c50925d735455f (patch) | |
tree | d2d1765679bbb537ae059d1ce0c1ebf7e4c39c4c /share/mk/bsd.prog.mk | |
parent | f1b6bb19f5a22b0f4f9b0f975676c9d213b033c8 (diff) | |
download | FreeBSD-src-912ec94d68f55da823d1818442c50925d735455f.zip FreeBSD-src-912ec94d68f55da823d1818442c50925d735455f.tar.gz |
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).
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r-- | share/mk/bsd.prog.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index e35df86..9336988 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,9 +1,12 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.74 1998/05/15 09:34:48 bde Exp $ +# $Id: bsd.prog.mk,v 1.75 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 BINFORMAT?= aout |