Home | History | Annotate | Download | only in lint2
History log of /src/usr.bin/xlint/lint2/Makefile
RevisionDateAuthorComments
 1.24  12-May-2024  rillig lint: remove redundant LINTFLAGS for lint2

The -T flag is already provided by ../Makefile.inc, along with several
other flags.
 1.23  13-Jan-2023  rillig lint: move xalloc to the only file where it is used

No functional change.
 1.22  22-Aug-2021  rillig lint: only include code in the binaries that is actually used

No functional change.
 1.21  08-Aug-2021  rillig lint: force strict bool mode

No functional change.
 1.20  18-Apr-2021  rillig lint: remove WARNS=3, falling back to the default WARNS=5

It's strange that GCC does not warn about the nonliteral format strings
in lint1/err.c, lint2/msg.c and lint2/read.c, despite -Wformat=2, but
Clang does.
 1.19  10-Apr-2021  rillig lint: use distinct struct tags for type_t in lint1 and lint2

Having two similar but still different definitions of 'struct type' is
unnecessarily confusing. Exchange this confusion for 8 lines of
straight-forward preprocessing code.
 1.18  16-Jan-2021  rillig lint: fix LINTFLAGS for lint2

These have never worked since they report a syntax error in
<sys/cdefs.h> just because there is an __inline over there.

I wonder why it has been necessary at all to have custom LINTFLAGS for
lint itself. It's just an ordinary program.
 1.17  08-Oct-2006  peter WFORMAT is no more...
 1.16  07-Apr-2005  christos Factor out tyname() so that it can be used both by lint1 and lint2.
Since type_t is different between lint1.h and lint2.h include the
appropriate file depending on the pass. Make the argument mismatch
error print the type names of the types involved. Now that we have
a tyname() function we can fix the rest of the pass2 warnings to be
more explanatory, but not now.
 1.15  18-May-2003  lukem Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
 1.14  18-Sep-2002  lukem makefile delint. use NETBSDSRCDIR as appropriate
 1.13  18-Jan-2002  thorpej Centralize the initialization/declaration of the ttab.
 1.12  18-Jan-2002  thorpej * Move stuff shared between lint1 and lint2 to the new common/ directory.
* Move the arch/ directory out of lint1/ into the top-level.
 1.11  12-Dec-2001  tv MKfoo=no -> NOfoo
 1.10  12-Nov-2001  tv Major overhaul of src/tools and host toolchain. Summary of changes:

* Rewrite src/tools Make logic to work like the rest of the tree wrt
"dependall" and "install". The old "make build" hack is gone.

* Remove the MKTOOLS logic. This was linked to the "make build" hack,
and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
BSD make wrapper. Use new ${.ALLTARGETS} variable to scan for
targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
src/usr.* and src/gnu/usr.* that would do target filename rewriting
(improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.
 1.9  24-Oct-2001  thorpej Add support for putting prefixes on the name of lint(1)'s front
and back ends. This means that it can be built as a cross tool.
Part of the fix for bin/14280.
 1.8  14-Aug-2001  tv Add hooks to allow toolchain bits to be reachover-built at the top level.
 1.7  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.6  13-Feb-1999  lukem branches: 1.6.2; 1.6.10;
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.5  24-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.4  08-May-1997  gwr branches: 1.4.2;
Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.3  06-May-1997  gwr Use .PATH.c: ...
 1.2  03-Jul-1995  cgd RCS id cleanup
 1.1  03-Jul-1995  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  03-Jul-1995  cgd lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar
reason to why 'install' is named 'xinstall'.
 1.4.2.1  04-Nov-1997  thorpej Pull up from trunk: make renaming work and other minor fixes.
 1.6.10.1  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.6.2.1  19-Oct-2000  he Pull up revision 1.7 (requested by he):
Format string cleanup.

RSS XML Feed