aboutsummaryrefslogtreecommitdiff
path: root/share/mk/bsd.init.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.init.mk')
-rw-r--r--share/mk/bsd.init.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk
new file mode 100644
index 000000000000..ff6517ce1609
--- /dev/null
+++ b/share/mk/bsd.init.mk
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+# The include file <bsd.init.mk> includes ../Makefile.inc and
+# <bsd.own.mk>; this is used at the top of all <bsd.*.mk> files
+# that actually "build something".
+
+.if !target(__<bsd.init.mk>__)
+__<bsd.init.mk>__:
+.if exists(${.CURDIR}/../Makefile.inc)
+.include "${.CURDIR}/../Makefile.inc"
+.endif
+.include <bsd.own.mk>
+.MAIN: all
+.endif !target(__<bsd.init.mk>__)