summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.dep.mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-22 10:04:41 +0000
committerru <ru@FreeBSD.org>2002-04-22 10:04:41 +0000
commit71f49600889a12927ce58b2aeb4be547b60259c1 (patch)
tree78b21250a0899ee180b8dada95434d39116e8e6c /share/mk/bsd.dep.mk
parentf29995be3e0ce16da78e056f0d031f205e652bc9 (diff)
downloadFreeBSD-src-71f49600889a12927ce58b2aeb4be547b60259c1.zip
FreeBSD-src-71f49600889a12927ce58b2aeb4be547b60259c1.tar.gz
Prohibit the direct inclusion of bsd.dep.mk.
Diffstat (limited to 'share/mk/bsd.dep.mk')
-rw-r--r--share/mk/bsd.dep.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 3d079bb..62fd681 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -27,6 +27,9 @@
# Create a (GLOBAL) gtags file for the source files.
# If HTML is defined, htags is also run after gtags.
+.if !target(__<bsd.init.mk>__)
+.error bsd.dep.mk cannot be included directly.
+.endif
.if ${CC} != "cc"
MKDEPCMD?= CC=${CC} mkdep
OpenPOWER on IntegriCloud