Home | History | Annotate | Download | only in ktruss
History log of /src/usr.bin/ktruss/Makefile
RevisionDateAuthorComments
 1.34  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.33  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.32  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.31  07-Sep-2020  mrg apply GCC_NO_ADDR_OF_PACKED_MEMBER
 1.30  23-Jan-2016  christos Define _KERNTYPES for things that need it.
 1.29  26-Sep-2015  christos Put -Isys after the ioctl Makefile has a chance to add other paths first.
 1.28  14-Dec-2009  christos use .ORDER to avoid race
 1.27  11-Dec-2009  uebayasi Use $GENCMD to generate misc.[ch]. Carefully quote strings.
 1.26  08-Dec-2009  uebayasi Put back the dependency of dump.c agaist misc.h. This is needed because
dump.c includes misc.h but misc.h is generated on-the-fly.

Note that dump.c is out of the makeerrnos.sh -> misc.[ch] generation rule
now. This prevents ktruss from being unnecessarily rebuilt in rescue/.

Pointed out by enami@, thanks!
 1.25  06-Dec-2009  uebayasi Correct the dependency; makeerrnos.sh generates misc.c and misc.h. dump.c
is never involved there. Those dependency has been wrong since Rev. 1.1.
 1.24  16-May-2009  christos fix dependencies.
 1.23  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.22  19-Oct-2008  apb branches: 1.22.4; 1.22.6;
Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
 1.21  08-Oct-2006  peter WFORMAT is no more...
 1.20  17-Jul-2005  he Make misc.h depend on makeerrnos.sh, to ease UPDATE builds after the
latest change to support WARNS=3.
 1.19  17-Jul-2005  he Make this build with WARNS=3, and enable it.
Renames local variable syscall to syscall_ent to placate -Wshadow,
and adds const to struct field initialized to string literals.
 1.18  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.17  21-Oct-2003  lukem Rework how MAKEVERBOSE operates:

* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.

* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
 1.16  19-Oct-2003  lukem support MAKEVERBOSE and use ${HOST_SH}
 1.15  11-Feb-2003  drochner fix typo in comment
 1.14  19-Sep-2002  lukem use NETBSDSRCDIR as appropriate
 1.13  18-Sep-2002  lukem makefile delint. use NETBSDSRCDIR as appropriate
 1.12  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.11  02-Dec-2001  jmc Force makeerrnos.sh to be run with sh instead of depending on it being
executable
 1.10  16-Jan-2001  cgd Pass CPP and CPPFLAGS to makerrnos.sh, and use them. Default to cpp and
empty, respectively, if not provided.
 1.9  11-Jan-2001  enami Add dummy dependency so that parallel make won't to make misc.c and misc.h
at the same time.
 1.8  30-Dec-2000  sommerfeld Let src/usr.bin build with recursive parallel make..
- add .WAIT and .NOTPARALLEL in a few places
- change ${MAKE} print-objdir to ${PRINTOBJDIR}
- convert other ad-hoc forms to use ${PRINTOBJDIR}
 1.7  14-Nov-2000  jdolecek back out previous change - this needs to be discussed first at least
 1.6  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.5  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.4  10-Apr-2000  jdolecek branches: 1.4.4;
Convert to use setemul() stuff from kdump. This also fixes mapping to
syscalls names in dump when programs of different emulations are executed.

While here, convert to malloc/realloc power of 2 quantities.
 1.3  28-Jul-1999  enami - remove duplicated setting for LDSTATIC in ktruss/Makefile.
- fix command name in SYNOPSIS section of man page.
- link ktrace man page to ktruss man page.
- add executable and man page for ktruss in distrib sets.
 1.2  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.1  12-Jul-1999  darrenr import Makefile and dump.c required for building ktruss.
 1.4.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.22.6.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.22.4.2  19-Oct-2008  apb Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
 1.22.4.1  19-Oct-2008  apb file Makefile was added on branch christos-time_t on 2008-10-19 22:05:24 +0000

RSS XML Feed