summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-14 18:54:06 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-17 11:06:50 +0100
commit096c7e889f3b9bd42a81fb0216e2a68fb27159fc (patch)
tree22bf2ebadd3a820483cbeb43291d6fb45ab52fe8 /Makefile.in
parent4213b9b38bd6cd498961536b82edcf9236c2f5f2 (diff)
add a script to generate a dummy library to "build" all headers
... to be used together --with-iwyu to track down bloat in headers, which are not always named in the convention that include-what-you-use expects for reporting issues. Change-Id: Idffda7d49cca43170717004d52779b4663de19ae
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0a8c286aae30..a31dde3345ca 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,6 +62,10 @@ PARALLELISM_OPTION := $(if $(filter-out 0,$(PARALLELISM)),-j $(PARALLELISM),)
IWYU_OPTION := $(if $(IWYU_PATH),-k CXX=$(IWYU_PATH),)
+iwyudummy: bootstrap fetch
+ # $(SRCDIR)/bin/gen-iwyu-dummy-lib
+ cd $(BUILDDIR)/iwyudummy && $(MAKE) $(IWYU_OPTION) $(GMAKE_OPTIONS)
+
#
# Partial Build
#