The NetBSD Project

CVS log for src/share/mk/bsd.hostprog.mk

[BACK] Up to [cvs.NetBSD.org] / src / share / mk

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.84 / (download) - annotate - [select for diffs], Sat Mar 27 02:46:45 2021 UTC (3 years ago) by simonb
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.83: +64 -64 lines
Diff to previous 1.83 (colored) to selected 1.40 (colored)

Make columns nicely aligned.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Apr 4 01:35:22 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored) to selected 1.40 (colored)

Add libgnuctf

Revision 1.82 / (download) - annotate - [select for diffs], Mon Oct 28 13:04:19 2019 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.81: +2 -1 lines
Diff to previous 1.81 (colored) to selected 1.40 (colored)

Add nvmmctl, with two commands for now.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jan 21 21:11:54 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) to selected 1.40 (colored)

Most of the mv operations are to move temporary files to their final place.
Some use -f, others don't. This can lead to spurious build failures when
the user performing the build changes. Centralize, and always use -f.

Revision 1.80 / (download) - annotate - [select for diffs], Fri May 4 14:50:40 2018 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) to selected 1.40 (colored)

include bsd.hostinit.mk instead of bsd.init.mk

Revision 1.79 / (download) - annotate - [select for diffs], Sat Nov 25 23:22:41 2017 UTC (6 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored) to selected 1.40 (colored)

Add LIBREFUSE define for DPADD

Revision 1.78 / (download) - annotate - [select for diffs], Tue Oct 10 19:29:22 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.40 (colored)

add the rump resolver library.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Feb 8 03:44:41 2017 UTC (7 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored) to selected 1.40 (colored)

libpthread_dbg(3) deletion from the base distribution

libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.

Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).

Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.

Sponsored by <The NetBSD Foundation>

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jan 1 17:06:21 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.75: +6 -4 lines
Diff to previous 1.75 (colored) to selected 1.40 (colored)

Add the pthread libraries, documented already in bsd.README; sort

Revision 1.75 / (download) - annotate - [select for diffs], Sun Nov 22 04:59:15 2015 UTC (8 years, 4 months ago) by kamil
Branch: MAIN
Changes since 1.74: +2 -1 lines
Diff to previous 1.74 (colored) to selected 1.40 (colored)

Add new predefined value for DPADD: LIBPANEL

