Home | History | Annotate | Download | only in ksh
History log of /src/bin/ksh/Makefile
RevisionDateAuthorComments
 1.39  05-Dec-2024  rillig ksh: suppress the 435 lint warnings about identifier list definitions

Leave the actual work of modernizing the function definitions to some
later day.
 1.38  05-Dec-2024  rillig ksh: clean up Makefile
 1.37  03-Jun-2023  lukem adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}

Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of
the older style more complex expressions.
 1.36  29-Sep-2019  mrg convert HAVE_GCC == 7 to HAVE_GCC >= 7.
 1.35  04-Feb-2019  mrg - use -Wno-error=implicit-fallthrough with GCC7.
 1.34  30-Jun-2017  kamil branches: 1.34.6;
ksh: Drop support for OSes without POSIX sigaction(2)
 1.33  16-Mar-2016  christos Put back awk, other scripts need it.
 1.32  16-Mar-2016  christos We don't need all this magic to build the signals lists. Do the work at
compile time.
 1.31  29-Jan-2015  joerg Make cast warnings for clang non-fatal.
 1.30  16-Oct-2011  joerg branches: 1.30.22;
Don't use non-literal format strings.
 1.29  14-Aug-2011  christos kill gcc-4.5 hack.
 1.28  22-Jun-2011  mrg apply some -Wno-error and/or -fno-strict-aliasing.


all of this should be looked at closer, but some of them are not
very trivial.
 1.27  26-May-2011  joerg Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
 1.26  14-Feb-2009  lukem Default to WARNS=4 (except for rcp & ksh)
 1.25  25-Oct-2008  apb branches: 1.25.4;
Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build.
 1.24  20-Oct-2008  apb Pass AWK in environment to shell scripts run during the build.
 1.23  26-Jun-2005  christos warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.
 1.22  26-Oct-2003  lukem don't need -DHAVE_CONFIG_H here
 1.21  26-Oct-2003  lukem Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.20  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.19  19-Oct-2003  lukem rework to use the newer _MKMSGCREATE (et al) macros
 1.18  19-Oct-2003  lukem support MAKEVERBOSE
 1.17  01-Aug-2003  lukem Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
 1.16  03-Nov-2001  lukem default to WARNS=1 if not set
 1.15  15-May-2001  simonb Don't build ksh.1 if MKMAN == "no".
 1.14  26-Jun-2000  kleink $(CPP) -> $(CC) -E
 1.13  22-Jun-2000  soren CLEANFILES+= siglist.out emacs.out
 1.12  20-Oct-1999  hubertf branches: 1.12.6;
resolve conflicts
 1.11  22-Oct-1997  lukem branches: 1.11.4;
add dependancies to fix parallel compilation
 1.10  10-Oct-1997  christos branches: 1.10.2;
CFLAGS->CPPFLAGS
 1.9  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.8  20-Jul-1997  christos Fix compiler warnings
Add WARNS=1
 1.7  30-Jun-1997  phil Define USETBL to get tbl used in making man page. (Closed PR 3144.)
 1.6  09-May-1997  mycroft Use DPSRCS.
 1.5  09-May-1997  mycroft Eliminate bogus redefinitions of standard targets.
 1.4  16-Jan-1997  perry close pr-3111 -- use sh to invoke script instead of executing
 1.3  12-Jan-1997  tls RCS ID Police
 1.2  10-Oct-1996  jtc Removed missing.c beacuse NetBSD is not missing any of the functions
that it provides.
 1.1  21-Sep-1996  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  21-Sep-1996  jtc import pdksh 5.2.8
 1.10.2.1  07-Nov-1997  lukem pull up rev 1.11 from trunk (approval by thorpej)
 1.11.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.6.2  26-Feb-2002  he Pull up revisions 1.14-1.16 (requested by dogcow):
Synchronize with current development version:
o fix problem with ``set -x'' causing a core dump; fixes PR#11361
o fix problem with ``set -e'' causing early exit; fixes PR#11542
o fix various misspellings and nested extern declarations
 1.12.6.1  03-Sep-2000  soren Pull up rev 1.13:
> date: 2000/06/22 05:42:22; author: soren; state: Exp; lines: +3 -1
> CLEANFILES+= siglist.out emacs.out
 1.25.4.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.30.22.1  14-May-2015  snj Pull up following revision(s) (requested by joerg in ticket #758):
bin/ksh/Makefile: revision 1.31
bin/ps/print.c: revision 1.123
external/bsd/iscsi/dist/src/lib/parameters.c: revision 1.4
external/bsd/iscsi/dist/src/lib/target.c: revision 1.9
external/gpl2/lvm2/dist/lib/commands/toolcontext.c: revision 1.8
external/gpl2/lvm2/dist/lib/format1/import-export.c: revision 1.2
gnu/dist/texinfo/makeinfo/xml.c: revision 1.2
sbin/bioctl/bioctl.c: revision 1.16
usr.sbin/isdn/isdnd/msghdl.c: revision 1.12
Drop pointer checks that are always true.
--
Comment out impossible code.
--
Remove tautologic check.
--
Skip vendor if the string is empty.
Use l_wmesg if the string is not empty. Don't bother checking l_name for
nullness.
--
Array can't be null.
--
Show display if it is not empty.
--
Make cast warnings for clang non-fatal.
 1.34.6.4  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.34.6.3  21-Apr-2020  martin Sync with HEAD
 1.34.6.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.34.6.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed