aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-20 23:00:54 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-26 15:02:22 -0700
commit1f06e5f0b9ee483053b987c9cab9f1f5fce2590c (patch)
tree8ebebff055f4aa184e7d7b021190ab01d9376992 /Makefile.in
parentdaa217f533490e0b9bc4113a143e8f38de922b7a (diff)
add better support for IWYU and fix things
Remove the "make iwyu" build target. Move the functionality into the recently introduced lint.fish script. Fix a lot, but not all, of the include-what-you-use errors. Specifically, it fixes all of the IWYU errors on my OS X server but only removes some of them on my Ubuntu 14.04 server. Fixes #2957
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 0858c647..b73e75d1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -859,19 +859,11 @@ depend:
cp config.h /tmp/fish_make_depend/
mv $(subst obj/,/tmp/fish_make_depend/src/,$(FISH_ALL_OBJS:.o=.cpp)) /tmp/fish_make_depend/
cd /tmp/fish_make_depend && \
- makedepend -f$(CURDIR)/Makefile.in -pobj/ -Y -Isrc *.cpp
+ makedepend -f$(CURDIR)/Makefile.in -pobj/ -Y -Isrc *.cpp
rm -Rf /tmp/fish_make_depend
./config.status
.PHONY: depend
-# Include What You Use
-iwyu:
- # Requires the --keep-going flag as it always returns 1
- # Can't set MAKEFLAGS on a target-specific basic
- $(MAKE) -k _iwyu CXX=include-what-you-use
-_iwyu: clean $(PROGRAMS)
-.PHONY: iwyu _iwyu
-
# Lint the code. This only deals with C++ files.
lint:
build_tools/lint.fish $(CXX) $(CXXFLAGS)
@@ -894,7 +886,7 @@ style-all:
# Restore the source tree to the state right after extracting a tarball.
distclean: clean
$(MAKE) -C $(PCRE2_DIR) distclean || true
- rm -f config.status config.log config.h Makefile
+ rm -f config.status config.log config.h Makefile osx/config.h
.PHONY: distclean