Revision 1.74 / (download) - annotate - [select for diffs], Mon Dec 1 01:34:30 2014 UTC (9 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.40 (colored)

PR toolchain/9618: add ".d" to MKDEP_SUFFIXES so the depend files are rebuilt
if any of their dependencies (i.e. the files they refer to) are changed.
This allows changes to transitive included headers to be handled properly.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Apr 10 19:02:18 2014 UTC (9 years, 11 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, 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
Changes since 1.72: +1 -3 lines
Diff to previous 1.72 (colored) to selected 1.40 (colored)

the value of HOST_MKDEP previously depended on USETOOLS;
make it do so again, and centralise the USETOOLS=no case
into bsd.host.mk

Revision 1.72 / (download) - annotate - [select for diffs], Tue Oct 29 16:11:46 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.71: +3 -1 lines
Diff to previous 1.71 (colored) to selected 1.40 (colored)

Unbreak src/tools usage of C++.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jun 14 16:10:02 2013 UTC (10 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) to selected 1.40 (colored)

Invoke tools/binstall/mkmanifest for Cygwin via ${HOST_SH}.
Fixes builds using source sets that drop executable bits.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Apr 11 01:27:47 2013 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.69: +3 -1 lines
Diff to previous 1.69 (colored) to selected 1.40 (colored)

add new libevent2 libraries.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 17 00:36:00 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.68: +5 -1 lines
Diff to previous 1.68 (colored) to selected 1.40 (colored)

Add a hook to create a manifest file if needed under cygwin

Revision 1.68 / (download) - annotate - [select for diffs], Sat Feb 16 21:40:45 2013 UTC (11 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored) to selected 1.40 (colored)

Hook Lutok into the build.  This is all protected by the MKKYUA guard.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Feb 29 20:07:57 2012 UTC (12 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored) to selected 1.40 (colored)

Move "libexpat" from X11 into base which fixes PR lib/40346.
This change was approved by the Core Group.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Oct 13 22:08:20 2011 UTC (12 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored) to selected 1.40 (colored)

Hook up SQLite into the build

Revision 1.65 / (download) - annotate - [select for diffs], Fri Oct 7 09:15:22 2011 UTC (12 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored) to selected 1.40 (colored)

obsolete libgcc_pic and friends.  all libgcc's are supposed to be pic
for platforms with shlibs already (and are.)

this obsoletes our hacks for the libgcc specs to use libgcc_pic, and
fixes a couple of other issues reported to me directly.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 10 16:57:35 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.63: +3 -5 lines
Diff to previous 1.63 (colored) to selected 1.40 (colored)

Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jun 5 23:09:15 2011 UTC (12 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.40 (colored)

add libgcc_pic dependency.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Mar 24 17:05:44 2011 UTC (13 years ago) by bouyer
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.40 (colored)

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)

Revision 1.61 / (download) - annotate - [select for diffs], Sun Feb 20 20:16:01 2011 UTC (13 years, 1 month ago) by jmmv
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.60: +3 -1 lines
Diff to previous 1.60 (colored) to selected 1.40 (colored)

Define LIBATF_C and LIBATF_CXX to point to their corresponding .a files and
use these to properly set DPADD for test programs.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Dec 25 18:56:45 2010 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.40 (colored)

If MKREPRO, transform ${NETBSDSRCDIR} to /usr/src and ${DESTDIR} to /
for the purpose of the C preprocessor.  This avoids leaking the source
path into the final binaries.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Nov 22 11:29:07 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored) to selected 1.40 (colored)

add LIBRUMPCLIENT

Revision 1.58 / (download) - annotate - [select for diffs], Tue Nov 2 19:13:58 2010 UTC (13 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.40 (colored)

Add LIBLZMA.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:44 2010 UTC (14 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.40 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.56 / (download) - annotate - [select for diffs], Tue May 12 18:07:54 2009 UTC (14 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored) to selected 1.40 (colored)

remove libsdp as improved functionality has been enabled in libbluetooth.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Apr 10 16:16:12 2009 UTC (14 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored) to selected 1.40 (colored)

Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
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
through bsd.links.mk.

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

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 19 14:10:48 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored) to selected 1.40 (colored)

Split vfs out of rumpkern into rumpvfs.  Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 2 17:54:53 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2
Branch point for: netbsd-5-0, netbsd-5
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored) to selected 1.40 (colored)

Hook up libfetch and pkg_install update.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:41 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.51: +19 -1 lines
Diff to previous 1.51 (colored) to selected 1.40 (colored)

Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly

Revision 1.51 / (download) - annotate - [select for diffs], Sat Apr 26 20:03:44 2008 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.40 (colored)

make all shared libraries depend on libc.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Nov 9 17:06:54 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, pc532-eol-2008, 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, 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-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored) to selected 1.40 (colored)

