History log of /src/share/mk/bsd.kinc.mk |
Revision | | Date | Author | Comments |
1.38 |
| 29-Mar-2022 |
christos | get rid of old style `` command substitution in shell and use $() instead.
|
1.37 |
| 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.36 |
| 16-Mar-2006 |
jwise | branches: 1.36.82; 1.36.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.35 |
| 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.34 |
| 27-Jan-2004 |
lukem | There's no need to use :N-c with ${INSTALL_FILE}.
|
1.33 |
| 07-Nov-2003 |
lukem | Support MAKEVERBOSE more effectively.
|
1.32 |
| 20-Oct-2003 |
chs | fix parallel-make race.
|
1.31 |
| 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.30 |
| 18-Oct-2003 |
lukem | implement MAKEVERBOSE for rules which are of the form: @cmp -s ${.ALLSRC} ${.TARGET} || ( echo cmd && cmd )
|
1.29 |
| 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.28 |
| 28-Jul-2003 |
lukem | Pull in <bsd.sys.mk> as well, for the TOOL_ variables in the USETOOLS=never case. Found & fixed by Anders Hjalmarsson in PR misc/22283.
|
1.27 |
| 20-Jul-2003 |
lukem | Use ltarg=`stat -qf '%Y' $l` to read a symlink's target (and rely upon a non-zero exit value to indicate a missing file or non-symlink), instead of test -h $l && ltarg=`ls -ld $l | awk '{print $NF}'` since the former is quicker and more concise.
|
1.26 |
| 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.25 |
| 26-Nov-2002 |
lukem | Deprecate SYS_INCLUDE and the optional SYS_INCLUDE=symlinks functionality, and only support the "copies" default. Per discussion on tech-userlevel@.
|
1.24 |
| 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.23 |
| 24-Aug-2002 |
lukem | don't bother with "rm -f $$t" before ${INSTALL_LINK} or ${INSTALL_SYMLINK}, as they default to using install(1) -r. the rm can cause problems in certain situations, such as moving a library or shared linker that install(1) depends upon to another location and replacing it with a (sym)link.
|
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 |
| 19-Nov-2001 |
perry | replace instances of ln with ${INSTALL_LINK} and ${INSTALL_SYMLINK}
|
1.19 |
| 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.18 |
| 08-May-2001 |
sommerfeld | Suppress duplicate entries in ALLFILES, FILES, INCS, DEPINCS, INFOFILES, NLSALL, CATPAGES, MANPAGES, HTMLPAGES, and SCRIPTS.
|
1.17 |
| 07-Jul-2000 |
cgd | test -h, not test -L.
|
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 |
| 24-Apr-2000 |
simonb | branches: 1.13.2; White space bogons (double spaces, spaces instead of tabs).
|
1.12 |
| 23-Apr-2000 |
simonb | Change SYMLINKS so that the link isn't recreated if it already points to the right place (much the same as bsd.obj.mk already does).
|
1.11 |
| 26-Feb-2000 |
mycroft | Make sure the `rm' and `ln' for a link are in the same shell command. (The reason for this is obscure...)
|
1.10 |
| 10-Feb-2000 |
drochner | fix link creation: -put "echo"s for the daughter Makefile into a subshell to get them all into the Makefile (instead of stdout - should fix PR misc/9336 by Bernd Ernesti) -change operator for "realall" back to ":" - rules are supposed to accumulate, and "::" clashes with the definition in <bsd.own.mk> -call sub-make with the "all" target to make sure we don't get just the first rule
|
1.9 |
| 24-Jan-2000 |
mycroft | Fix a bogon that caused some symlinks to not be installed.
|
1.8 |
| 22-Jan-2000 |
mycroft | Adjust symlink crap for all/realall changes.
|
1.7 |
| 22-Aug-1999 |
kleink | When test(1)ing for a symlink, use the -h primitive instead of -L. Although the latter is supported in our test(1), the former is more portable, and is defined in 1003.2bD3 and SVID4. Addresses PR kern/8225 from Andrew Cagney.
|
1.6 |
| 21-Aug-1999 |
simonb | Add ${INSTPRIV} to ${INSTALL} commands.
|
1.5 |
| 04-Feb-1999 |
christos | branches: 1.5.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.4 |
| 15-Jan-1999 |
castor | allow generated kernel includes and support mips pubassym.cf mechanism
|
1.3 |
| 31-Dec-1998 |
castor | Change make to ${MAKE} to allow standard make to be overridden.
|
1.2 |
| 29-Sep-1998 |
christos | Missed a few preserve flags.
|
1.1 |
| 12-Jun-1998 |
cgd | add bsd.kinc.mk, a template to support the new kernel include file installation mechanism.
|
1.5.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.2.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.36.84.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.36.82.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|