Remove lint support
authorTom Tromey <tom@tromey.com>
Mon, 2 Jul 2018 13:07:35 +0000 (07:07 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Jul 2018 14:03:49 +0000 (08:03 -0600)
I don't think anyone uses lint any more, so this removes the support
for it from the Makefile.

gdb/ChangeLog
2018-07-09  Tom Tromey  <tom@tromey.com>

* Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.

gdb/ChangeLog
gdb/Makefile.in

index 75a8f67f13f51fee080666b0a5153b09ee03092a..83c294710202cbab8fa9a02faadfa90c638ff788 100644 (file)
@@ -1,3 +1,7 @@
+2018-07-09  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.
+
 2018-07-09  Tom Tromey  <tom@tromey.com>
 
        * Makefile.in (clean mostlyclean): Remove stamp-version.
index fa93ac36c8f626b26fb9675785fe601563efff9e..f4286f84143263554024ba76254366bc2808e4d6 100644 (file)
@@ -608,11 +608,6 @@ ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
 
 DIST = gdb
 
-LINT = /usr/5bin/lint
-LINTFLAGS = $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
-       $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
-       $(INTL_CFLAGS)
-
 RUNTEST = runtest
 RUNTESTFLAGS =
 
@@ -1168,8 +1163,6 @@ SFILES = \
        $(COMMON_SFILES) \
        $(SUBDIR_GCC_COMPILE_SRCS)
 
-LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
-
 # Header files that need to have srcdir added.  Note that in the cases
 # where we use a macro like $(gdbcmd_h), things are carefully arranged
 # so that each .h file is listed exactly once (M-x tags-search works
@@ -2148,10 +2141,6 @@ stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/common/c
        @echo stamp > stamp-version
 
 
-lint: $(LINTFILES)
-       $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
-          `echo $(DEPFILES) $(CONFIG_OBS) | sed 's/\.o /\.c /g'`
-
 gdb.cxref: $(SFILES)
        cxref -I. $(SFILES) >gdb.cxref
 
This page took 0.030722 seconds and 4 git commands to generate.