From 5ffdf3618ef756f26c675e5f92339d069e20b731 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 22 Apr 2002 10:04:41 +0000 Subject: [PATCH] Prohibit the direct inclusion of bsd.dep.mk. --- share/mk/bsd.dep.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 3d079bbca71e..62fd6816b6d1 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(____) +.error bsd.dep.mk cannot be included directly. +.endif .if ${CC} != "cc" MKDEPCMD?= CC=${CC} mkdep