Home | History | Annotate | Download | only in mk
History log of /src/share/mk/bsd.inc.mk
RevisionDateAuthorComments
 1.34  29-Mar-2022  christos get rid of old style `` command substitution in shell and use $() instead.
 1.33  26-Dec-2018  christos Remove extra -c. -c has been the default behavior since 2003, and
the comment why it is needed was introduced in 2001. We don't want
to duplicate -c which is set in ${COPY} because someone might want
to override that.
 1.32  16-Mar-2006  jwise branches: 1.32.82; 1.32.84;
Now that we have real build system support for syspkgs, remove someone's
half-implemented idea of building `syspkgs' (really a few giant blobs of the
same granularity of the old sets) using install(1).
 1.31  06-Jul-2004  mycroft Add a missing .PHONY.
 1.30  29-Jan-2004  lukem Cosmetically tweak how .PHONY is used by (generally) providing it as a source,
instead of using it as a target with all the rules as its sources.
 1.29  27-Jan-2004  lukem There's no need to use :N-c with ${INSTALL_FILE}.
 1.28  07-Nov-2003  lukem Support MAKEVERBOSE more effectively.
 1.27  19-Oct-2003  lukem Provide _MKMSG{BUILD,CREATE,COMPILE,FORMAT,INSTALL,LINK,LEX,YACC} to display
${_MKMSG} " ... {$.TARGET}" and use appropriately.

Provide _MKMSGLINK.m to provide "link" message by itself (without ${.TARGET})

Replace _MKSHCMD with _MKSHECHO
 1.26  18-Oct-2003  lukem implement MAKEVERBOSE for rules which are of the form:
@cmp -s ${.ALLSRC} ${.TARGET} || ( echo cmd && cmd )
 1.25  03-Aug-2003  lukem Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
SYMLINKS to install symlinked header files. INCSYMLINKS are installed with
'make includes'. This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.

Yet more improvements to bsd.README.
 1.24  18-Jul-2003  lukem Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
 1.23  22-Oct-2002  perry Pass 1 of SYSPKG changes to automatically add tags=pkgname_pkg to METALOG.
Not quite ready for prime time yet.
 1.22  11-Feb-2002  mycroft Don't use .PHONY for targets that are actually installed. Instead use force
dependencies. (Among other things, `make -t install' does something vaguely
sensible now.)
 1.21  28-Nov-2001  tv Fix the :U's used with ${UPDATE} so that stray values don't get put into
the .PHONY: target.
 1.20  02-Nov-2001  tv Improve readability and reduce redundant redundancy in share/mk; add some
descriptive comments. The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.

Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ. Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.

Reviewed by christos.
 1.19  31-Oct-2001  tv Revert previous. src/include depends on the ability of <bsd.inc.mk> to
provide things to INCS with / in them. Since nothing in-tree yet uses
INCS{DIR,NAME}_filename, this is not a loss at the moment.
 1.18  30-Oct-2001  wiz Add support for INCSNAME and INCSNAME_<file> to bsd.inc.mk.
Same syntax as FILESNAME and FILESNAME_<file>, allows to install
includes under a different name.
Okay'd by christos.
 1.17  08-May-2001  sommerfeld Suppress duplicate entries in ALLFILES, FILES, INCS, DEPINCS, INFOFILES,
NLSALL, CATPAGES, MANPAGES, HTMLPAGES, and SCRIPTS.
 1.16  06-Jun-2000  mycroft Abuse .USE some more.
 1.15  06-Jun-2000  mycroft Minor rearrangement.
 1.14  06-Jun-2000  mycroft Use ODE make(1) features to eliminate extra variables and move several things
outside of .for loops. (Needs more work to completely eliminate .for.)

XXX Don't look at this stuff. It will make your head hurt.
 1.13  21-Aug-1999  simonb branches: 1.13.6;
Add ${INSTPRIV} to ${INSTALL} commands.
 1.12  04-Feb-1999  christos branches: 1.12.4;
PR/2936: Brian C. Grayson: Avoid truncating precious files when installing
and the filesystem is full. Added ${RENAME} flag to install, which when set
to -r installs on a temporary file and then renames to the final destination.
${RENAME} is currently set to nothing in bsd.own.mk, but one can turn it
on in /etc/mk.conf.
 1.11  29-Sep-1998  christos Missed a few preserve flags.
 1.10  03-Jun-1997  cgd declare ${DESTDIR}${INCSDIR}/$I .PHONY if UPDATE isn't defined, so that
headers will be installed properly in the !UPDATE case. From Christos.
 1.9  31-May-1997  cjs Back out BUILDDIR and NOINSTALL changes.
 1.8  26-May-1997  cjs branches: 1.8.2;
These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
 1.7  09-May-1997  mycroft Oops; rearrange dependencies to get things built early enough.
 1.6  09-May-1997  mycroft Make sure INCS and SRCS are built if necessary.
 1.5  07-May-1997  mycroft Various simplifications.
 1.4  06-May-1997  mycroft Make most of the install targets .PRECIOUS.
 1.3  06-May-1997  mycroft Add a pile of missing .PHONYs.
 1.2  27-Mar-1997  christos Don't generate an include target if we don't have INCS set, because SUBDIRS
can make one too. This will break on Makefiles that have both INCS and SUBDIRS,
so then we'll need to change includes: to includes::, but we don't have any
yet.
 1.1  24-Mar-1997  christos make rules update:
- add UPDATE and BUILD features
- add new FILES, INCS, SCRIPTS variables
- allow man pages source installation
 1.8.2.1  01-Aug-1997  cjs update to 1.10
 1.12.4.1  10-Aug-1999  mcr added Makefile flag "MORTALINSTALL" which removes -o/-g from
install arguments:
MORTALINSTALL If "yes", then omit setting group and ownership on
all files that are installed. This can be used to
permit non-root to install files, particularly
useful when working across NFS, or when $DESTDIR
is local. Do not use on production systems.

This relates to PR bin/3563.
These files are being checked into a branch because I want
them carefully reviewed by various parties, and because they
are not fully tested.
 1.13.6.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.32.84.1  10-Jun-2019  christos Sync with HEAD
 1.32.82.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed