xref: /freebsd/share/mk/bsd.init.mk (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
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.if exists(${.CURDIR}/../Makefile.inc)
13.include "${.CURDIR}/../Makefile.inc"
14.endif
15.include <bsd.own.mk>
16.MAIN: all
17.endif	# !target(__<bsd.init.mk>__)
18