summaryrefslogtreecommitdiffstats
path: root/lib/clang/clang.build.mk
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-10-12 23:32:48 +0000
committersjg <sjg@FreeBSD.org>2013-10-12 23:32:48 +0000
commit951b9d65e0618a951d4bb894a55bc3c1ef5211d0 (patch)
tree2e5dec35634287a05c5d9b1ae4c6d4198405678e /lib/clang/clang.build.mk
parent61a0a6e421dd3514ceeb06f5ce567f6e4816fd16 (diff)
downloadFreeBSD-src-951b9d65e0618a951d4bb894a55bc3c1ef5211d0.zip
FreeBSD-src-951b9d65e0618a951d4bb894a55bc3c1ef5211d0.tar.gz
Make sure we trigger generation of headers
Diffstat (limited to 'lib/clang/clang.build.mk')
-rw-r--r--lib/clang/clang.build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index 2cf1e5b..9bcf506 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -196,3 +196,7 @@ Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \
SRCS+= ${TGHDRS:C/$/.inc.h/}
DPADD+= ${TGHDRS:C/$/.inc.h/}
CLEANFILES+= ${TGHDRS:C/$/.inc.h/}
+
+# if we are not doing explicit 'make depend', there is
+# nothing to cause these to be generated.
+beforebuild: ${SRCS:M*.inc.h}
OpenPOWER on IntegriCloud