Test target __initialized__ instead of .MAIN to see if inclusion

of ../Makefile.inc is necessary.
This commit is contained in:
enami 1998-04-03 04:40:42 +00:00
parent f7fc870789
commit 6e80cfe67f
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# $NetBSD: bsd.nls.mk,v 1.10 1997/10/11 08:16:28 mycroft Exp $
# $NetBSD: bsd.nls.mk,v 1.11 1998/04/03 04:40:42 enami Exp $
.if !target(.MAIN)
.if !target(__initialized__)
__initialized__:
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.endif