Add ssp glue.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 22 22:53:41 2006 UTC (17 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.48: +2 -1 lines
Diff to previous 1.48 (colored) to selected 1.40 (colored)

libpuffs

Revision 1.48 / (download) - annotate - [select for diffs], Mon Oct 9 08:32:11 2006 UTC (17 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.40 (colored)

- clean up some comments to reality.
- retire LIBDCK, LIBG2C and (long broken) USE_LIBSTDCXX
- in bsd.hostprog.mk's LIBSTDCPP -> LIBSTDCC
- add LIBSUPCXX
- don't default USE_LIBSTDCXX or USE_GCC4 since they are
  not used in the tree any where
- same with USE_XF86_4; retire it
- remove _SUPCXX handling in bsd.prog.mk

inspired by PR#26714.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:44 2006 UTC (17 years, 9 months ago) by gdamore
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored) to selected 1.40 (colored)

Initial import of bluetooth stack on behalf of Iain Hibbert.  (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Mar 20 21:26:15 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.45: +1 -3 lines
Diff to previous 1.45 (colored) to selected 1.40 (colored)

remove KRB4 libraries (Jukka Salmi)

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 2 03:57:10 2005 UTC (18 years, 6 months ago) by jwise
Branch: MAIN
Changes since 1.44: +5 -1 lines
Diff to previous 1.44 (colored) to selected 1.40 (colored)

Add proper support for using bsd.hostprog.mk to build c++-based host
programs -- doesn't affect current host tools build (groff is built the
Makefile.gnuhost way).

Provides {.cc,.cpp,.cxx,.C}.lo rule, associated variables, and HOSTPROG_CXX
support (mirroring PROG_CXX in bsd.prog.mk).

Tested with from-scratch `build.sh tools' and full system build.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jun 20 22:20:15 2004 UTC (19 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.43: +19 -1 lines
Diff to previous 1.43 (colored) to selected 1.40 (colored)

Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 10 00:29:58 2004 UTC (19 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored) to selected 1.40 (colored)

Be consistent in handling YHEADER, similar to Christos' fix in bsd.lib.mk 1.253

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 21 21:13:57 2004 UTC (19 years, 10 months ago) by ross
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored) to selected 1.40 (colored)

If you add a library, you need to define its DPADD symbol here.

Add LIBMAGIC.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 29 01:48:45 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.40: +2 -3 lines
Diff to previous 1.40 (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.40 / (download) - annotate - [selected], Tue Jan 27 03:31:48 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Replace
	:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 2 16:12:36 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.40 (colored)

Consistently test all variables that support a "yes"/"no" value with
	${VAR} == "no"
or
	${VAR} != "no"
(instead of against "yes").  Variables affected:
	TOOLCHAIN_MISSING
	HAVE_GCC3
	USE_TOOLS_TOOLCHAIN
	NEED_OWN_INSTALL_TARGET
	USE_SHLIBDIR

Improve the documentation.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Dec 26 17:22:43 2003 UTC (20 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored) to selected 1.40 (colored)

Add libstdc++

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 16 14:09:00 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.40 (colored)

simplify with _MKTARGET_LINK

Revision 1.36 / (download) - annotate - [select for diffs], Tue Nov 11 11:43:45 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.35: +2 -9 lines
Diff to previous 1.35 (colored) to selected 1.40 (colored)

Set MKDEP_SUFFIXES to get additional targets in .depend instead of using
sed in .afterdepend.  I don't think .afterdepend is used anywhere any more.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 21 10:01:21 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.34: +2 -5 lines
Diff to previous 1.34 (colored) to selected 1.40 (colored)

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.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 19 03:00:55 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.40 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 18 15:33:59 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored) to selected 1.40 (colored)

Implement MAKEVERBOSE to control how "verbose" the standard make(1) rules are.
Supported values:
    0	Minimal output ("quiet")
    1	Describe what is occurring
    2	Describe what is occurring and echo the actual command ("verbose")
	This is the default, and is equivalent to the previous behaviour.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Aug 1 17:04:01 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored) to selected 1.40 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 28 23:54:24 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.40 (colored)

be consistent when adding *.y and *.l to DPSRCS

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 18 04:04:03 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.40 (colored)

whitespace cleanup

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 16 05:42:02 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored) to selected 1.40 (colored)

stop installing install libtelnet.  build under lib/libtelnet and reference
it from usr.bin/telnet and libexec/telnetd.
(reason for separate build: compiler flags)

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jun 12 23:26:21 2003 UTC (20 years, 9 months ago) by provos
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.40 (colored)

add LIBEVENT

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 11 04:56:58 2003 UTC (20 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.40 (colored)

catch signal 1,2,3,13 and 15 to clean /tmp/_dependXXX

Revision 1.26 / (download) - annotate - [select for diffs], Wed May 14 00:24:06 2003 UTC (20 years, 10 months ago) by dbj
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.40 (colored)

remove dependencies on ${LIBC} ${LIBM} and ${LIBTERMCAP} static libraries
from host tool targets.  Commits fix from PR toolchain/21495

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 17 23:18:29 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.40 (colored)

* Eliminate the USE_NEW_TOOLCHAIN variable.  Instead, split it into
  two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 29 18:58:19 2002 UTC (22 years ago) by tv
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.23: +1 -2 lines
Diff to previous 1.23 (colored) to selected 1.40 (colored)

COPTS is for target objects, not host objects.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 3 22:45:26 2002 UTC (22 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored) to selected 1.40 (colored)

Add more tolerant script-based implementation of mkdep for host tool
compiles.  Based loosely on mkdep.old.compiler (so CSRG license copied),
but now uses just one rewrite (awk) process per cpp invocation and
determines the proper way to run cpp and awk via a "configure" script.

Use HOST_MKDEP in bsd.hostlib/hostprog.mk (defaulting to the old override
value of MKDEP), and give it a TOOLDIR equivalent in bsd.own.mk.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Nov 14 23:06:26 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.40 (colored)

C/..$/.c/ -> C/\..$/.c/

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 14 23:03:06 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.20: +1 -22 lines
Diff to previous 1.20 (colored) to selected 1.40 (colored)

Remove SHAREDSTRINGS logic for host programs; this is unnecessary here.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 13 17:36:14 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored) to selected 1.40 (colored)

Move host program overrides of INSTALL and MKDEP to <bsd.hostprog.mk>.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 12 22:06:41 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored) to selected 1.40 (colored)

Set CFLAGS and CPPFLAGS for the benefit of <bsd.dep.mk>, and move the
inclusion of <bsd.sys.mk> to the top to get defaults.  (Dependency handling
needs a cleanup, and will get one soon....)

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 11 23:19:14 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.17: +5 -1 lines
Diff to previous 1.17 (colored) to selected 1.40 (colored)

Affix the ${HOST_OSTYPE} info to the end of the objdir name if OBJMACHINE
is set (and MAKEOBJDIR[PREFIX] is not in use).  This permits multiple hosts
to compile hostprogs (not just src/tools) for a given target without
colliding with each other.

Currently restricted only to new toolchain builds, as this requires a new
make(1) in order to function properly.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 2 05:21:50 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.16: +9 -15 lines
Diff to previous 1.16 (colored) to selected 1.40 (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.16 / (download) - annotate - [select for diffs], Thu Oct 25 13:48:50 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +1 -0 lines
Diff to previous 1.15 (colored) to selected 1.40 (colored)

Sigh, back out previous -- it is necessary inorder for the depend
(and dependall) targets to work properly.

XXX THIS IS BROKEN.  It's highly questionalble that we should be applying
our .depend-generating rules to a host system -- the mkdep we currently
use assumes GCC.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 25 01:21:14 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored) to selected 1.40 (colored)

Remove an unnecessary "CPPFLAGS=${HOST_CPPFLAGS}" -- the host tool
targets use HOST_CPPFLAGS exclusively, and keeping this assignment
can get us into some unfortuante recursion trouble.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 19 15:55:52 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.13: +4 -7 lines
Diff to previous 1.13 (colored) to selected 1.40 (colored)

Add .NOPATH for all files generated from .l or .y files in SRCS.  Fixes PRs
bin/14187 and lib/14239.

Also simplify the handling of these transforms to .c and .h files a bit by
leveraging make's builtin macro operators.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 25 02:19:26 2001 UTC (22 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.40 (colored)

Set .NOPATH on program to build to make sure it goes in .OBJDIR.
Problem noted by <seebs@plethora.net>.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 13 23:23:26 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.40 (colored)

Add LIBPCI.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 14 07:02:13 2001 UTC (22 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.40 (colored)

Rather than explicitly saying "clean cleandir:" all the time, make clean
a dependency of cleandir (so that "make cleandir" implies "make clean").

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 1 17:49:33 2001 UTC (22 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.40 (colored)

Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 4 23:52:00 2001 UTC (23 years, 2 months ago) by garbled
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) to selected 1.40 (colored)

Add LIBCDK and LIBFORM definitions

Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 31 10:49:02 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) to selected 1.40 (colored)

add ${LIBINTL} for use with DPADD.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 7 20:55:05 2000 UTC (24 years ago) by veego
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.6: +1 -2 lines
Diff to previous 1.6 (colored) to selected 1.40 (colored)

Remove unused libahdi.
It will be replaced in the future with a more generic libdisklabel.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 5 20:54:12 2000 UTC (24 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.40 (colored)

Add libahdi entries.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jan 22 19:31:01 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.40 (colored)

Make `dependall' play nicely with SUBDIR, using a hack similar to `realinstall'
for both `depend' and `all'.
Also, remove the old hack that invokes an extra shell for .depend, now that
make(1) has been fixed.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 23 13:22:38 1999 UTC (24 years, 4 months ago) by blymn
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.40 (colored)

Added libmenu library.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 24 17:48:57 1999 UTC (24 years, 6 months ago) by wrstuden
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.2: +2 -7 lines
Diff to previous 1.2 (colored) to selected 1.40 (colored)

Zap proginstall and scriptinstall - they don't make sense for hostprog.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 14 01:31:11 1999 UTC (24 years, 6 months ago) by perry
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.40 (colored)

Add a "dependall" target, which does a "make depend" and then "make all"
in a single directory. This is useful in "make build" because by doing
the build immediately after the depend, all sources will typically
still be in the buffer cache, thus saving significant time over doing
a "make depend" on all the directories and then a "make all".

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 14 20:20:05 1999 UTC (24 years, 8 months ago) by wrstuden
Branch: MAIN
CVS Tags: mortalinstall
Diff to selected 1.40 (colored)

Add bsd.hostprog.mk, a makefile for making programs used during
the build which will run on the build machine.

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 <webmaster@jp.NetBSD.org>