The NetBSD Project

CVS log for src/share/mk/

[BACK] Up to [] / src / share / mk

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 10 16:16:12 2009 UTC (9 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.33: +14 -3 lines
Diff to previous 1.33 (colored)

Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.

Also change a few things that called ${INSTALL_LINK} without going

Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 1 09:42:41 2009 UTC (9 years, 2 months ago) by isaki
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Make configlinksinstall work correctly even if CONFIGSYMLINKS is
defined but empty.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Sep 11 22:24:09 2006 UTC (11 years, 8 months ago) by dbj
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, pc532-eol-2008, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: netbsd-5-0, netbsd-5, jym-xensuspend
Changes since 1.31: +35 -29 lines
Diff to previous 1.31 (colored)

fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in and
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include at end
  - remove shell quoting in link target for test's [.1 man page

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 16 18:43:34 2006 UTC (12 years, 2 months ago) by jwise
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.30: +9 -9 lines
Diff to previous 1.30 (colored)

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).

Revision 1.30 / (download) - annotate - [select for diffs], Wed Aug 31 05:08:24 2005 UTC (12 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

Fix parallel build race in CONFIGSYMLINKS & CONFIGLINKS by
makeing configlinksinstall depend upon configfilesinstall.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 25 02:05:39 2004 UTC (13 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

check for defined before checking for empty to ease a 1.6 transition

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 16 09:44:38 2004 UTC (14 years ago) by lukem
Branch: MAIN
Changes since 1.27: +17 -2 lines
Diff to previous 1.27 (colored)

Support CONFIGLINKS, which is similar to LINKS, except that they're installed
with the 'configinstall' target instead of the 'install' target.

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 13 13:05:53 2004 UTC (14 years ago) by lukem
Branch: MAIN
Changes since 1.26: +19 -1 lines
Diff to previous 1.26 (colored)

yet installed by 'configinstall' not 'install'.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 29 01:48:45 2004 UTC (14 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

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.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 7 00:05:24 2003 UTC (14 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored)

Support MAKEVERBOSE more effectively.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 28 01:00:52 2003 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

pull in <> for TOOL_* incase this is used with USETOOLS=never

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 20 14:53:10 2003 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

<> is a good idea

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jul 20 14:49:44 2003 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.21: +13 -14 lines
Diff to previous 1.21 (colored)

LINKS: use   stat -qf '%d %i' $l   to read the device & inode # of the source
and target (and rely upon a non-zero exit value to indicate a missing file),
instead instead of unconditionally installing the link.

SYMLINKS: use   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 && ls -ld $l | awk '{print $NF}'    , since
the former is quicker and more concise.

This resolves PR toolchain/16885 from David Laight.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 22 18:48:28 2002 UTC (15 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Pass 1 of SYSPKG changes to automatically add tags=pkgname_pkg to METALOG.
Not quite ready for prime time yet.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Aug 24 13:12:38 2002 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 30 14:29:01 2002 UTC (16 years ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

make(1) specifies, regarding :: targets:
	Sources for a target do not accumulate over dependency lines
	when this operator is used.

An unstated implication of this is that when parallel builds are done,
each separate instance of the target can be scheduled independantly.
As a result, the linksinstall target with commands could be executed
too early during a parallel build since they didn't actually have a
dependancy on "realinstall".

To fix this, correct the linksinstall:: realinstall dependancy by
eliminating the command-less linksinstall target, and moving the
dependancy to the other linksinstall target.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 21 12:59:56 2002 UTC (16 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

`linksinstall' cannot be issued in parallel with other realinstall sources.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 11 21:15:00 2002 UTC (16 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

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.)

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 19 04:46:07 2001 UTC (16 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

replace instances of ln with ${INSTALL_LINK} and ${INSTALL_SYMLINK}

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 2 05:21:51 2001 UTC (16 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.14: +13 -16 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 7 04:35:36 2000 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

test -h, not test -L.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 23 07:58:17 2000 UTC (18 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.12: +10 -9 lines
Diff to previous 1.12 (colored)

Change SYMLINKS so that the link isn't recreated if it already points
to the right place (much the same as already does).

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 26 19:02:40 2000 UTC (18 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +3 -5 lines
Diff to previous 1.11 (colored)

Make sure the `rm' and `ln' for a link are in the same shell command.
(The reason for this is obscure...)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 10 18:18:02 2000 UTC (18 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.10: +9 -7 lines
Diff to previous 1.10 (colored)

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 <>
-call sub-make with the "all" target to make sure we don't get just
 the first rule

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 24 06:54:27 2000 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Fix a bogon that caused some symlinks to not be installed.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 22 19:45:42 2000 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Adjust symlink crap for all/realall changes.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 31 15:28:52 1998 UTC (19 years, 4 months ago) by castor
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, mortalinstall, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Change make to ${MAKE} to allow standard make to be overridden.

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 10 10:55:19 1997 UTC (21 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.6: +4 -16 lines
Diff to previous 1.6 (colored)

Always rebuild links, since dependencies don't DTRT.

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 9 13:25:55 1997 UTC (21 years ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Automatically add the .c files corresponding to .l and .y files to DPSRCS.
Automatically add DPSRCS to CLEANFILES.

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 7 15:53:31 1997 UTC (21 years ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Various simplifications.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 6 21:29:40 1997 UTC (21 years ago) by mycroft
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Make most of the install targets .PRECIOUS.

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 6 20:54:36 1997 UTC (21 years ago) by mycroft
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Add a pile of missing .PHONYs.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 28 15:07:28 1997 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Don't make bogus dependencies with symlinks sources.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 24 21:54:18 1997 UTC (21 years, 2 months ago) by christos
Branch: MAIN

make rules update:
- add UPDATE and BUILD features
- add new FILES, INCS, SCRIPTS variables
- allow man pages source installation

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>