]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/mk/bsd.init.mk
Import the skein hashing algorithm, based on the threefish block cipher
[FreeBSD/FreeBSD.git] / share / mk / bsd.init.mk
1 # $FreeBSD$
2
3 # The include file <bsd.init.mk> includes <bsd.opts.mk>,
4 # ../Makefile.inc and <bsd.own.mk>; this is used at the
5 # top of all <bsd.*.mk> files that actually "build something".
6 # bsd.opts.mk is included early so Makefile.inc can use the
7 # MK_FOO variables.
8
9 .if !target(__<bsd.init.mk>__)
10 __<bsd.init.mk>__:
11 .include <bsd.opts.mk>
12 .-include "local.init.mk"
13 .if exists(${.CURDIR}/../Makefile.inc)
14 .include "${.CURDIR}/../Makefile.inc"
15 .endif
16 .include <bsd.own.mk>
17 .MAIN: all
18 beforebuild: .PHONY .NOTMAIN
19 .if !defined(_SKIP_BUILD)
20 all: beforebuild .WAIT
21 .endif
22
23 .if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" && !make(clean*)
24 # this tells lib.mk and prog.mk to not actually build anything
25 _SKIP_BUILD = not building at level 0
26 .endif
27 .if ${.MAKE.LEVEL} > 0 && !empty(_SKIP_BUILD)
28 .warning ${_SKIP_BUILD}
29 .endif
30
31 .endif  # !target(__<bsd.init.mk>__)