The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.348 / (download) - annotate - [select for diffs], Mon Feb 19 20:39:38 2024 UTC (5 weeks, 3 days ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.347: +5 -1 lines
Diff to previous 1.347 (colored) to selected 1.267 (colored)

Add a hook that adds more libraries after PROGDPLIBS

Revision 1.347 / (download) - annotate - [select for diffs], Wed Oct 11 14:08:26 2023 UTC (5 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.346: +3 -3 lines
Diff to previous 1.346 (colored) to selected 1.267 (colored)

heimdal: No need for -lm, was only added for -lsqlite3.

PR lib/57406

XXX pullup-10

Revision 1.346 / (download) - annotate - [select for diffs], Wed Oct 11 14:08:17 2023 UTC (5 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.345: +3 -3 lines
Diff to previous 1.345 (colored) to selected 1.267 (colored)

bsd.prog.mk: krb5 stuff no longer needs to link against sqlite3.

(Why is this here?  Seems like it should be a .mk fragment under
crypto/external/bsd/heimdal -- that way I would have found it for the
previous commit.)

PR lib/57406

XXX pullup-10

Revision 1.345 / (download) - annotate - [select for diffs], Sun May 28 10:33:13 2023 UTC (10 months ago) by lukem
Branch: MAIN
Changes since 1.344: +1 -52 lines
Diff to previous 1.344 (colored) to selected 1.267 (colored)

share/mk: finish USE_COMBINE, NOCOMBINE deprecation

Remove the leftover remnants of deprecated USE_COMBINE and NOCOMBINE,
as gcc -combine has been EOL for many years.

Completes the work done by maya@ on 2019-05-10 in bsd.kmodule.mk rev 1.61.

Revision 1.344 / (download) - annotate - [select for diffs], Wed May 24 10:07:16 2023 UTC (10 months ago) by lukem
Branch: MAIN
Changes since 1.343: +1 -17 lines
Diff to previous 1.343 (colored) to selected 1.267 (colored)

deprecate SHAREDSTRINGS build option

Hasn't worked for at least 20 years (and never in the cross-build environment,
nor did it work with parallel make), and has never been needed in NetBSD as we
don't have the older BSD programs (pascal, pre-nvi ex) that needed mkstr/xstr
on PDP-11.

PR toolchain/35964

Revision 1.343 / (download) - annotate - [select for diffs], Mon May 8 14:31:08 2023 UTC (10 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.342: +2 -2 lines
Diff to previous 1.342 (colored) to selected 1.267 (colored)

remove stuff accidentally committed

Revision 1.342 / (download) - annotate - [select for diffs], Sun May 7 23:24:51 2023 UTC (10 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.341: +7 -2 lines
Diff to previous 1.341 (colored) to selected 1.267 (colored)

Provide a hook to link in libraries statically in PROGDPLIBS.
OpenSSL protects the symbols in the shared object via a linker
script, but programs and tests need those protected symbols, so
they either must link against the archive, or I need to expose the
symbols. For now, I chose to expose the symbols.  Note that we
cannot use -Bstatic -Lpath -llibrary -Bdynamic because this seems
to be broken with collect2 and so we use the path directly.

Revision 1.341 / (download) - annotate - [select for diffs], Thu Jul 14 03:48:49 2022 UTC (20 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.340: +2 -2 lines
Diff to previous 1.340 (colored) to selected 1.267 (colored)

add libxcvt.

Revision 1.340 / (download) - annotate - [select for diffs], Sun Nov 28 15:49:36 2021 UTC (2 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.339: +5 -1 lines
Diff to previous 1.339 (colored) to selected 1.267 (colored)

When we build against DESTDIR, add the lint library path for DESTDIR during
the link phase for lint.

Revision 1.339 / (download) - annotate - [select for diffs], Mon Aug 23 22:13:27 2021 UTC (2 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.338: +16 -4 lines
Diff to previous 1.338 (colored) to selected 1.267 (colored)

define variables for the libxcb-* libraries.

Revision 1.338 / (download) - annotate - [select for diffs], Sun Aug 15 10:30:39 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.337: +5 -3 lines
Diff to previous 1.337 (colored) to selected 1.267 (colored)

Fix sun2 build for ldap/gssapi

Revision 1.337 / (download) - annotate - [select for diffs], Sat Aug 14 16:16:32 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.336: +6 -1 lines
Diff to previous 1.336 (colored) to selected 1.267 (colored)

Centralize the ldap libraries

Revision 1.336 / (download) - annotate - [select for diffs], Thu Nov 12 17:53:43 2020 UTC (3 years, 4 months ago) by nia
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.335: +5 -5 lines
Diff to previous 1.335 (colored) to selected 1.267 (colored)

Revert addition of pthread dependency on sqlite.

It is less trivial than expected and introduced some surprising breakage.

Revision 1.335 / (download) - annotate - [select for diffs], Mon Nov 9 16:15:05 2020 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.334: +5 -9 lines
Diff to previous 1.334 (colored) to selected 1.267 (colored)

- make the CTFCONVERT command lines consistent and concise by putting all
  the implementation stuff in a variable CTFCONVERT_RUN
- introduce an OBJECT_TARGET variable that contains the output object file
- when we need to run ctfconvert, go through an intermediate ${.TARGET}.o
  file, instead of writing directly to ${.TARGET} and then overwriting
  ${.TARGET} with ctfconvert. This avoids build failures after a build
  got interrupted (the "partially built from C" scourge).

Revision 1.334 / (download) - annotate - [select for diffs], Mon Nov 9 10:19:18 2020 UTC (3 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.333: +5 -5 lines
Diff to previous 1.333 (colored) to selected 1.267 (colored)

Adapt for sqlite requiring pthreads now

Revision 1.333 / (download) - annotate - [select for diffs], Fri Oct 30 08:41:58 2020 UTC (3 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.332: +6 -5 lines
Diff to previous 1.332 (colored) to selected 1.267 (colored)

libsqlite3 now requires -lm

Revision 1.332 / (download) - annotate - [select for diffs], Fri Oct 16 06:55:36 2020 UTC (3 years, 5 months ago) by nia
Branch: MAIN
Changes since 1.331: +2 -2 lines
Diff to previous 1.331 (colored) to selected 1.267 (colored)

share/mk: Define some missing X11 libraries.

Revision 1.331 / (download) - annotate - [select for diffs], Mon Jun 15 01:57:31 2020 UTC (3 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.330: +2 -1 lines
Diff to previous 1.330 (colored) to selected 1.267 (colored)

Rename blacklist -> blocklist

Revision 1.330 / (download) - annotate - [select for diffs], Sat May 30 20:47:59 2020 UTC (3 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.329: +1 -2 lines
Diff to previous 1.329 (colored) to selected 1.267 (colored)

Make libuv private, requested by joerg@

Revision 1.329 / (download) - annotate - [select for diffs], Sun May 24 19:58:02 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.328: +2 -1 lines
Diff to previous 1.328 (colored) to selected 1.267 (colored)

Add libuv

Revision 1.328 / (download) - annotate - [select for diffs], Sat Apr 4 13:33:14 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.327: +4 -10 lines
Diff to previous 1.327 (colored) to selected 1.267 (colored)

Linker semantics have changed; we now don't automatically link dependent
libraries from other DSO's. For example in /usr/bin/passwd:
ld: krb5_passwd.o: undefined reference to symbol \
	'UI_UTIL_read_pw_string@@OPENSSL_1_1_0'
ld: /usr/obj/amd64-x86_64/release/lib/libcrypto.so.14: error adding symbols: \
	DSO missing from command line

Revision 1.327 / (download) - annotate - [select for diffs], Sat Apr 4 03:35:01 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.326: +9 -7 lines
Diff to previous 1.326 (colored) to selected 1.267 (colored)

Fix kerberos libraries order

Revision 1.326 / (download) - annotate - [select for diffs], Sat Apr 4 01:35:22 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.325: +2 -1 lines
Diff to previous 1.325 (colored) to selected 1.267 (colored)

Add libgnuctf

Revision 1.325 / (download) - annotate - [select for diffs], Tue Mar 3 02:25:03 2020 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.324: +3 -1 lines
Diff to previous 1.324 (colored) to selected 1.267 (colored)

Add fido and cbor

Revision 1.324 / (download) - annotate - [select for diffs], Mon Nov 18 16:09:21 2019 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.323: +3 -9 lines
Diff to previous 1.323 (colored) to selected 1.267 (colored)

Improve the script to check for installed libraries, and fix the wrong
names and obsolete libraries it found.

Revision 1.323 / (download) - annotate - [select for diffs], Tue Aug 27 22:48:54 2019 UTC (4 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.322: +2 -18 lines
Diff to previous 1.322 (colored) to selected 1.267 (colored)

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.

Revision 1.322 / (download) - annotate - [select for diffs], Sat Aug 17 00:14:48 2019 UTC (4 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.321: +9 -1 lines
Diff to previous 1.321 (colored) to selected 1.267 (colored)

Add PAXCTL_FLAG rules for MKSANITIZER

Add per-program rules to disable ASLR for ASan, TSan and MSan in all
sanitized programs. This flag is not needed for other supported sanitizers.

Without this change, sanitized init(8) dies early on startup.

Approach originally suggested by <joerg>

Revision 1.321 / (download) - annotate - [select for diffs], Thu Aug 15 08:42:59 2019 UTC (4 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.320: +11 -1 lines
Diff to previous 1.320 (colored) to selected 1.267 (colored)

Add SANITIZER_RENAME_CLASSES in bsd.prog.mk

This adds a more flexible version of SANITIZER_RENAME_SYMBOL.

New symbol allows to specify MKSANITIZER specific renames on per-file and
per-symbol basis.

Revision 1.320 / (download) - annotate - [select for diffs], Sat Aug 10 12:46:38 2019 UTC (4 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.319: +8 -38 lines
Diff to previous 1.319 (colored) to selected 1.267 (colored)

Make the X11 library lists consistent again.

Revision 1.319 / (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.318: +2 -2 lines
Diff to previous 1.318 (colored) to selected 1.267 (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.318 / (download) - annotate - [select for diffs], Sun Aug 12 11:50:51 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.317: +13 -6 lines
Diff to previous 1.317 (colored) to selected 1.267 (colored)

fix broken library variable definitions (inconsistencies between
bsd.README and bsd.prog.mk)

Revision 1.317 / (download) - annotate - [select for diffs], Wed Jul 25 23:34:25 2018 UTC (5 years, 8 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.316: +3 -3 lines
Diff to previous 1.316 (colored) to selected 1.267 (colored)

Introduce MKLIBCSANITIZER in the share/mk rules

Add flags that are required to build a program and a dynamically loaded
library.

Propagade LIBCSANITIZERFLAGS to CFLAGS and CXXFLAGS.

LDFLAGS is not changed on purpose, as a libcsanitizer is inside libc
and no external dependencies are needed.

Register NOLIBCSANITIZER, as certain distribution parts will need to be
skipped.

Revision 1.316 / (download) - annotate - [select for diffs], Thu Jul 12 10:46:41 2018 UTC (5 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.315: +1 -2 lines
Diff to previous 1.315 (colored) to selected 1.267 (colored)

Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.

Revision 1.315 / (download) - annotate - [select for diffs], Mon Jun 25 17:58:36 2018 UTC (5 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base
Branch point for: phil-wifi
Changes since 1.314: +8 -1 lines
Diff to previous 1.314 (colored) to selected 1.267 (colored)

Add a framework for renaming symbols in libc&co for MKSANITIZER

A new keyword SANITIZER_RENAME_SYMBOL. It's a variable that has specified
a list of symbols to be renamed in a processor in order to remove naming
conflicts with public symbols in libc/m/pthread/rt.

This renaming will occur for libraries and programs.
A symbol with a conflicting 'name', will be renamed to '__mksanitizer_name'.

Based on an idea by <christos>

Revision 1.314 / (download) - annotate - [select for diffs], Thu Jun 21 11:24:38 2018 UTC (5 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.313: +7 -1 lines
Diff to previous 1.313 (colored) to selected 1.267 (colored)

Refactor MKSANITIZER flags in mk rules

Introduce a new variable SANITIZERFLAGS that contains all the sanitizer
specific flags. These flags are designed to be passed to CFLAGS, CXXFLAGS
and LDFLAGS.

Pass SANITIZERFLAGS in bsd.prog.mk rules to CFLAGS, CXXFLAGS and LDFLAGS.

Pass SANITIZERFLAGS in bsd.lib.mk rules to *_pic.a build flags. The *_pic.a
libraries are designed to construct .so libraries. All .so libraries with
few exceptions are expected to be prebuilt with a sanitizer. Another
purpuse of *_pic.a files can be constructing static PIE programs, however
they are not supported as of now and there is no sanitization of static
programs either.

Once MKSTATICPIE will be supported, it will be initially incompatible with
MKSANITIZER.

This change also makes it easier to build other targets like kernel and
kernel modules without userland sanitizers.

No functional change intended for MKSANITIZER=no users.

Revision 1.313 / (download) - annotate - [select for diffs], Sat Jun 2 15:19:45 2018 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.312: +4 -1 lines
Diff to previous 1.312 (colored) to selected 1.267 (colored)

Sanitizers don't support static linking.

Revision 1.312 / (download) - annotate - [select for diffs], Sun Mar 11 09:56:44 2018 UTC (6 years ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Changes since 1.311: +2 -1 lines
Diff to previous 1.311 (colored) to selected 1.267 (colored)

define LIBXFONT2.

Revision 1.311 / (download) - annotate - [select for diffs], Sun Feb 25 00:16:48 2018 UTC (6 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.310: +17 -1 lines
Diff to previous 1.310 (colored) to selected 1.267 (colored)

add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
to bsd.prog.mk.  use them instead of hard coding various lists
of libraries for krb5.

this fixes static builds.

Revision 1.310 / (download) - annotate - [select for diffs], Mon Dec 11 13:08:47 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.309: +2 -2 lines
Diff to previous 1.309 (colored) to selected 1.267 (colored)

Instead of checking for obj existance which can be empty for shuttle-rule
programs, check for .sh sources.

Revision 1.309 / (download) - annotate - [select for diffs], Sun Dec 10 15:11:47 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.308: +3 -2 lines
Diff to previous 1.308 (colored) to selected 1.267 (colored)

don't try to build .debug files for shell scripts.

Revision 1.308 / (download) - annotate - [select for diffs], Tue Oct 10 19:29:44 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.307: +3 -3 lines
Diff to previous 1.307 (colored) to selected 1.267 (colored)

Add general {DP,LD}ADD.rump variables

Revision 1.307 / (download) - annotate - [select for diffs], Sun May 21 15:28:42 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: 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
Changes since 1.306: +1 -3 lines
Diff to previous 1.306 (colored) to selected 1.267 (colored)

Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.

Revision 1.306 / (download) - annotate - [select for diffs], Sun May 21 14:24:05 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.305: +1 -3 lines
Diff to previous 1.305 (colored) to selected 1.267 (colored)

Remove some vestiges of MKCRYPTO_IDEA/MKCRYPTO_MDC2.

Revision 1.305 / (download) - annotate - [select for diffs], Sun May 21 14:20:45 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.304: +1 -2 lines
Diff to previous 1.304 (colored) to selected 1.267 (colored)

Remove MKCRYPTO_RC5.  Unconditionally include RC5 in libcrypto.so.

This option existed only because RC5 is covered by patents that, twenty
years ago, we had reason to suspect the patent holder, RSA, Inc., might
litigate.  The two US patents in question are 5,724,428 and 5,835,600.

According to the USPTO Patent Term Calculator web site at
<https://www.uspto.gov/patent/laws-and-regulations/patent-term-calculator#heading-5>
(retrieved 2017-05-21), patents filed after 1995-06-07 expire twenty
years after the filing date.

number          filing date
5,724,428       1995-11-01
5,835,600       1997-04-21

Thus, these patents appear to be expired.

As proposed on tech-crypto and tech-security:

https://mail-index.netbsd.org/tech-crypto/2017/05/05/msg000718.html
https://mail-index.netbsd.org/tech-security/2017/05/05/msg000927.html

Revision 1.304 / (download) - annotate - [select for diffs], Wed Apr 19 23:41:00 2017 UTC (6 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.303: +2 -1 lines
Diff to previous 1.303 (colored) to selected 1.267 (colored)

Add netpgpverify to the library list.

Revision 1.303 / (download) - annotate - [select for diffs], Mon Feb 20 16:05:34 2017 UTC (7 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.302: +2 -1 lines
Diff to previous 1.302 (colored) to selected 1.267 (colored)

add missing LIBCXX

Revision 1.302 / (download) - annotate - [select for diffs], Wed Feb 8 03:44:41 2017 UTC (7 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.301: +1 -2 lines
Diff to previous 1.301 (colored) to selected 1.267 (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.301 / (download) - annotate - [select for diffs], Sun Jan 29 21:43:56 2017 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.300: +3 -3 lines
Diff to previous 1.300 (colored) to selected 1.267 (colored)

add sqlite3 to statically linked libraries for pam.

Revision 1.300 / (download) - annotate - [select for diffs], Sat Aug 20 11:23:33 2016 UTC (7 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.299: +2 -1 lines
Diff to previous 1.299 (colored) to selected 1.267 (colored)

unbound additions

Revision 1.299 / (download) - annotate - [select for diffs], Mon Apr 4 15:06:16 2016 UTC (7 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.298: +2 -2 lines
Diff to previous 1.298 (colored) to selected 1.267 (colored)

If the per-target LDSTATIC flag is set, don't include the PIE linker
flags as we currently don't support static PIE.

Revision 1.298 / (download) - annotate - [select for diffs], Wed Mar 30 13:05:09 2016 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.297: +2 -2 lines
Diff to previous 1.297 (colored) to selected 1.267 (colored)

Pass -pie to cc, not -Wl,-pie. This way we have a chance to fix specs
for obscure corner cases like -pie -fPIE -static (used for
/usr/tests/lib/csu/h_initfini2 if building with MKPIE=yes).
While there also replace -fPIC with -fPIE for the PIE case, even if
it should be mostly equivalent.

Revision 1.297 / (download) - annotate - [select for diffs], Sat Mar 12 23:08:58 2016 UTC (8 years ago) by mrg
Branch: MAIN
Changes since 1.296: +2 -2 lines
Diff to previous 1.296 (colored) to selected 1.267 (colored)

remove conditionals that are always true with GCC >= 4.8.

Revision 1.296 / (download) - annotate - [select for diffs], Sun Feb 21 03:34:27 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.295: +3 -3 lines
Diff to previous 1.295 (colored) to selected 1.267 (colored)

Add NODEBUG

Revision 1.295 / (download) - annotate - [select for diffs], Sun Jan 31 15:30:14 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.294: +2 -2 lines
Diff to previous 1.294 (colored) to selected 1.267 (colored)

Introduce NOPIE and NOCTF so that standalone programs build properly.

Revision 1.294 / (download) - annotate - [select for diffs], Sat Jan 23 21:22:47 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.293: +2 -1 lines
Diff to previous 1.293 (colored) to selected 1.267 (colored)

Define _KERNTYPES for things that need it.

Revision 1.293 / (download) - annotate - [select for diffs], Sat Nov 7 23:41:58 2015 UTC (8 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.292: +2 -1 lines
Diff to previous 1.292 (colored) to selected 1.267 (colored)

LIBEXECINFO

Revision 1.292 / (download) - annotate - [select for diffs], Sun Jun 7 15:04:28 2015 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.291: +5 -5 lines
Diff to previous 1.291 (colored) to selected 1.267 (colored)

Make LIBCRT* depend on the right files if MLIBDIR from MKCOMPAT is defined.

Revision 1.291 / (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.290: +2 -2 lines
Diff to previous 1.290 (colored) to selected 1.267 (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.290 / (download) - annotate - [select for diffs], Tue Mar 25 09:52:55 2014 UTC (10 years ago) by ozaki-r
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.289: +2 -2 lines
Diff to previous 1.289 (colored) to selected 1.267 (colored)

Add MKCTF

This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.

Revision 1.289 / (download) - annotate - [select for diffs], Sun Mar 9 18:00:51 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.288: +2 -2 lines
Diff to previous 1.288 (colored) to selected 1.267 (colored)

let's see if the new dwarf library can handle dwarf 4

Revision 1.288 / (download) - annotate - [select for diffs], Sun Mar 2 22:22:05 2014 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.287: +4 -1 lines
Diff to previous 1.287 (colored) to selected 1.267 (colored)

If we are compiling with -g and using gcc4.8 and dtrace downgrade
dwarf generation to version 2 for now.

Revision 1.287 / (download) - annotate - [select for diffs], Wed Jan 15 13:59:38 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.286: +2 -2 lines
Diff to previous 1.286 (colored) to selected 1.267 (colored)

-Wl,-pie and -r don't agree with each other, so filter the former out.

Revision 1.286 / (download) - annotate - [select for diffs], Mon Nov 11 10:24:53 2013 UTC (10 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.285: +10 -4 lines
Diff to previous 1.285 (colored) to selected 1.267 (colored)

Relink binaries if crti.o changes.

Revision 1.285 / (download) - annotate - [select for diffs], Sun Sep 29 14:36:25 2013 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.284: +2 -1 lines
Diff to previous 1.284 (colored) to selected 1.267 (colored)

Add libxcb

Revision 1.284 / (download) - annotate - [select for diffs], Fri May 31 06:48:43 2013 UTC (10 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.283: +4 -1 lines
Diff to previous 1.283 (colored) to selected 1.267 (colored)

add LIBX11_XCB; unfortunately since the library is named with a -
in it, we have to use an ugly hard coded assignment for now.
(could be cleaned up with more make variable magic i'm sure.)

Revision 1.283 / (download) - annotate - [select for diffs], Thu Apr 4 21:14:36 2013 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.282: +2 -3 lines
Diff to previous 1.282 (colored) to selected 1.267 (colored)

ldopts should be before ldadd like everywhere else.

Revision 1.282 / (download) - annotate - [select for diffs], Thu Feb 14 03:02:47 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.281: +9 -9 lines
Diff to previous 1.281 (colored) to selected 1.267 (colored)

Since the libraries are produced with different MK flags than the programs,
we check for existance of the files instead of the MK flags.

Revision 1.281 / (download) - annotate - [select for diffs], Thu Feb 14 01:58:00 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.280: +18 -1 lines
Diff to previous 1.280 (colored) to selected 1.267 (colored)

Add PROGDPLIBS

Revision 1.280 / (download) - annotate - [select for diffs], Sat Jan 26 21:49:20 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.279: +7 -1 lines
Diff to previous 1.279 (colored) to selected 1.267 (colored)

CTFCONVERT me harder.

Revision 1.279 / (download) - annotate - [select for diffs], Thu Jan 17 15:42:59 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.278: +4 -1 lines
Diff to previous 1.278 (colored) to selected 1.267 (colored)

Now that we have separate debug sets, add -g if ${MKDEBUG} is set for
program builds since we don't need to install that symbol files.

Revision 1.278 / (download) - annotate - [select for diffs], Fri Aug 24 20:26:24 2012 UTC (11 years, 7 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.277: +5 -4 lines
Diff to previous 1.277 (colored) to selected 1.267 (colored)

Allow DPADD to be specified on a per-program basis.

Revision 1.277 / (download) - annotate - [select for diffs], Thu Aug 23 21:21:16 2012 UTC (11 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.276: +3 -0 lines
Diff to previous 1.276 (colored) to selected 1.267 (colored)

Revert last, it breaks the tricks xsrc uses.

Revision 1.276 / (download) - annotate - [select for diffs], Thu Aug 23 15:45:03 2012 UTC (11 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.275: +1 -4 lines
Diff to previous 1.275 (colored) to selected 1.267 (colored)

Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.

Revision 1.275 / (download) - annotate - [select for diffs], Wed Aug 8 13:56:14 2012 UTC (11 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.274: +17 -7 lines
Diff to previous 1.274 (colored) to selected 1.267 (colored)

add MKRUMP by popular demand.

Revision 1.274 / (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-base5, yamt-pagecache-base4
Changes since 1.273: +2 -2 lines
Diff to previous 1.273 (colored) to selected 1.267 (colored)

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

Revision 1.273 / (download) - annotate - [select for diffs], Tue Feb 21 01:41:09 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.272: +1 -2 lines
Diff to previous 1.272 (colored) to selected 1.267 (colored)

Remove another ${SIZE}

Revision 1.272 / (download) - annotate - [select for diffs], Mon Feb 20 18:23:50 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.271: +1 -2 lines
Diff to previous 1.271 (colored) to selected 1.267 (colored)

Remove ${SIZE}

Revision 1.271 / (download) - annotate - [select for diffs], Sun Feb 19 23:19:37 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.270: +59 -2 lines
Diff to previous 1.270 (colored) to selected 1.267 (colored)

Add support for --combine with gcc.

Revision 1.270 / (download) - annotate - [select for diffs], Sat Nov 5 22:56:31 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, netbsd-6-base
Branch point for: netbsd-6
Changes since 1.269: +2 -1 lines
Diff to previous 1.269 (colored) to selected 1.267 (colored)

Add libtre

Revision 1.269 / (download) - annotate - [select for diffs], Sun Oct 16 01:24:05 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.268: +9 -14 lines
Diff to previous 1.268 (colored) to selected 1.267 (colored)

- no need to special-case libraries with weird characters.
- add a note about adding new libraries.

Revision 1.268 / (download) - annotate - [select for diffs], Sun Oct 16 01:14:33 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.267: +142 -30 lines
Diff to previous 1.267 (colored)

fix list of libraries to reflect reality.

Revision 1.267 / (download) - annotate - [selected], Sat Sep 10 16:57:35 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.266: +6 -20 lines
Diff to previous 1.266 (colored)

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

Revision 1.266 / (download) - annotate - [select for diffs], Sat Aug 27 18:35:20 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.265: +2 -1 lines
Diff to previous 1.265 (colored) to selected 1.267 (colored)

Add new "analyze" command to run clang's static analyzer in a directory
on all C/C++ files.

Revision 1.265 / (download) - annotate - [select for diffs], Tue Apr 26 08:22:17 2011 UTC (12 years, 11 months ago) by he
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.264: +9 -6 lines
Diff to previous 1.264 (colored) to selected 1.267 (colored)

The new Heimdal adds -lwind and -lheimbase to the set of libraries,
so define the corresponding LIB* variables.
These are also needed in the PAM_STATIC_* variables, so add them there too.

Revision 1.264 / (download) - annotate - [select for diffs], Mon Apr 11 23:03:38 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.263: +3 -4 lines
Diff to previous 1.263 (colored) to selected 1.267 (colored)

Adjust --sysroot related usage:
-Wl,-rpath does not expand =, so just drop it.

Drop -Wl,-rpath-link entries that duplicate the -Wl,-rpath entries, this
is done implicitly now that ld is built with sysroot support.

Use ${DESTDIR} explicitly for the remaining -Wl,-rpath-link entries.

Revision 1.263 / (download) - annotate - [select for diffs], Sun Apr 10 16:52:36 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.262: +6 -23 lines
Diff to previous 1.262 (colored) to selected 1.267 (colored)

For USETOOLS=yes, use the --sysroot support of the compiler to cut down
the number of hard-coded pathes and magic invocations.

Revision 1.262 / (download) - annotate - [select for diffs], Tue Mar 8 07:53:43 2011 UTC (13 years ago) by jmmv
Branch: MAIN
Changes since 1.261: +2 -3 lines
Diff to previous 1.261 (colored) to selected 1.267 (colored)

Revert previous (revision 1.261): it broke the build because PROG_CXX is
defined in terms of PROG, so later on we would end up with target duplicates
because both PROG_CXX and PROG were being converted to PROGS_CXX and PROGS.

Did not catch this earlier because the test build I did was not clean and
thus the duplicate targets did not have nasty effects.

Revision 1.261 / (download) - annotate - [select for diffs], Mon Mar 7 19:05:03 2011 UTC (13 years ago) by jmmv
Branch: MAIN
Changes since 1.260: +3 -2 lines
Diff to previous 1.260 (colored) to selected 1.267 (colored)

Always convert PROG to its plural form independently of whether PROG_CXX
is defined or not.  From Garrett Cooper in private mail.

Revision 1.260 / (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.259: +6 -1 lines
Diff to previous 1.259 (colored) to selected 1.267 (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.259 / (download) - annotate - [select for diffs], Sun Feb 13 00:42:45 2011 UTC (13 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.258: +2 -2 lines
Diff to previous 1.258 (colored) to selected 1.267 (colored)

add saslc

Revision 1.258 / (download) - annotate - [select for diffs], Sun Feb 6 01:08:37 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.257: +4 -1 lines
Diff to previous 1.257 (colored) to selected 1.267 (colored)

Don't use -nostdinc or -nostdinc++ if this is included in a HOSTLIB.

Revision 1.257 / (download) - annotate - [select for diffs], Mon Jan 17 18:05:52 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.256: +2 -1 lines
Diff to previous 1.256 (colored) to selected 1.267 (colored)

Add rump bits to DPSRCS so that update builds work correctly.

Revision 1.256 / (download) - annotate - [select for diffs], Mon Dec 13 21:47:04 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.255: +6 -1 lines
Diff to previous 1.255 (colored) to selected 1.267 (colored)

befriend RUMPPRG with CRUNCHEDPRG

Revision 1.255 / (download) - annotate - [select for diffs], Mon Dec 13 17:22:26 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.254: +34 -5 lines
Diff to previous 1.254 (colored) to selected 1.267 (colored)

Define RUMPPRG, which is just like PROG, except it additionally
builds a rump client with the name rump.${PROG}.  The rump client
is not installed suid/sgid by default even if BINMODE is defined.

Revision 1.254 / (download) - annotate - [select for diffs], Fri Dec 10 20:08:17 2010 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.253: +2 -2 lines
Diff to previous 1.253 (colored) to selected 1.267 (colored)

Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.

Revision 1.253 / (download) - annotate - [select for diffs], Wed Dec 8 02:04:13 2010 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.252: +2 -2 lines
Diff to previous 1.252 (colored) to selected 1.267 (colored)

gcc passes down -r directly to ld, so make it explicitly a linker option.

Revision 1.252 / (download) - annotate - [select for diffs], Wed Dec 8 01:57:22 2010 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.251: +2 -2 lines
Diff to previous 1.251 (colored) to selected 1.267 (colored)

Don't depend on ${CC} passing down -R to ld, use -Wl,-rpath explicitly.

Revision 1.251 / (download) - annotate - [select for diffs], Mon Nov 8 06:54:52 2010 UTC (13 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.250: +5 -4 lines
Diff to previous 1.250 (colored) to selected 1.267 (colored)

Preserve date on original shared library or program when stripping
the debug symbols and adding the debug-link to .debug.
Use '(rm -f file; false)' in the failure path to force failure.
Based on solution proposed by Nicolas Joly on tech-toolchain in July 2010.
Should fix PR toolchain/44046 from Andreas Gustafsson.

Revision 1.250 / (download) - annotate - [select for diffs], Sun Oct 31 11:52:53 2010 UTC (13 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.249: +2 -2 lines
Diff to previous 1.249 (colored) to selected 1.267 (colored)

Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.

Revision 1.249 / (download) - annotate - [select for diffs], Tue Jul 6 05:59:56 2010 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.248: +2 -10 lines
Diff to previous 1.248 (colored) to selected 1.267 (colored)

remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h

Revision 1.248 / (download) - annotate - [select for diffs], Sat Apr 24 07:57:04 2010 UTC (13 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.247: +2 -2 lines
Diff to previous 1.247 (colored) to selected 1.267 (colored)

When extracting separate debug symbols with MKDEBUG, there's no need
to leave the original file unstripped...

Revision 1.247 / (download) - annotate - [select for diffs], Tue Mar 2 20:49:18 2010 UTC (14 years, 1 month ago) by darran
Branch: MAIN
Changes since 1.246: +10 -1 lines
Diff to previous 1.246 (colored) to selected 1.267 (colored)

DTrace: Add CTF generation to the make framework.  Only enabled when
MKDTRACE=yes.

Revision 1.246 / (download) - annotate - [select for diffs], Mon Dec 14 08:51:16 2009 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.245: +2 -2 lines
Diff to previous 1.245 (colored) to selected 1.267 (colored)

use "${CC} -r" not "${CC} -Wl,-r" as the latter fools GCC on some targets
and it ends up passing "-r -relax" to ld, which causes ld to barf.

Revision 1.245 / (download) - annotate - [select for diffs], Mon Dec 14 01:00:46 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.244: +2 -2 lines
Diff to previous 1.244 (colored) to selected 1.267 (colored)

Merge from matt-nb5-mips64

Revision 1.244 / (download) - annotate - [select for diffs], Tue Dec 8 15:18:42 2009 UTC (14 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.243: +2 -13 lines
Diff to previous 1.243 (colored) to selected 1.267 (colored)

When PROGS / LIBS are used, you can pass each PROG / LIB specific parameters
to ${LD} via:

	${LDADD.${PROG}}
	${LDFLAGS.${PROG}}
	${LDSTATIC.${PROG}}
	${LDADD.${LIB}}
	${LDFLAGS.${LIB}}

OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to
define ${CC} parameters to all the sources of a given ${PROG} / ${LIB}.

Should address bin/42381.

(Bug in this commit log was pointed out by mrg@.)

Revision 1.243 / (download) - annotate - [select for diffs], Fri Nov 27 11:44:36 2009 UTC (14 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.242: +5 -1 lines
Diff to previous 1.242 (colored) to selected 1.267 (colored)

If CPPFLAGS or CXXFLAGS already contains -nostdinc or -nostdinc++,
don't add ${CPPFLAGS_ISYSTEM} or ${CPPFLAGS_ISYSTEMXX} to refer
${DESTDIR}/usr/include or ${DESTDIR}/usr/include/g++.

This change might cause errors on some MD stand dir, but in that case
each Makefile should be fixed to search proper system include paths
by -Ipath option in own CPPFLAGS.

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

remove libsdp as improved functionality has been enabled in libbluetooth.

Revision 1.241 / (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.240: +4 -1 lines
Diff to previous 1.240 (colored) to selected 1.267 (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.240 / (download) - annotate - [select for diffs], Mon Nov 24 02:13:08 2008 UTC (15 years, 4 months ago) by cube
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.239: +6 -6 lines
Diff to previous 1.239 (colored) to selected 1.267 (colored)

Move cleanextra to the very ends in case another included file wants to add
to it even if it was initially empty.

Revision 1.239 / (download) - annotate - [select for diffs], Sun Oct 19 15:22:50 2008 UTC (15 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.238: +2 -1 lines
Diff to previous 1.238 (colored) to selected 1.267 (colored)

handle assembly files for MKPIE

Revision 1.238 / (download) - annotate - [select for diffs], Thu Oct 16 14:36:42 2008 UTC (15 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.237: +3 -3 lines
Diff to previous 1.237 (colored) to selected 1.267 (colored)

Provide a way for a program to override the PIE flags.

Revision 1.237 / (download) - annotate - [select for diffs], Wed Oct 15 17:31:50 2008 UTC (15 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.236: +6 -1 lines
Diff to previous 1.236 (colored) to selected 1.267 (colored)

don't compile/link libraries with pie

Revision 1.236 / (download) - annotate - [select for diffs], Thu Oct 2 17:54:53 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.235: +2 -2 lines
Diff to previous 1.235 (colored) to selected 1.267 (colored)

Hook up libfetch and pkg_install update.

Revision 1.235 / (download) - annotate - [select for diffs], Tue Sep 9 11:54:19 2008 UTC (15 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.234: +4 -1 lines
Diff to previous 1.234 (colored) to selected 1.267 (colored)

Add MKSTRIPIDENT to remove the RCS IDs from binary programs and shared
libraries for space-constraint systems. The description is based on the
feedback of hubertf@, the logic on input from lukem@

This obsoletes the removal of LIBC_SCCS and SYSLIBC_SCCS for libc builds.

Revision 1.234 / (download) - annotate - [select for diffs], Thu Aug 28 07:17:06 2008 UTC (15 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.233: +2 -2 lines
Diff to previous 1.233 (colored) to selected 1.267 (colored)

update a comment example

Revision 1.233 / (download) - annotate - [select for diffs], Wed Aug 27 08:22:20 2008 UTC (15 years, 7 months ago) by rtr
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored) to selected 1.267 (colored)

use ${X11USRLIBDIR} instead of hard-coded /usr/X11R6/lib when building
${LIB.foo} vars

Revision 1.232 / (download) - annotate - [select for diffs], Wed Aug 27 01:15:22 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.231: +6 -4 lines
Diff to previous 1.231 (colored) to selected 1.267 (colored)

Fix problem I introduced in rev 1.231 on 2008/08/25 where ${_PROGLDOPTS}
and -L${_GCC_LIBGCCDIR} were appearing in the link line before ${LDADD},
so -L${DESTDIR}/lib and -L${DESTDIR}/usr/lib were being used before
local -L library paths.
Fixes ntpd/ntpdate failure noticed by Valeriy E. Ushakov <uwe@NetBSD.org>

Revision 1.231 / (download) - annotate - [select for diffs], Mon Aug 25 08:03:14 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.230: +17 -15 lines
Diff to previous 1.230 (colored) to selected 1.267 (colored)

Always link with:  -Wl,-rpath-link,${DESTDIR}/usr/lib -L${DESTDIR}/usr/lib
Fixes problem with MKDYNAMICROOT=no triggered by libraries that depend
on other libraries.
Related to PR 33503.

Clean up setting of _CCLINK to always add the appropriate -B options.

Simplify the link rule for a program.

Revision 1.230 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:41 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.229: +7 -3 lines
Diff to previous 1.229 (colored) to selected 1.267 (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.229 / (download) - annotate - [select for diffs], Wed May 28 11:23:26 2008 UTC (15 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.228: +2 -2 lines
Diff to previous 1.228 (colored) to selected 1.267 (colored)

add LIBLDAR_R (for completeness)

Revision 1.228 / (download) - annotate - [select for diffs], Thu May 22 13:40:30 2008 UTC (15 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.227: +2 -2 lines
Diff to previous 1.227 (colored) to selected 1.267 (colored)

Add MKLDAP, USE_LDAP, LIBLBER, LIBLDAP

Revision 1.227 / (download) - annotate - [select for diffs], Thu Apr 10 13:52:45 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.226: +3 -3 lines
Diff to previous 1.226 (colored) to selected 1.267 (colored)

Add libhx509 to PAM_STATIC_LDADD which is required by libkrb5.

Revision 1.226 / (download) - annotate - [select for diffs], Sat Mar 22 08:37:27 2008 UTC (16 years ago) by mlelstv
Branch: MAIN
Branch point for: mjf-devfs2
Changes since 1.225: +2 -2 lines
Diff to previous 1.225 (colored) to selected 1.267 (colored)

Import Heimdal-1.1

Revision 1.225 / (download) - annotate - [select for diffs], Wed Dec 26 22:52:10 2007 UTC (16 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Changes since 1.224: +8 -1 lines
Diff to previous 1.224 (colored) to selected 1.267 (colored)

Make the clean target work when OBJS is set but PROG is not, as happens
for example in gnu/lib/crtstuff4.  Reported by drochner@.

Revision 1.224 / (download) - annotate - [select for diffs], Tue Nov 13 13:57:53 2007 UTC (16 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.223: +2 -2 lines
Diff to previous 1.223 (colored) to selected 1.267 (colored)

Fix typo that prevented MKDEBUG builds to work.  Found by drochner@.

Revision 1.223 / (download) - annotate - [select for diffs], Mon Nov 12 15:04:35 2007 UTC (16 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.222: +219 -139 lines
Diff to previous 1.222 (colored) to selected 1.267 (colored)

Add the ability to build multiple programs from a single directory

This adds support for a new set of variables, PROGS and PROGS_CXX, that
allow the developer to build multiple different programs from a single
source directory.

Revision 1.222 / (download) - annotate - [select for diffs], Sun Nov 4 23:28:20 2007 UTC (16 years, 4 months ago) by tls
Branch: MAIN
Changes since 1.221: +2 -2 lines
Diff to previous 1.221 (colored) to selected 1.267 (colored)

Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.

Revision 1.221 / (download) - annotate - [select for diffs], Sun Jul 29 17:06:02 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-mips64, matt-armv6
Changes since 1.220: +3 -3 lines
Diff to previous 1.220 (colored) to selected 1.267 (colored)

Add build glue for libarchive and update the various sets.

Revision 1.220 / (download) - annotate - [select for diffs], Thu Jan 25 23:04:28 2007 UTC (17 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.219: +5 -5 lines
Diff to previous 1.219 (colored) to selected 1.267 (colored)

Before I completely forget the issue, convert "PROG_PAX" to the
better-named "PAXCTL_FLAGS".

Revision 1.219 / (download) - annotate - [select for diffs], Sat Nov 11 06:15:55 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.218: +2 -2 lines
Diff to previous 1.218 (colored) to selected 1.267 (colored)

don't run paxctl if other commands were specified for that target.

Revision 1.218 / (download) - annotate - [select for diffs], Fri Nov 10 17:13:15 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.217: +8 -1 lines
Diff to previous 1.217 (colored) to selected 1.267 (colored)

if ${PROG_PAX} is defined, run paxctl on the binary after linking with
the value of the variable. This way, if you set:

    PROG_PAX=+M

in /etc/mk.conf, you get what you deserve.

Revision 1.217 / (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.216: +2 -2 lines
Diff to previous 1.216 (colored) to selected 1.267 (colored)

libpuffs

Revision 1.216 / (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.215: +7 -6 lines
Diff to previous 1.215 (colored) to selected 1.267 (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.215 / (download) - annotate - [select for diffs], Sun Jul 23 11:41:27 2006 UTC (17 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.214: +46 -15 lines
Diff to previous 1.214 (colored) to selected 1.267 (colored)

Implement MKDEBUG:
	If "no", don't build and install separate debugging symbols
	into /usr/libdata/debug.
	Default: no

Revision 1.214 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:44 2006 UTC (17 years, 9 months ago) by gdamore
Branch: MAIN
Changes since 1.213: +3 -3 lines
Diff to previous 1.213 (colored) to selected 1.267 (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.213 / (download) - annotate - [select for diffs], Fri Jun 9 19:16:36 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.212: +5 -5 lines
Diff to previous 1.212 (colored) to selected 1.267 (colored)

PR/33681: Scott Ellis: Building 'bc' with SHAREDSTRINGS=yes fails
We need CPPFLAGS too now.

Revision 1.212 / (download) - annotate - [select for diffs], Thu May 11 23:47:34 2006 UTC (17 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.211: +3 -1 lines
Diff to previous 1.211 (colored) to selected 1.267 (colored)

add support for ${OBJCOPTS} and ${OBJCOPTS}.<lib|prog|fn>.

Revision 1.211 / (download) - annotate - [select for diffs], Mon Mar 20 21:48:43 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.210: +2 -2 lines
Diff to previous 1.210 (colored) to selected 1.267 (colored)

There is always one more KRB4 thing to remove. (from Jukka Salmi)

Revision 1.210 / (download) - annotate - [select for diffs], Mon Mar 20 21:27:31 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.209: +3 -3 lines
Diff to previous 1.209 (colored) to selected 1.267 (colored)

Remove krb4 variables and libraries (Jukka Salmi)

Revision 1.209 / (download) - annotate - [select for diffs], Thu Mar 16 18:43:34 2006 UTC (18 years ago) by jwise
Branch: MAIN
Changes since 1.208: +3 -3 lines
Diff to previous 1.208 (colored) to selected 1.267 (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.208 / (download) - annotate - [select for diffs], Fri Jan 20 16:54:11 2006 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.207: +16 -3 lines
Diff to previous 1.207 (colored) to selected 1.267 (colored)

Add the world of libraries to the static pam build. Now static pam binaries
work.

Revision 1.207 / (download) - annotate - [select for diffs], Sat Apr 9 13:00:53 2005 UTC (18 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.206: +2 -1 lines
Diff to previous 1.206 (colored) to selected 1.267 (colored)

Report when we link a program into xxx.ro (before being crunched)

Revision 1.206 / (download) - annotate - [select for diffs], Fri Mar 4 20:41:08 2005 UTC (19 years ago) by he
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Branch point for: netbsd-3-0, netbsd-3
Changes since 1.205: +10 -1 lines
Diff to previous 1.205 (colored) to selected 1.267 (colored)

Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD.  When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications.  The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.

Revision 1.205 / (download) - annotate - [select for diffs], Sun Feb 20 00:35:02 2005 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.204: +2 -2 lines
Diff to previous 1.204 (colored) to selected 1.267 (colored)

Add libradius

Revision 1.204 / (download) - annotate - [select for diffs], Wed Jan 12 00:32:59 2005 UTC (19 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.203: +5 -1 lines
Diff to previous 1.203 (colored) to selected 1.267 (colored)

If RESCUEDIR is defined, automatically add that to CPPFLAGS

Revision 1.203 / (download) - annotate - [select for diffs], Sat Jan 8 09:53:38 2005 UTC (19 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.202: +8 -7 lines
Diff to previous 1.202 (colored) to selected 1.267 (colored)

Implement <bsd.prog.mk> vars:
	LIBASN1 LIBBSDMALLOC LIBG2C LIBPAM LIBSSH

Revision 1.202 / (download) - annotate - [select for diffs], Wed Aug 4 05:32:47 2004 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.201: +39 -1 lines
Diff to previous 1.201 (colored) to selected 1.267 (colored)

Revert most of previous, and move the LIB<libname>?= assignments
back to bsd.prog.mk from bsd.own.mk.

pkgsrc uses <bsd.own.mk>, and setting LIB<libname> in it causes
problems with various package builds.
This should fix PR #26542 submitted by Jim Bernard.

(I'll be implementing the DPADD for shared libraries in a different
manner that generally won't depend upon ${LIB<libname>}.)

Revision 1.201 / (download) - annotate - [select for diffs], Fri Jul 30 04:18:48 2004 UTC (19 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.200: +1 -46 lines
Diff to previous 1.200 (colored) to selected 1.267 (colored)

Move the LIB<libname>?= assignments from bsd.prog.mk to bsd.own.mk so
that they may be used by non PROGs (e.g., LIBs).

Improve some comments.

Revision 1.200 / (download) - annotate - [select for diffs], Thu Jun 10 00:29:59 2004 UTC (19 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.199: +6 -6 lines
Diff to previous 1.199 (colored) to selected 1.267 (colored)

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

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

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

Add LIBMAGIC.

Revision 1.198 / (download) - annotate - [select for diffs], Sun Feb 15 19:52:27 2004 UTC (20 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.197: +6 -2 lines
Diff to previous 1.197 (colored) to selected 1.267 (colored)

Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.

Revision 1.197 / (download) - annotate - [select for diffs], Thu Jan 29 01:48:45 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.196: +6 -5 lines
Diff to previous 1.196 (colored) to selected 1.267 (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.196 / (download) - annotate - [select for diffs], Tue Jan 27 03:31:48 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.195: +2 -2 lines
Diff to previous 1.195 (colored) to selected 1.267 (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.195 / (download) - annotate - [select for diffs], Fri Jan 23 05:09:58 2004 UTC (20 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.194: +1 -4 lines
Diff to previous 1.194 (colored) to selected 1.267 (colored)

crt0.o lives in /usr/lib even on a.out.

Revision 1.194 / (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.193: +2 -2 lines
Diff to previous 1.193 (colored) to selected 1.267 (colored)

simplify with _MKTARGET_LINK

Revision 1.193 / (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.192: +2 -9 lines
Diff to previous 1.192 (colored) to selected 1.267 (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.192 / (download) - annotate - [select for diffs], Tue Oct 21 10:01:22 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.191: +4 -17 lines
Diff to previous 1.191 (colored) to selected 1.267 (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.191 / (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.190: +4 -4 lines
Diff to previous 1.190 (colored) to selected 1.267 (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.190 / (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.189: +17 -1 lines
Diff to previous 1.189 (colored) to selected 1.267 (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.189 / (download) - annotate - [select for diffs], Mon Sep 29 01:06:37 2003 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.188: +7 -2 lines
Diff to previous 1.188 (colored) to selected 1.267 (colored)

Add LIBSTDCXX (for usr/lib/libstdc++.a).
Sync LIB* documentation with reality.

Revision 1.188 / (download) - annotate - [select for diffs], Fri Sep 19 16:32:10 2003 UTC (20 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.187: +1 -4 lines
Diff to previous 1.187 (colored) to selected 1.267 (colored)

Drop explicit medlow model and default to -O2 for sparc64.

Revision 1.187 / (download) - annotate - [select for diffs], Sun Sep 14 22:36:55 2003 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.186: +3 -3 lines
Diff to previous 1.186 (colored) to selected 1.267 (colored)

Check ${SHLIBDIR} against "/usr/lib" instead of ${LIBDIR} when determining
if we need to add stuff (usually "/lib") to the rpath-link path before
"/usr/lib".  Otherwise, this barfs if LIBDIR != /usr/lib or /lib, and
we're cross-building (e.g., in src/x11)

Revision 1.186 / (download) - annotate - [select for diffs], Sat Sep 13 03:44:21 2003 UTC (20 years, 6 months ago) by erh
Branch: MAIN
Changes since 1.185: +4 -2 lines
Diff to previous 1.185 (colored) to selected 1.267 (colored)

Also support per-program LDFLAGS and LDSTATIC.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Sep 13 02:52:05 2003 UTC (20 years, 6 months ago) by erh
Branch: MAIN
Changes since 1.184: +11 -5 lines
Diff to previous 1.184 (colored) to selected 1.267 (colored)

Create a way to add additional flags to COPTS, CPPFLAGS, CXXFLAGS and LDADD
for particular libraries or programs by specifying the additions in mk.conf
instead of needing to go edit individual Makefiles.

Revision 1.184 / (download) - annotate - [select for diffs], Fri Sep 12 07:44:11 2003 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.183: +21 -2 lines
Diff to previous 1.183 (colored) to selected 1.267 (colored)

add infrastructure to support reach-over builds of xsrc

Revision 1.183 / (download) - annotate - [select for diffs], Fri Aug 22 19:17:00 2003 UTC (20 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.182: +4 -1 lines
Diff to previous 1.182 (colored) to selected 1.267 (colored)

Add a ${PROG}.ro target that does an 'ld -r' of the program object files.
Allows a much simplified build of 'crunched' binaries since crunchgen can
build prog.ro instead of having to deretmine the names of all the .o files.

Revision 1.182 / (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.181: +7 -3 lines
Diff to previous 1.181 (colored) to selected 1.267 (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.181 / (download) - annotate - [select for diffs], Fri Aug 1 13:08:35 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.180: +4 -10 lines
Diff to previous 1.180 (colored) to selected 1.267 (colored)

simplify the ${PROG}: target to reduce duplication between the DESTDIR
and !DESTDIR cases...

Revision 1.180 / (download) - annotate - [select for diffs], Thu Jul 31 13:47:32 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.179: +2 -2 lines
Diff to previous 1.179 (colored) to selected 1.267 (colored)

bsd.dep.mk:  add a dependency for *.d on ${SRCS} ${DPSRCS}.  this should fix
some build problems where DPSRCS contains .h files that need to exist to
build the .d file.

document that bsd.dep.mk should be included after anything that might
update SRCS or DPSRCS so that the above works correctly, and actually
ensure this is the case.

Revision 1.179 / (download) - annotate - [select for diffs], Thu Jul 31 06:31:38 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored) to selected 1.267 (colored)

Don't need -R/usr/lib; it will be searched at the end by ld.elf_so anyway.
Noted by matt green <mrg@>

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

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

Revision 1.177 / (download) - annotate - [select for diffs], Mon Jul 28 08:53:55 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored) to selected 1.267 (colored)

replace  MKCXXSUPCXX(!=no)  with  USE_LIBSTDCXX(==no)

Revision 1.176 / (download) - annotate - [select for diffs], Mon Jul 28 07:03:44 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored) to selected 1.267 (colored)

Change  defined(CXX_SUPCXX)  to  MKCXXSUPCXX != "no".

Clarify that command-line overrides of the MKxxx variables should be
done via the environment rather than make(1) command-line variable
assignment, since the latter doesn't actually work as intended.

Revision 1.175 / (download) - annotate - [select for diffs], Sun Jul 27 14:49:23 2003 UTC (20 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.174: +2 -2 lines
Diff to previous 1.174 (colored) to selected 1.267 (colored)

introduce a new $CPPFLAG_ISYSTEMXX that is used to reference c++ system
includes.  for GCC3, set this to -I instead of -isystem.

XXX this should really be either not required or a -isystem-cxx, but for
now this is required to build libstdc++-v3, which otherwise complains
heavily about STL headers not being C code(!)

Revision 1.174 / (download) - annotate - [select for diffs], Sat Jul 26 14:58:11 2003 UTC (20 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.173: +5 -1 lines
Diff to previous 1.173 (colored) to selected 1.267 (colored)

add a new bsd.own.mk variable: CXX_SUPCXX.  from bsd.README:
+ CXX_SUPCXX    If defined, the support libraries needed for this C++ program
+               are set to `-lsupc++ -lm', rather than `-lstdc++ -lm'.

Revision 1.173 / (download) - annotate - [select for diffs], Sun Jul 20 17:01:58 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.172: +2 -8 lines
Diff to previous 1.172 (colored) to selected 1.267 (colored)

Consistently support the different C++ file extensions: .cc .cpp .cxx .C
Noted by Andrew White in PR toolchain/18246

Revision 1.172 / (download) - annotate - [select for diffs], Fri Jul 18 08:26:10 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored) to selected 1.267 (colored)

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.

Revision 1.171 / (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.170: +2 -2 lines
Diff to previous 1.170 (colored) to selected 1.267 (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.170 / (download) - annotate - [select for diffs], Fri Jun 27 17:30:16 2003 UTC (20 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored) to selected 1.267 (colored)

For consistency, use "-R" instead of "-Wl,-rpath" to pass
a runtime search path to the linker.

Revision 1.169 / (download) - annotate - [select for diffs], Fri Jun 13 04:04:18 2003 UTC (20 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored) to selected 1.267 (colored)

define LIBEVENT

Revision 1.168 / (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.167: +2 -2 lines
Diff to previous 1.167 (colored) to selected 1.267 (colored)

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

Revision 1.167 / (download) - annotate - [select for diffs], Sat May 31 20:33:16 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.166: +5 -9 lines
Diff to previous 1.166 (colored) to selected 1.267 (colored)

If EXTERNAL_TOOLCHAIN is defined, allow the compiler to define the
location of crt{begin,end}{,S}.o and libgcc.a.  Encapsulate all of
this logic into the new bsd.gcc.mk, and use it in bsd.prog.mk and
bsd.lib.mk.

Revision 1.166 / (download) - annotate - [select for diffs], Sun May 18 07:36:23 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.165: +5 -1 lines
Diff to previous 1.165 (colored) to selected 1.267 (colored)

make this a no-op if HOSTPROG is defined

Revision 1.165 / (download) - annotate - [select for diffs], Sun Mar 30 00:35:07 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.164: +6 -1 lines
Diff to previous 1.164 (colored) to selected 1.267 (colored)

If MACHINE_ARCH is powerpc and we HAVE_GCC3, add crtsaveres.o to the
endfile spec.

Revision 1.164 / (download) - annotate - [select for diffs], Sat Feb 22 04:46:08 2003 UTC (21 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored) to selected 1.267 (colored)

Typo in comment.

Revision 1.163 / (download) - annotate - [select for diffs], Fri Jan 24 02:06:37 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 (colored) to selected 1.267 (colored)

Add LIBPTHREAD, LIBPTHREAD_DB, and LIBRT.

Revision 1.162 / (download) - annotate - [select for diffs], Fri Nov 22 06:44:57 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.161: +4 -4 lines
Diff to previous 1.161 (colored) to selected 1.267 (colored)

Split crtbegin/crtend into crti/crtbegin/crtend/crtn.  NetBSD-specific
things like the .note.netbsd.ident section are provided by crti/crtn.
crti/crtn also provide the _init() and _fini() routines.

crtbegin/crtend now only provide support for ctors/dtors.  This paves
the way to using the "crtstuff" provided with GCC (when we upgrade to
GCC 3.3), which provides, among other things, much better C++/Java
exception handling.

Revision 1.161 / (download) - annotate - [select for diffs], Tue Nov 12 14:33:49 2002 UTC (21 years, 4 months ago) by itohy
Branch: MAIN
Changes since 1.160: +6 -1 lines
Diff to previous 1.160 (colored) to selected 1.267 (colored)

MKDYNAMICROOT for a.out

Revision 1.160 / (download) - annotate - [select for diffs], Tue Oct 22 18:48:29 2002 UTC (21 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.159: +3 -3 lines
Diff to previous 1.159 (colored) to selected 1.267 (colored)

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

Revision 1.159 / (download) - annotate - [select for diffs], Fri Sep 27 21:37:58 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.158: +5 -1 lines
Diff to previous 1.158 (colored) to selected 1.267 (colored)

Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.

The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.

This is done by decoupling where a shlib is installed from how it
is located.  Two new variables, SHLIBINSTALLDIR and SHLINKINSTALLDIR,
contain the former information, and key off MKDYNAMICROOT only.  SHLIBDIR
and SHLINKDIR contain the latter, and key off MKDYNAMICROOT and BINDIR.

The SHLIBINSTALLDIR, SHLIBDIR, _LIBSODIR, SHLINKINSTALLDIR, and
SHLINKDIR parameters are moved to a new <bsd.shlib.mk>; see bsd.README
for usage details.

Revision 1.158 / (download) - annotate - [select for diffs], Thu Sep 26 13:05:56 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.157: +3 -2 lines
Diff to previous 1.157 (colored) to selected 1.267 (colored)

MDC2 is a patented algorithm; don't ship it in default libcrypto.
MKCRYPTO_MDC2 will build a separate library, libcrypto_mdc2.

Revision 1.157 / (download) - annotate - [select for diffs], Sun Sep 8 03:59:02 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.156: +15 -4 lines
Diff to previous 1.156 (colored) to selected 1.267 (colored)

Build a .gdbinit in the objdir when building a program.  The .gdbinit
file sets the shared library prefix to ${DESTDIR}, and adds "sources"
directives for each file listed in the GDBINIT Makefile variable.

Revision 1.156 / (download) - annotate - [select for diffs], Fri Aug 9 00:21:22 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.155: +3 -3 lines
Diff to previous 1.155 (colored) to selected 1.267 (colored)

Add LIBPMC.

Revision 1.155 / (download) - annotate - [select for diffs], Wed Mar 27 05:40:54 2002 UTC (22 years ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.154: +4 -1 lines
Diff to previous 1.154 (colored) to selected 1.267 (colored)

Use the medium low model for sparc64 programs that don't 2GB of data segment.

Revision 1.154 / (download) - annotate - [select for diffs], Mon Feb 11 21:15:01 2002 UTC (22 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.153: +17 -9 lines
Diff to previous 1.153 (colored) to selected 1.267 (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.153 / (download) - annotate - [select for diffs], Thu Feb 7 07:43:24 2002 UTC (22 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.152: +29 -110 lines
Diff to previous 1.152 (colored) to selected 1.267 (colored)

Mark installed system libraries as .MADE only if we're actually establishing
their default variable values here.

Revision 1.152 / (download) - annotate - [select for diffs], Mon Feb 4 17:25:44 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.151: +57 -57 lines
Diff to previous 1.151 (colored) to selected 1.267 (colored)

s/.NOSUFF/.MADE/

Revision 1.151 / (download) - annotate - [select for diffs], Sun Feb 3 21:40:14 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.150: +57 -1 lines
Diff to previous 1.150 (colored) to selected 1.267 (colored)

Apply a .NOSUFF: directive to targets we don't want to have processed by
the suffix rules engine.

Revision 1.150 / (download) - annotate - [select for diffs], Sat Feb 2 16:54:26 2002 UTC (22 years, 1 month ago) by veego
Branch: MAIN
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored) to selected 1.267 (colored)

Ups, it is LIBUSBHID and not LIBUSBHIB.

Revision 1.149 / (download) - annotate - [select for diffs], Sat Feb 2 16:49:52 2002 UTC (22 years, 1 month ago) by veego
Branch: MAIN
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored) to selected 1.267 (colored)

Change LIBUSB to LIBUSBHIB, reflecting the library name change.

Revision 1.148 / (download) - annotate - [select for diffs], Tue Jan 29 03:09:54 2002 UTC (22 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (colored) to selected 1.267 (colored)

Mark the targets clean{extra,objs} as PHONY.

Revision 1.147 / (download) - annotate - [select for diffs], Fri Jan 4 19:07:19 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.146: +1 -3 lines
Diff to previous 1.146 (colored) to selected 1.267 (colored)

For PROG_CXX DESTDIR builds, pull in -lstdc++ and -lm regardless
of GCC version.

Revision 1.146 / (download) - annotate - [select for diffs], Tue Jan 1 01:38:25 2002 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.145: +8 -1 lines
Diff to previous 1.145 (colored) to selected 1.267 (colored)

Per a suggestion from matthew green, PROG_CXX takes the place of
PROG for C++ programs.

Revision 1.145 / (download) - annotate - [select for diffs], Tue Jan 1 00:27:06 2002 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.144: +12 -3 lines
Diff to previous 1.144 (colored) to selected 1.267 (colored)

* If PROG_CXX is set by the program's Makefile, use ${CXX} to link
  the program rather than ${CC}.
* If HAVE_GCC3 is defined, pull in "-lstdc++ -lm" as additional C++
  support libraries for DESTDIR builds.

Revision 1.144 / (download) - annotate - [select for diffs], Fri Dec 28 01:32:41 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.143: +15 -3 lines
Diff to previous 1.143 (colored) to selected 1.267 (colored)

* Add user-controlled mk.conf variables
	- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed

Revision 1.143 / (download) - annotate - [select for diffs], Wed Nov 28 04:38:29 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.142: +2 -1 lines
Diff to previous 1.142 (colored) to selected 1.267 (colored)

If DESTDIR is set, do a similar nostdinc dance for the standard C++ include
directory.

Revision 1.142 / (download) - annotate - [select for diffs], Mon Nov 19 02:46:50 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored) to selected 1.267 (colored)

Use a little transitional hack to determine if we use -isystem
or -idirafter.  Use the former only of USE_NEW_TOOLCHAIN, since
-isystem causes the old toolchain to bomb out when building
libstdc++.

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

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

Revision 1.140 / (download) - annotate - [select for diffs], Wed Nov 14 21:49:53 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.139: +2 -1 lines
Diff to previous 1.139 (colored) to selected 1.267 (colored)

Move the DESTDIR-based nostdinc logic to bsd.lib.mk and bsd.prog.mk where
it belongs (with the native target compile rules).

Revision 1.139 / (download) - annotate - [select for diffs], Fri Nov 2 18:10:00 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.138: +4 -4 lines
Diff to previous 1.138 (colored) to selected 1.267 (colored)

Use INSTALL_FILE/INSTALL_DIR as appropriate.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Nov 2 05:21:51 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.137: +7 -13 lines
Diff to previous 1.137 (colored) to selected 1.267 (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.137 / (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.136: +5 -7 lines
Diff to previous 1.136 (colored) to selected 1.267 (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.136 / (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.135: +2 -2 lines
Diff to previous 1.135 (colored) to selected 1.267 (colored)

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

Revision 1.135 / (download) - annotate - [select for diffs], Mon Sep 24 09:18:05 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.134: +5 -1 lines
Diff to previous 1.134 (colored) to selected 1.267 (colored)

fix previous (hi thor!) - $OBJS and $CLEANFILES might be empty, and
rm needs some files to delete...

Revision 1.134 / (download) - annotate - [select for diffs], Mon Sep 24 01:04:32 2001 UTC (22 years, 6 months ago) by tls
Branch: MAIN
Changes since 1.133: +8 -3 lines
Diff to previous 1.133 (colored) to selected 1.267 (colored)

Split "cleanprog" target apart: now you can zap only object files or
CLEANFILES (needed to fix crunchgen lossage).

Revision 1.133 / (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.132: +2 -1 lines
Diff to previous 1.132 (colored) to selected 1.267 (colored)

Add LIBPCI.

Revision 1.132 / (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.131: +2 -2 lines
Diff to previous 1.131 (colored) to selected 1.267 (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.131 / (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.130: +2 -2 lines
Diff to previous 1.130 (colored) to selected 1.267 (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.130 / (download) - annotate - [select for diffs], Tue May 8 03:19:52 2001 UTC (22 years, 10 months ago) by sommerfeld
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored) to selected 1.267 (colored)

Suppress duplicate entries in ALLFILES, FILES, INCS, DEPINCS, INFOFILES,
NLSALL, CATPAGES, MANPAGES, HTMLPAGES, and SCRIPTS.

Revision 1.129 / (download) - annotate - [select for diffs], Mon Feb 19 07:56:14 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored) to selected 1.267 (colored)

Wrap target() checks around afterdepend rule as some Makefiles override this

Revision 1.128 / (download) - annotate - [select for diffs], Fri Jan 26 09:42:49 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored) to selected 1.267 (colored)

fix typo in LIBSSL decl. it made programs with DPADD+=${LIBSSL} to build
every time we type "make".  From: bernd

Revision 1.127 / (download) - annotate - [select for diffs], Sun Jan 14 20:49:36 2001 UTC (23 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.126: +3 -6 lines
Diff to previous 1.126 (colored) to selected 1.267 (colored)

use the new .if commands(<target>) directive so that we don't have to
change Makefiles.

Revision 1.126 / (download) - annotate - [select for diffs], Sun Jan 14 09:53:57 2001 UTC (23 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.125: +6 -3 lines
Diff to previous 1.125 (colored) to selected 1.267 (colored)

fix thinko: test for the existance of the target before we define it...

Revision 1.125 / (download) - annotate - [select for diffs], Sun Jan 14 09:40:35 2001 UTC (23 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.124: +5 -3 lines
Diff to previous 1.124 (colored) to selected 1.267 (colored)

Alter previous redefined target protection. If the ${PROG} target is defined,
add the dependencies as usual, but don't add the commands. This avoids
having to change all the Makefiles that redefine the PROG target.

Revision 1.124 / (download) - annotate - [select for diffs], Sun Jan 14 06:17:27 2001 UTC (23 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored) to selected 1.267 (colored)

allow programs to override the program target.

Revision 1.123 / (download) - annotate - [select for diffs], Mon Jan 8 07:41:10 2001 UTC (23 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.122: +3 -1 lines
Diff to previous 1.122 (colored) to selected 1.267 (colored)

add missing $LIBCRYPTO_RC5 and $LIBCRYPTO_IDEA

Revision 1.122 / (download) - annotate - [select for diffs], Mon Jan 8 07:36:10 2001 UTC (23 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.121: +2 -1 lines
Diff to previous 1.121 (colored) to selected 1.267 (colored)

add missing $LIBSSL

Revision 1.121 / (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.120: +3 -1 lines
Diff to previous 1.120 (colored) to selected 1.267 (colored)

Add LIBCDK and LIBFORM definitions

Revision 1.120 / (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.119: +2 -1 lines
Diff to previous 1.119 (colored) to selected 1.267 (colored)

add ${LIBINTL} for use with DPADD.

Revision 1.119 / (download) - annotate - [select for diffs], Sat Oct 7 20:26:36 2000 UTC (23 years, 5 months ago) by deberg
Branch: MAIN
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) to selected 1.267 (colored)

fix typos, PR 11159

Revision 1.118 / (download) - annotate - [select for diffs], Sun Jun 25 05:07:22 2000 UTC (23 years, 9 months ago) by erh
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.267 (colored)

For the case when DESTDIR is set: move the -L${DESTDIR}/usr/lib after ${LDADD} so any -L directories set in LDADD are searched first to avoid possibly linking against old versions of libraries.

Revision 1.117 / (download) - annotate - [select for diffs], Mon Jun 19 19:00:14 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.116: +18 -6 lines
Diff to previous 1.116 (colored) to selected 1.267 (colored)

Sync up the LIB* list.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jun 10 14:12:04 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.115: +4 -4 lines
Diff to previous 1.115 (colored) to selected 1.267 (colored)

Use ${.ALLSRC:T} when doing the generated variable name lookups, so that it
DTRT for generated files in and obj directory (or accessed via .PATH).

Revision 1.115 / (download) - annotate - [select for diffs], Tue Jun 6 09:53:30 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.114: +14 -10 lines
Diff to previous 1.114 (colored) to selected 1.267 (colored)

Abuse .USE some more.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Jun 6 09:22:02 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.113: +6 -5 lines
Diff to previous 1.113 (colored) to selected 1.267 (colored)

Minor rearrangement.

Revision 1.113 / (download) - annotate - [select for diffs], Tue Jun 6 05:40:47 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.112: +12 -19 lines
Diff to previous 1.112 (colored) to selected 1.267 (colored)

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.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Apr 14 03:36:13 2000 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored) to selected 1.267 (colored)

use -rpath-link rather than -R when linking objects using a DESTDIR.
this replaces the previous change as that ended up adding
$DESTDIR/usr/lib to the runtime path of every binary created, which
is bogus and dangerous.

Revision 1.111 / (download) - annotate - [select for diffs], Sat Mar 25 23:15:13 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.267 (colored)

When linking with $DESTDIR, use an explicit -R to get library dependencies
correct.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Mar 7 20:55:05 2000 UTC (24 years ago) by veego
Branch: MAIN
Changes since 1.109: +1 -2 lines
Diff to previous 1.109 (colored) to selected 1.267 (colored)

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

Revision 1.109 / (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.108: +2 -1 lines
Diff to previous 1.108 (colored) to selected 1.267 (colored)

Add libahdi entries.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Jan 23 19:38:53 2000 UTC (24 years, 2 months ago) by eeh
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored) to selected 1.267 (colored)

Add some support for FCode binaries.

Revision 1.107 / (download) - annotate - [select for diffs], Sat Jan 22 19:31:02 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored) to selected 1.267 (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.106 / (download) - annotate - [select for diffs], Sun Jan 16 03:34:27 2000 UTC (24 years, 2 months ago) by assar
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.267 (colored)

all: depend on ${SCRIPTS} so that they get generated if they need to

Revision 1.105 / (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.104: +2 -1 lines
Diff to previous 1.104 (colored) to selected 1.267 (colored)

Added libmenu library.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Sep 14 01:31:11 1999 UTC (24 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.103: +2 -1 lines
Diff to previous 1.103 (colored) to selected 1.267 (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.103 / (download) - annotate - [select for diffs], Sat Sep 4 21:48:33 1999 UTC (24 years, 6 months ago) by fredb
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) to selected 1.267 (colored)

Permit "make all install", as well as "make foo install" (where foo would be
installed by "make install") without setting of BUILD. All cases where BUILD
is already set are unchanged from the old behavior.

"make all install" is now practically equivalent to "make BUILD= all install",
but without actually setting build.

Fixes pr's 8313, 3894.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Aug 21 06:17:46 1999 UTC (24 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.101: +6 -5 lines
Diff to previous 1.101 (colored) to selected 1.267 (colored)

Add ${INSTPRIV} to ${INSTALL} commands.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Jul 1 20:19:18 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
Branch point for: mortalinstall
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored) to selected 1.267 (colored)

add LIBIPSEC for use from DPADD.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Feb 12 01:10:08 1999 UTC (25 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored) to selected 1.267 (colored)

* Add support for MKDOC MKLINKLIB MKLINT MKMAN MKNLS MKOBJ MKPIC MKPICINSTALL
  MKPROFILE MKSHARE, which default to `yes' unless an equivalent NOxxx
  variable is defined.
* Add MKCATPAGES, which if "no" prevents catpages from being built or installed

Users should use "MKxxx=no" instead of "NOxxx=" in /etc/mk.conf, because
this allows easy override on the make(1) command line (e.g 'make MKSHARE=yes'
to override MKSHARE=no in /etc/mk.conf).

Revision 1.99 / (download) - annotate - [select for diffs], Wed Feb 10 20:55:56 1999 UTC (25 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.98: +1 -2 lines
Diff to previous 1.98 (colored) to selected 1.267 (colored)

libbfd_pic.a is no longer installed; remove ${LIBBFD} define.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Feb 4 11:58:31 1999 UTC (25 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.97: +4 -4 lines
Diff to previous 1.97 (colored) to selected 1.267 (colored)

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.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Nov 7 07:10:19 1998 UTC (25 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.96: +2 -3 lines
Diff to previous 1.96 (colored) to selected 1.267 (colored)

Do DESTDIR support for crtbegin/crtend on all ELF ports (adds mips).

Revision 1.96 / (download) - annotate - [select for diffs], Mon Sep 28 08:13:39 1998 UTC (25 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored) to selected 1.267 (colored)

Use preserve flag in install.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Sep 10 00:40:33 1998 UTC (25 years, 6 months ago) by ross
Branch: MAIN
Changes since 1.94: +3 -1 lines
Diff to previous 1.94 (colored) to selected 1.267 (colored)

Define a LIBBZ2?=... for use in DPADD=... lines.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Aug 9 14:46:20 1998 UTC (25 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.267 (colored)

add distclean as a synonym for cleandir

Revision 1.93 / (download) - annotate - [select for diffs], Thu Apr 9 00:32:36 1998 UTC (25 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.92: +4 -1 lines
Diff to previous 1.92 (colored) to selected 1.267 (colored)

.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Apr 1 16:58:33 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored) to selected 1.267 (colored)

Revert.  This broke too much in the build tree, and a better solution
needs to be created.  (The existing situation breaks a lot too.)

Revision 1.91 / (download) - annotate - [select for diffs], Wed Apr 1 15:23:36 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.267 (colored)

Fix .y rules to DTRT with possibly generated .h files.  See mail on
tech-toolchain for a very detailed explanation of this.  In short, add
a .y.h rule identical to the .y.c rule and make the .y.c rule rename
the .h file; also, clean the .h file in CLEANFILES.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Nov 3 22:51:28 1997 UTC (26 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.267 (colored)

echo the lint command line when making 'lint'.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Oct 28 12:46:30 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored) to selected 1.267 (colored)

add ${LIBOBJC}

Revision 1.88 / (download) - annotate - [select for diffs], Sat Oct 11 08:16:28 1997 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.87: +9 -11 lines
Diff to previous 1.87 (colored) to selected 1.267 (colored)

Several changes:
* Allow bsd.man.mk to be included separately.
* Always include bsd.own.mk and bsd.obj.mk.
* Include bsd.man.mk and bsd.nls.mk even if NOMAN or NONLS; just turn off
building of the affected files instead.
* Require bsd.subdir.mk to be included explicitly.
(Will make appropriate changes to Makefiles shortly.)

Revision 1.87 / (download) - annotate - [select for diffs], Mon Sep 29 15:02:49 1997 UTC (26 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored) to selected 1.267 (colored)

Add $LIBBFD

Revision 1.86 / (download) - annotate - [select for diffs], Sat May 31 21:21:59 1997 UTC (26 years, 10 months ago) by cjs
Branch: MAIN
Changes since 1.85: +39 -38 lines
Diff to previous 1.85 (colored) to selected 1.267 (colored)

Back out BUILDDIR and NOINSTALL changes.

Revision 1.85 / (download) - annotate - [select for diffs], Mon May 26 03:58:41 1997 UTC (26 years, 10 months ago) by cjs
Branch: MAIN
Branch point for: cjs-build-against-obj-dir
Changes since 1.84: +38 -39 lines
Diff to previous 1.84 (colored) to selected 1.267 (colored)

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.

Revision 1.84 / (download) - annotate - [select for diffs], Sun May 18 20:21:54 1997 UTC (26 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.83: +2 -1 lines
Diff to previous 1.83 (colored) to selected 1.267 (colored)

Add libposix.

Revision 1.83 / (download) - annotate - [select for diffs], Sat May 17 16:43:33 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) to selected 1.267 (colored)

Do LINKS and SYMLINKS after FILES and INCS.

Revision 1.82 / (download) - annotate - [select for diffs], Sat May 17 02:01:09 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.81: +1 -3 lines
Diff to previous 1.81 (colored) to selected 1.267 (colored)

Remove unneeded .SUFFIXES lines, and move .s and .S closer to .o to give the
right preferences.

Revision 1.81 / (download) - annotate - [select for diffs], Fri May 9 13:40:38 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored) to selected 1.267 (colored)

Fix typo in previous.

Revision 1.80 / (download) - annotate - [select for diffs], Fri May 9 13:26:01 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.79: +12 -8 lines
Diff to previous 1.79 (colored) to selected 1.267 (colored)

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

Revision 1.79 / (download) - annotate - [select for diffs], Fri May 9 07:56:03 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.78: +2 -5 lines
Diff to previous 1.78 (colored) to selected 1.267 (colored)

Remove cruft.

Revision 1.78 / (download) - annotate - [select for diffs], Fri May 9 05:43:44 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.267 (colored)

Oops; rearrange dependencies to get things built early enough.

Revision 1.77 / (download) - annotate - [select for diffs], Fri May 9 05:17:31 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored) to selected 1.267 (colored)

Make sure INCS and SRCS are built if necessary.

Revision 1.76 / (download) - annotate - [select for diffs], Thu May 8 21:21:25 1997 UTC (26 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored) to selected 1.267 (colored)

Set the .NOPATH flag for ${OBJS}  (from Christos).

Revision 1.75 / (download) - annotate - [select for diffs], Wed May 7 17:06:28 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) to selected 1.267 (colored)

Don't use _SUBDIRUSE outside of bsd.subdir.mk.

Revision 1.74 / (download) - annotate - [select for diffs], Wed May 7 15:53:34 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.73: +15 -36 lines
Diff to previous 1.73 (colored) to selected 1.267 (colored)

Various simplifications.

Revision 1.73 / (download) - annotate - [select for diffs], Wed May 7 08:42:21 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.267 (colored)

Shuffle some .PHONYs around, to work better with `-t'.

Revision 1.72 / (download) - annotate - [select for diffs], Tue May 6 21:29:44 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.71: +3 -1 lines
Diff to previous 1.71 (colored) to selected 1.267 (colored)

Make most of the install targets .PRECIOUS.

Revision 1.71 / (download) - annotate - [select for diffs], Tue May 6 20:54:40 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.70: +4 -2 lines
Diff to previous 1.70 (colored) to selected 1.267 (colored)

Add a pile of missing .PHONYs.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Apr 18 14:30:25 1997 UTC (26 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored) to selected 1.267 (colored)

Add ${LIBNTP}

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 17 06:40:32 1997 UTC (26 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.68: +16 -6 lines
Diff to previous 1.68 (colored) to selected 1.267 (colored)

- Properly depend on crtbegin.o and crtend.o for platforms that use
  them (currently Alpha and PowerPC)
- STRIP -> STRIPFLAG

Revision 1.68 / (download) - annotate - [select for diffs], Thu Apr 3 06:53:18 1997 UTC (27 years ago) by mikel
Branch: MAIN
Changes since 1.67: +1 -3 lines
Diff to previous 1.67 (colored) to selected 1.267 (colored)

don't allow override of all: target

Revision 1.67 / (download) - annotate - [select for diffs], Sat Mar 29 08:02:53 1997 UTC (27 years ago) by mikel
Branch: MAIN
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored) to selected 1.267 (colored)

merge lite-2 changes (mostly SCCSids)

Revision 1.66 / (download) - annotate - [select for diffs], Thu Mar 27 17:33:37 1997 UTC (27 years ago) by christos
Branch: MAIN
Changes since 1.65: +4 -33 lines
Diff to previous 1.65 (colored) to selected 1.267 (colored)

Put the FILES generated rules in a separate .mk file since both bsd.prog.mk
and bsd.lib.mk use them.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Mar 27 11:05:32 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.64: +16 -7 lines
Diff to previous 1.64 (colored) to selected 1.267 (colored)

Make the SCRIPTS case mimic the FILES case more closely, so we can override
the destination direectory, etc.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Mar 27 09:10:10 1997 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.63: +1 -4 lines
Diff to previous 1.63 (colored) to selected 1.267 (colored)

Remove knowledge of HIDEGAME from here.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 24 21:54:20 1997 UTC (27 years ago) by christos
Branch: MAIN
Changes since 1.62: +77 -29 lines
Diff to previous 1.62 (colored) to selected 1.267 (colored)

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

Revision 1.62 / (download) - annotate - [select for diffs], Sat Mar 22 22:34:02 1997 UTC (27 years ago) by perry
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored) to selected 1.267 (colored)

Fix SYMLINKS not to include DESTDIR in the link itself

Revision 1.61 / (download) - annotate - [select for diffs], Thu Mar 13 02:46:00 1997 UTC (27 years ago) by perry
Branch: MAIN
Changes since 1.60: +13 -1 lines
Diff to previous 1.60 (colored) to selected 1.267 (colored)

add SYMLINKS, by analogy to LINKS. Vetted by Christos.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jan 22 01:34:13 1997 UTC (27 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.59: +6 -3 lines
Diff to previous 1.59 (colored) to selected 1.267 (colored)

if 'clean' is not already defined, rather than simply defining it with
a bunch of rules, define a clean{kmod,lib,prog} target with the rules,
and have both clean and cleandir depend on that.  That eliminates a bug
where 'cleandir' in a directory which included e.g. bsd.prog.mk but which
also had subdirs would 'make clean' all the subdirs and then 'make cleandir'
all ofthe subdirs.  It also allows Makefiles to add more dependencies
to 'clean' after inclusion of the make template.

If 'clean' is already defined, the behaviour is the same as it used to be.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Dec 20 16:39:03 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.58: +9 -1 lines
Diff to previous 1.58 (colored) to selected 1.267 (colored)

add an afterdepend target (a la the one in bsd.lib.mk) that processes
the .depend file to add <filename>.ln for each <filename>.o as an
object file which has the given dependencies (in addition to
<filename>.po and <filename>.so, which were already there).

Revision 1.58 / (download) - annotate - [select for diffs], Fri Dec 13 08:02:52 1996 UTC (27 years, 3 months ago) by mikel
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.267 (colored)

add missing LIBPCAP definition.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Nov 26 17:37:39 1996 UTC (27 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored) to selected 1.267 (colored)

add libz and libwrap

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 18 02:34:47 1996 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) to selected 1.267 (colored)

Use ${INSTALL} rather than "install".
From Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 8 21:19:26 1996 UTC (27 years, 11 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored) to selected 1.267 (colored)

Sort LIBFOO definitions and add LIBY; Reported by Mike Long <mike.long@analog.com> in PR #2301.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Oct 22 00:45:57 1995 UTC (28 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored) to selected 1.267 (colored)

Added include file <bsd.sys.mk> that contains lex and yacc "parallel aware"
rules. These rules are not turned on by default; they are enabled by setting
the PARALLEL variable.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jun 25 22:29:02 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored) to selected 1.267 (colored)

oops; fix an rm that might be empty

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jun 24 08:28:08 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.51: +8 -6 lines
Diff to previous 1.51 (colored) to selected 1.267 (colored)

update lint rules, but keep linting disabled

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jun 10 20:21:05 1995 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.267 (colored)

Define LIBEDIT.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Apr 21 20:29:42 1995 UTC (28 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.49: +5 -1 lines
Diff to previous 1.49 (colored) to selected 1.267 (colored)

.include <bsd.nls.mk> unless NONLS is defined.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 22 09:20:45 1994 UTC (29 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.48: +5 -7 lines
Diff to previous 1.48 (colored) to selected 1.267 (colored)

specify man pages differently, and document how.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Aug 24 19:10:48 1994 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored) to selected 1.267 (colored)

Include bsd.own.mk earlier.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 20 04:57:12 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored) to selected 1.267 (colored)

fix from christos, for progs w/o objects

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 6 04:13:37 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.45: +25 -24 lines
Diff to previous 1.45 (colored) to selected 1.267 (colored)

Pull libraries from ${DESTDIR} if set.  Kill LDONLY, which is unused and
probably not useful anyway.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 30 06:35:50 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored) to selected 1.267 (colored)

fix modify-info-nothingness-then-substitute probelm that broke genclass build

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jun 30 05:31:21 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.267 (colored)

RCSID frobbing, and minor sanity adjustments.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 30 05:21:32 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored) to selected 1.267 (colored)

don't be careless with _SUBDIRUSE

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 28 05:16:12 1994 UTC (29 years, 9 months ago) by jtc
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.267 (colored)

Strip *.sh when constructing OBJS from SRCS.
This will allow us to clean up makefiles that build a script by munging
a template (uusched, genclass, neqn, etc.).

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 18 20:57:49 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.40: +2 -3 lines
Diff to previous 1.40 (colored) to selected 1.267 (colored)

don't chown the symlink, when HIDEGAME causes a symlink to be made to dm.
4.4-based FS code _follows_ the symlinks on a chown(2) call.

Revision 1.40 / (download) - annotate - [select for diffs], Tue May 24 09:37:30 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.39: +2 -5 lines
Diff to previous 1.39 (colored) to selected 1.267 (colored)

fix the last to do the right thing for dependencies

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 24 06:30:57 1994 UTC (29 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored) to selected 1.267 (colored)

LIBSKEY

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 22 23:03:58 1994 UTC (29 years, 10 months ago) by jtc
Branch: MAIN
Changes since 1.37: +5 -13 lines
Diff to previous 1.37 (colored) to selected 1.267 (colored)

Single source file programs are now compiled into object files before they
are linked.  This change halves the time it takes to rebuild all of the
NetBSD sources when only the C library is "touched"; but only takes about
one percent more disk space.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 6 06:37:38 1994 UTC (30 years ago) by chopps
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.267 (colored)

relink (recompile) single source programs when crt0.o is updated.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 24 16:11:40 1994 UTC (30 years ago) by mycroft
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.267 (colored)

Remove *.core on clean.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 9 23:50:38 1994 UTC (30 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.34: +1 -4 lines
Diff to previous 1.34 (colored) to selected 1.267 (colored)

kill install -d's.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jan 28 00:16:38 1994 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.267 (colored)

add LIBKVM

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 10 03:32:48 1993 UTC (30 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored) to selected 1.267 (colored)

librpc doesn't exist anymore

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 8 02:18:41 1993 UTC (30 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored) to selected 1.267 (colored)

ad LDSTATIC flag, so static linking can be made one-stop shopping.
use "setenv LDSTATIC" to make *everything* dynamically linked,
setenv LDSTATIC -static for everything statically linked, or unset
it for default behavior.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 7 02:12:18 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.267 (colored)

LIBTERM pointed at nothing, but was meant to point to libtermcap.a...

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 7 01:35:30 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored) to selected 1.267 (colored)

always define LIBCRYPT

Revision 1.29 / (download) - annotate - [select for diffs], Tue Aug 17 17:00:39 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.267 (colored)

Make sure we don't recurse into subdirectories if Makefile specified `install'
target.  (It's usually blank and is specifically to avoid doing this...)

Revision 1.28 / (download) - annotate - [select for diffs], Sun Aug 15 21:53:05 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.267 (colored)

Automatically include bsd.subdir.mk for backward compatibility.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 15 20:59:38 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored) to selected 1.267 (colored)

Don't automatically include bsd.subdir.mk in bsd.prog.mk and bsd.lib.mk.
Put back .MAIN in bsd.man.mk, and be careful not to include ../Makefile.inc
a second time.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 15 20:42:43 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.25: +14 -53 lines
Diff to previous 1.25 (colored) to selected 1.267 (colored)

Move man rules to sys.mk.
Use bsd.subdir.mk for building subdirectories.
Don't forget to remove x.cc and x.C when using SHAREDSTRINGS.
Make ${PROG} always depend on ${LIBCRT0}.
Don't duplicate code between cleandir and clean.
Move tags target to bsd.dep.mk.
Move STRIP to bsd.own.mk.
Remove redundant definitions of {BIN,MAN}{DIR,GRP,OWN,MODE}.
Move {LIB,DOC}{DIR,GRP,OWN,MODE} defaults to bsd.own.mk.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 15 19:37:10 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +5 -17 lines
Diff to previous 1.24 (colored) to selected 1.267 (colored)

Abstract out dependency stuff, and add RCS identifiers.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 15 19:26:10 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +5 -35 lines
Diff to previous 1.23 (colored) to selected 1.267 (colored)

Create target directories with `install -d', and move `obj' targets into one
file.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 10 16:46:58 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored) to selected 1.267 (colored)

Put LINKS handling in `install' target, so it's the last thing executed, and
happens even if `realinstall' is user-defined.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 30 03:40:12 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored) to selected 1.267 (colored)

When generating a default OBJS, ignore .h files.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 29 22:04:55 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.267 (colored)

Don't print the `making ...' message if an obj dir already exists.
Also, a minor cleanup.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jul 17 13:43:56 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.19: +9 -2 lines
Diff to previous 1.19 (colored) to selected 1.267 (colored)

Fix C++ dependencies for good.  `make depend' is now done in two passes--one
of C files and one for C++ files.  No need to specify `-+' in your Makefile,
as it is now done automatically.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 17 12:18:12 1993 UTC (30 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.267 (colored)

do c++ dependencies the right way...

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 17 12:09:57 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +11 -1 lines
Diff to previous 1.17 (colored) to selected 1.267 (colored)

Add suffix rules for C++ files.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 4 14:47:21 1993 UTC (30 years, 10 months ago) by brezak
Branch: MAIN
Changes since 1.16: +1 -0 lines
Diff to previous 1.16 (colored) to selected 1.267 (colored)

Add LIBRPCSVC variable.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 2 14:56:51 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored) to selected 1.267 (colored)

add ability to specify c++ dependencies, by setting CFLAGS+=-+ for
the dependency make.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 26 13:07:59 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.14: +3 -0 lines
Diff to previous 1.14 (colored) to selected 1.267 (colored)

added definition for DPADD library variable LIBCRYPT.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 26 03:26:17 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13 (colored) to selected 1.267 (colored)

Don't redefine `realinstall' target if already defined.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 25 05:53:48 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored) to selected 1.267 (colored)

Link with LDFLAGS even if one source module.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 25 05:36:13 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +2 -0 lines
Diff to previous 1.11 (colored) to selected 1.267 (colored)

Don't lose if we include bsd.prog.mk only to build man pages.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 25 04:55:52 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.267 (colored)

Fix error in last change.  (Oops.)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 25 04:15:26 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored) to selected 1.267 (colored)

Don't build man pages if NOMAN set.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 9 20:06:01 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored) to selected 1.267 (colored)

various changes to default make rules.  from patch 101.
note that only the "sensible" changes in patch 101 are implemented.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 8 17:18:46 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored) to selected 1.267 (colored)

try to do the right thing, in terms making directories before we
install into them, and get the manpage cleans _OUT_ of "clean".
they don't belong there, only in cleandir, WFJ be damned.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 8 14:10:32 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored) to selected 1.267 (colored)

fixed typos...

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 8 14:02:02 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +8 -0 lines
Diff to previous 1.5 (colored) to selected 1.267 (colored)

(silently) make sure we have directories before installing

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 4 15:30:16 1993 UTC (31 years ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored) to selected 1.267 (colored)

make LIBRPC point to the right place

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 27 12:17:32 1993 UTC (31 years ago) by nate
Branch: MAIN
Changes since 1.3: +14 -2 lines
Diff to previous 1.3 (colored) to selected 1.267 (colored)

Fixed the doc macros to call troff, eqn,and tbl instead of ditroff,
deqn, and dtbl.
Fixed make clean to remove the man pages (Bill fixed this in the distribution,
but not in the original source)
Changed install to leave the original file around, by using 'cp' instead of
'mv'. "install -c ..."

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 07:26:55 1993 UTC (31 years ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored) to selected 1.267 (colored)

made .CURDIR be absolute, not relative, thereby eliminating
the need for some of the makefile trickery when making objects,
and fixing a few .PATH bugs

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:09:40 1993 UTC (31 years ago) by cgd
Branch: MAIN
Changes since 1.1: +18 -6 lines
Diff to previous 1.1 (colored) to selected 1.267 (colored)

fixed "make obj" for cases when sources not in /usr/src/...
if sources not there, it now mkdirs obj, but some trickery
is necessary, to avoid deleting cwd.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: MAIN
Diff to selected 1.267 (colored)

Initial revision

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>