From 71f49600889a12927ce58b2aeb4be547b60259c1 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 22 Apr 2002 10:04:41 +0000 Subject: Prohibit the direct inclusion of bsd.dep.mk. --- share/mk/bsd.dep.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share/mk/bsd.dep.mk') 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(____) +.error bsd.dep.mk cannot be included directly. +.endif .if ${CC} != "cc" MKDEPCMD?= CC=${CC} mkdep -- cgit v1.1