Home | History | Annotate | Download | only in kdump
History log of /src/usr.bin/kdump/Makefile
RevisionDateAuthorComments
 1.37  20-Apr-2024  rillig {usr.,}{s,}bin: replace LINT_SUPPORTED with the standard NOLINT

While here, re-enable lint in those cases where lint was skipped due to
a bug in interpreting abstract types, which was fixed in cgram.y 1.469
from 2023-08-02.
 1.36  03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.35  22-Aug-2021  rillig usr.bin: enable lint checks for most programs in /usr/bin

Previously, lint was only activated for the libraries, but not for the
kernel or userland programs. Activate lint for the programs in /usr/bin
for now, more will follow later.

This only affects builds that set MKLINT=yes.
 1.34  07-Sep-2020  mrg apply GCC_NO_ADDR_OF_PACKED_MEMBER
 1.33  02-Apr-2020  kamil Add ioctlprint - descriptive ioctl value printer

ioctlprint(1) is embedded in the kdump(1) program.
 1.32  23-Jan-2016  christos branches: 1.32.16;
Define _KERNTYPES for things that need it.
 1.31  26-Sep-2015  christos Add dtrace ioctls
 1.30  21-Sep-2011  christos Symbolic printing of some known MISC records.
 1.29  14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.28  28-May-2007  tls branches: 1.28.22;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.27  08-Oct-2006  peter WFORMAT is no more...
 1.26  16-Jul-2005  christos WARNS=3
 1.25  10-Jul-2004  tron Add prefix "${PROG}-" to filename of automatically created list of
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
 1.24  16-Nov-2003  manu Re-add the static root conditionnal that was removed by mistake.
 1.23  19-Sep-2003  christos Print siginfo_t information when available.
 1.22  15-Nov-2002  manu Now properly display Mach traps
 1.21  19-Sep-2002  lukem use NETBSDSRCDIR as appropriate
 1.20  18-Sep-2002  lha remove extra $ from previous commit
 1.19  18-Sep-2002  lukem makefile delint. use NETBSDSRCDIR as appropriate
 1.18  27-Aug-2002  lukem Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
in <bsd.own.mk>:
SHLIBDIR?= /lib
SHLINKDIR?= /lib
in various Makefiles, the following entry is DISABLED.
LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
 1.17  14-Nov-2000  jdolecek back out previous change - this needs to be discussed first at least
 1.16  13-Nov-2000  jdolecek don't link these static; if shared libraries are hosed, these utilities would
surely not save the situation, not help to recover from it
 1.15  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.14  10-Apr-2000  jdolecek branches: 1.14.4;
put setemul(), ectx_* & appropriate structures to separate file, to make it
more easily sharable with ktruss(1)
 1.13  12-Jul-1999  mrg - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
 1.12  04-Oct-1998  veego branches: 1.12.2;
Fix the include problem of <compat/linux/arch/xxx/linux_syscall.h>.
 1.11  02-Mar-1998  cgd allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
 1.10  24-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.9  01-Aug-1997  mikel branches: 1.9.2;
minor cleanup
 1.8  21-Jul-1997  phil Add input files to dependency list for ioctl.c build.
 1.7  08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.6  06-May-1997  gwr Use .PATH.c: ...
 1.5  09-Jan-1997  tls RCS ID police
 1.4  06-Dec-1994  deraadt Link these statically to make shared library debugging easier
 1.3  06-Oct-1994  mycroft Add RCS ids.
 1.2  18-Jun-1994  mycroft Pass the file names in to mkioctl, to help cross-compilation.
 1.1  11-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  11-May-1994  cgd updated kdump
 1.9.2.1  08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.12.2.2  19-Oct-2000  he Apply patch (requested by he):
Back out part of previous (the 1.5ism Makefile.ioctl-c).
 1.12.2.1  19-Oct-2000  he Pull up revision 1.15 (via patch, requested by he):
Format string cleanup.
 1.14.4.1  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.28.22.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.32.16.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed