Home | History | Annotate | Download | only in bin
History log of /src/bin/Makefile.inc
RevisionDateAuthorComments
 1.20  12-May-2024  rillig lint: suppress "used but not defined" for bin, sbin, usr.bin, usr.sbin

These diagnostics are emitted by lint2, and like all diagnostics from
lint2, they don't affect the exit status.

In libc, lint cannot handle the renamings from namespace.h, generating
many false positive diagnostics since 'libc_function' is used but
'_libc_function' is defined. Until this situation is handled properly,
suppress this diagnostic.
 1.19  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.18  09-Oct-2021  rillig bin: in builds with MKLINT=yes, run lint on all programs
 1.17  21-Mar-2012  matt branches: 1.17.34;
Default to WARNS=5
 1.16  14-Feb-2009  lukem branches: 1.16.6;
Default to WARNS=4 (except for rcp & ksh)
 1.15  26-Jun-2005  christos branches: 1.15.28; 1.15.32;
sprinkle a little const, and now everything compiles with WARNS=3
 1.14  27-Sep-2002  thorpej Revert previous; the change that required it will be done differently.
 1.13  27-Sep-2002  thorpej Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.

The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.
 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  03-Nov-2001  lukem change from WARNS?=1 to WARNS?=2 for bin/
 1.10  02-Mar-1998  cgd pull bsd.own.mk in before LDSTATIC?=-static, so that LDSTATIC can be
overridden by bsd.own.mk/mk.conf.
 1.9  10-Oct-1997  mikel allow overrides of LDSTATIC, from Soren S. Jorvang in PR bin/4178
 1.8  20-Jul-1997  christos Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
 1.7  21-Mar-1995  cgd clean up id tags, etc.
 1.6  08-Nov-1993  cgd use LDSTATIC, not LDFLAGS any more
 1.5  03-Nov-1993  cgd add 'LDFLAGS+= -static'
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.15.32.1  27-Aug-2009  matt Change LDSTATIC?= -static to LDSTATIC+= -static so MKDYNAMICROOT=no works again.
 1.15.28.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.16.6.1  17-Apr-2012  yamt sync with head
 1.17.34.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.17.34.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed