]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/mk/bsd.init.mk
Sync with HEAD.
[FreeBSD/FreeBSD.git] / share / mk / bsd.init.mk
1 # $FreeBSD$
2
3 # The include file <bsd.init.mk> includes ../Makefile.inc and
4 # <bsd.own.mk>; this is used at the top of all <bsd.*.mk> files
5 # that actually "build something".
6
7 .if !target(__<bsd.init.mk>__)
8 __<bsd.init.mk>__:
9 .sinclude "local.init.mk"
10 .if exists(${.CURDIR}/../Makefile.inc)
11 .include "${.CURDIR}/../Makefile.inc"
12 .endif
13 .include <bsd.own.mk>
14 .MAIN: all
15
16 .if defined(.PARSEDIR)
17 .if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" && !make(clean*)
18 # this tells lib.mk and prog.mk to not actually build anything
19 _SKIP_BUILD = not building at level 0
20 .endif
21 .endif
22
23 .endif  # !target(__<bsd.init.mk>__)