History log of /openbsd-current/gnu/usr.bin/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.64 28-Oct-2022 miod

Remove antique^Wolder-than-binutils-2.17 c++filt(1).


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.63 03-May-2021 jsg

don't build gdb on riscv64


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.62 04-Jul-2020 kettenis

Don't build gdb on powerpc64.


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.61 29-Oct-2017 aoyama

Unify protoize.1 install process on gcc3 arch (luna88k).

ok guenther@


Revision tags: OPENBSD_6_2_BASE
# 1.60 27-Jul-2017 deraadt

ensure protoiize man pages installed in all cases (until we come
to a different decision later)
ok espie


# 1.59 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.58 20-Feb-2017 jsg

Skip building gdb on aarch64 there is no support for it.


# 1.57 29-Jan-2017 jsg

descend into clang when building obj or when COMPILER_VERSION is clang
ok patrick@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.56 01-Jun-2015 miod

Now that we do not need to build binutils 2.15 (except for gdb), simplify the
build logic.


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.55 16-Jul-2014 deraadt

lynx will go to ports. there are too many reasons for it to go there,
and not enough for it to stay. lengthy discussions.


Revision tags: OPENBSD_5_5_BASE
# 1.54 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.53 05-Jul-2013 miod

ELF_TOOLCHAIN bye bye.


# 1.52 10-Mar-2013 miod

Let platforms configured to use binutils 2.17 still recurse into the binutils
2.15 directory, but only to build gdb.
ok deraadt@ espie@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.51 21-Nov-2011 jsg

when testing COMPILER_VERSION don't assume the default case is gcc2
ok drahn@


# 1.50 30-Oct-2011 schwarze

Always install addr2line(1), objcopy(1), and readelf(1), even on
architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS (like vax, m68k).
There is no need to reach around from usr.bin/Makefile into binutils;
we always descend into either binutils or binutils-2.17.
All is fine so far with binutils-2.17 since ia64 has USING_NEW_BINUTILS.

tested on vax and ok deraadt@


# 1.49 22-Sep-2011 schwarze

Always install all manuals on all architectures.
No more exceptions even for binutils.
No more share/man in src/distrib/sets/lists/*/md.*
ok deraadt@


Revision tags: OPENBSD_5_0_BASE
# 1.48 05-Jul-2011 drahn

Allow switching between binutils and binutils 2.17.
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@


Revision tags: OPENBSD_4_9_BASE
# 1.47 18-Oct-2010 deraadt

The base no longer uses old groff -- it uses mandoc(1). The ports tree still
sometimes needs groff, but there it is pulled in as a build-dependency, and
it is the newer groff. We are able to do this now due to the hard work if ingo.


Revision tags: OPENBSD_4_8_BASE
# 1.46 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.45 23-Mar-2007 ray

Enable our sendbug(1), prodded by deraadt@.


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.44 10-Apr-2006 joris

switch to openrcs and eliminate more gnu from the tree.
note that openrcs still lacks some features.

okay niallo@, xsa@, ray@, "Do it" deraadt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.43 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.42 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.41 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.40 24-Nov-2003 espie

Switch to using libiberty in new location.
Disable building of cxxfilt in gcc, build it from its own directory.


# 1.39 15-Oct-2003 mickey

reverse the comment on binutils gas/ld as that's what it is now


# 1.38 26-Sep-2003 otto

Disable bc (and dc).

ok deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.37 03-Aug-2003 deraadt

gnu gzip dir is now bye bye


# 1.36 30-Jul-2003 deraadt

shine a bit more


# 1.35 22-Jul-2003 deraadt

switch to our own diff/diff3 (sdiff goes bye bye)


# 1.34 22-Jul-2003 brad

- use :L variable modifier with ELF_TOOLCHAIN variable
- change 2 instances of the check from != "yes" to == "no"

ok deraadt@


# 1.33 22-Jun-2003 deraadt

bye bye grep (gzip remains for a few scripts)


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.32 12-Jun-2002 art

use ELF_TOOLCHAIN instead of listing all archs.
drahn@ ok.


Revision tags: OPENBSD_3_1_BASE
# 1.31 28-Feb-2002 millert

Remove feature-poor GPL'd deroff clone, we have a better, BSD-licensed one now.


Revision tags: OPENBSD_3_0_BASE
# 1.30 05-Sep-2001 art

sparc64 uses new binutils.


# 1.29 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.28 18-Nov-1999 millert

build new sudo


Revision tags: OPENBSD_2_6_BASE
# 1.27 26-May-1999 espie

Link in egcs, kill gcc and libg++


Revision tags: OPENBSD_2_5_BASE
# 1.26 17-Nov-1998 millert

Move perl install to be after binutils since binutils installs some headers that we may want to convert with h2ph


Revision tags: OPENBSD_2_4_BASE
# 1.25 29-Jun-1998 millert

dc is now part of GNU bc


# 1.24 04-May-1998 mickey

use binutils for hppa


Revision tags: OPENBSD_2_3_BASE
# 1.23 29-Mar-1998 niklas

Adapt the newer of our GDB versions to a.out ports. The main part of this
commit comes from NetBSD. Also, the kernel debugging mode is a bit different
but you will notice when you type gdb -k because it documents the difference


# 1.22 11-Mar-1998 maja

add lynx. -moj


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.21 11-Mar-1997 tholo

Do not build GNU cpio


# 1.20 08-Mar-1997 kstailey

add deroff to SUBDIRS


# 1.19 21-Jan-1997 millert

Install BSD sort(1) not GNU one. Can always change back if necesary.


# 1.18 23-Dec-1996 rahnds

Powerpc port uses binutils not old compiler tools.


# 1.17 28-Oct-1996 millert

add sudo


Revision tags: OPENBSD_2_0_BASE
# 1.16 14-Sep-1996 etheisen

A time to groff...


# 1.15 14-Sep-1996 etheisen

Temporarily disable groff build until other mods are checked in.


# 1.14 19-Aug-1996 downsj

+perl


# 1.13 27-Jul-1996 deraadt

do texinfo last, for info/dir file


# 1.12 16-Jul-1996 deraadt

alpha/mips == binutils; others == gas/ld


# 1.11 16-Jul-1996 pefo

Mips uses gnu binutils


# 1.10 04-Jul-1996 tholo

GNU awk no longer used


# 1.9 29-Jun-1996 tholo

Use tar(1) emulation as provided by pax(1)


# 1.8 27-Jun-1996 tholo

We now support bug reports using a modified version of send-pr(1) that
will not interfere with a possible local installation of GNATS


# 1.7 23-Apr-1996 niklas

Merge of NetBSD 960418


# 1.6 30-Mar-1996 niklas

From NetBSD: merge of 960317


# 1.5 05-Jan-1996 deraadt

use gcc 2.7.2 on all architectures. any port that breaks should be fixed


# 1.4 22-Dec-1995 niklas

add texinfo


# 1.3 19-Dec-1995 deraadt

build cvs


# 1.2 14-Dec-1995 deraadt

update from netbsd; parallel make stuff


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.63 03-May-2021 jsg

don't build gdb on riscv64


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.62 04-Jul-2020 kettenis

Don't build gdb on powerpc64.


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.61 29-Oct-2017 aoyama

Unify protoize.1 install process on gcc3 arch (luna88k).

ok guenther@


Revision tags: OPENBSD_6_2_BASE
# 1.60 27-Jul-2017 deraadt

ensure protoiize man pages installed in all cases (until we come
to a different decision later)
ok espie


# 1.59 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.58 20-Feb-2017 jsg

Skip building gdb on aarch64 there is no support for it.


# 1.57 29-Jan-2017 jsg

descend into clang when building obj or when COMPILER_VERSION is clang
ok patrick@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.56 01-Jun-2015 miod

Now that we do not need to build binutils 2.15 (except for gdb), simplify the
build logic.


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.55 16-Jul-2014 deraadt

lynx will go to ports. there are too many reasons for it to go there,
and not enough for it to stay. lengthy discussions.


Revision tags: OPENBSD_5_5_BASE
# 1.54 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.53 05-Jul-2013 miod

ELF_TOOLCHAIN bye bye.


# 1.52 10-Mar-2013 miod

Let platforms configured to use binutils 2.17 still recurse into the binutils
2.15 directory, but only to build gdb.
ok deraadt@ espie@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.51 21-Nov-2011 jsg

when testing COMPILER_VERSION don't assume the default case is gcc2
ok drahn@


# 1.50 30-Oct-2011 schwarze

Always install addr2line(1), objcopy(1), and readelf(1), even on
architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS (like vax, m68k).
There is no need to reach around from usr.bin/Makefile into binutils;
we always descend into either binutils or binutils-2.17.
All is fine so far with binutils-2.17 since ia64 has USING_NEW_BINUTILS.

tested on vax and ok deraadt@


# 1.49 22-Sep-2011 schwarze

Always install all manuals on all architectures.
No more exceptions even for binutils.
No more share/man in src/distrib/sets/lists/*/md.*
ok deraadt@


Revision tags: OPENBSD_5_0_BASE
# 1.48 05-Jul-2011 drahn

Allow switching between binutils and binutils 2.17.
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@


Revision tags: OPENBSD_4_9_BASE
# 1.47 18-Oct-2010 deraadt

The base no longer uses old groff -- it uses mandoc(1). The ports tree still
sometimes needs groff, but there it is pulled in as a build-dependency, and
it is the newer groff. We are able to do this now due to the hard work if ingo.


Revision tags: OPENBSD_4_8_BASE
# 1.46 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.45 23-Mar-2007 ray

Enable our sendbug(1), prodded by deraadt@.


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.44 10-Apr-2006 joris

switch to openrcs and eliminate more gnu from the tree.
note that openrcs still lacks some features.

okay niallo@, xsa@, ray@, "Do it" deraadt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.43 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.42 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.41 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.40 24-Nov-2003 espie

Switch to using libiberty in new location.
Disable building of cxxfilt in gcc, build it from its own directory.


# 1.39 15-Oct-2003 mickey

reverse the comment on binutils gas/ld as that's what it is now


# 1.38 26-Sep-2003 otto

Disable bc (and dc).

ok deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.37 03-Aug-2003 deraadt

gnu gzip dir is now bye bye


# 1.36 30-Jul-2003 deraadt

shine a bit more


# 1.35 22-Jul-2003 deraadt

switch to our own diff/diff3 (sdiff goes bye bye)


# 1.34 22-Jul-2003 brad

- use :L variable modifier with ELF_TOOLCHAIN variable
- change 2 instances of the check from != "yes" to == "no"

ok deraadt@


# 1.33 22-Jun-2003 deraadt

bye bye grep (gzip remains for a few scripts)


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.32 12-Jun-2002 art

use ELF_TOOLCHAIN instead of listing all archs.
drahn@ ok.


Revision tags: OPENBSD_3_1_BASE
# 1.31 28-Feb-2002 millert

Remove feature-poor GPL'd deroff clone, we have a better, BSD-licensed one now.


Revision tags: OPENBSD_3_0_BASE
# 1.30 05-Sep-2001 art

sparc64 uses new binutils.


# 1.29 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.28 18-Nov-1999 millert

build new sudo


Revision tags: OPENBSD_2_6_BASE
# 1.27 26-May-1999 espie

Link in egcs, kill gcc and libg++


Revision tags: OPENBSD_2_5_BASE
# 1.26 17-Nov-1998 millert

Move perl install to be after binutils since binutils installs some headers that we may want to convert with h2ph


Revision tags: OPENBSD_2_4_BASE
# 1.25 29-Jun-1998 millert

dc is now part of GNU bc


# 1.24 04-May-1998 mickey

use binutils for hppa


Revision tags: OPENBSD_2_3_BASE
# 1.23 29-Mar-1998 niklas

Adapt the newer of our GDB versions to a.out ports. The main part of this
commit comes from NetBSD. Also, the kernel debugging mode is a bit different
but you will notice when you type gdb -k because it documents the difference


# 1.22 11-Mar-1998 maja

add lynx. -moj


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.21 11-Mar-1997 tholo

Do not build GNU cpio


# 1.20 08-Mar-1997 kstailey

add deroff to SUBDIRS


# 1.19 21-Jan-1997 millert

Install BSD sort(1) not GNU one. Can always change back if necesary.


# 1.18 23-Dec-1996 rahnds

Powerpc port uses binutils not old compiler tools.


# 1.17 28-Oct-1996 millert

add sudo


Revision tags: OPENBSD_2_0_BASE
# 1.16 14-Sep-1996 etheisen

A time to groff...


# 1.15 14-Sep-1996 etheisen

Temporarily disable groff build until other mods are checked in.


# 1.14 19-Aug-1996 downsj

+perl


# 1.13 27-Jul-1996 deraadt

do texinfo last, for info/dir file


# 1.12 16-Jul-1996 deraadt

alpha/mips == binutils; others == gas/ld


# 1.11 16-Jul-1996 pefo

Mips uses gnu binutils


# 1.10 04-Jul-1996 tholo

GNU awk no longer used


# 1.9 29-Jun-1996 tholo

Use tar(1) emulation as provided by pax(1)


# 1.8 27-Jun-1996 tholo

We now support bug reports using a modified version of send-pr(1) that
will not interfere with a possible local installation of GNATS


# 1.7 23-Apr-1996 niklas

Merge of NetBSD 960418


# 1.6 30-Mar-1996 niklas

From NetBSD: merge of 960317


# 1.5 05-Jan-1996 deraadt

use gcc 2.7.2 on all architectures. any port that breaks should be fixed


# 1.4 22-Dec-1995 niklas

add texinfo


# 1.3 19-Dec-1995 deraadt

build cvs


# 1.2 14-Dec-1995 deraadt

update from netbsd; parallel make stuff


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.62 04-Jul-2020 kettenis

Don't build gdb on powerpc64.


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.61 29-Oct-2017 aoyama

Unify protoize.1 install process on gcc3 arch (luna88k).

ok guenther@


Revision tags: OPENBSD_6_2_BASE
# 1.60 27-Jul-2017 deraadt

ensure protoiize man pages installed in all cases (until we come
to a different decision later)
ok espie


# 1.59 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.58 20-Feb-2017 jsg

Skip building gdb on aarch64 there is no support for it.


# 1.57 29-Jan-2017 jsg

descend into clang when building obj or when COMPILER_VERSION is clang
ok patrick@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.56 01-Jun-2015 miod

Now that we do not need to build binutils 2.15 (except for gdb), simplify the
build logic.


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.55 16-Jul-2014 deraadt

lynx will go to ports. there are too many reasons for it to go there,
and not enough for it to stay. lengthy discussions.


Revision tags: OPENBSD_5_5_BASE
# 1.54 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.53 05-Jul-2013 miod

ELF_TOOLCHAIN bye bye.


# 1.52 10-Mar-2013 miod

Let platforms configured to use binutils 2.17 still recurse into the binutils
2.15 directory, but only to build gdb.
ok deraadt@ espie@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.51 21-Nov-2011 jsg

when testing COMPILER_VERSION don't assume the default case is gcc2
ok drahn@


# 1.50 30-Oct-2011 schwarze

Always install addr2line(1), objcopy(1), and readelf(1), even on
architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS (like vax, m68k).
There is no need to reach around from usr.bin/Makefile into binutils;
we always descend into either binutils or binutils-2.17.
All is fine so far with binutils-2.17 since ia64 has USING_NEW_BINUTILS.

tested on vax and ok deraadt@


# 1.49 22-Sep-2011 schwarze

Always install all manuals on all architectures.
No more exceptions even for binutils.
No more share/man in src/distrib/sets/lists/*/md.*
ok deraadt@


Revision tags: OPENBSD_5_0_BASE
# 1.48 05-Jul-2011 drahn

Allow switching between binutils and binutils 2.17.
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@


Revision tags: OPENBSD_4_9_BASE
# 1.47 18-Oct-2010 deraadt

The base no longer uses old groff -- it uses mandoc(1). The ports tree still
sometimes needs groff, but there it is pulled in as a build-dependency, and
it is the newer groff. We are able to do this now due to the hard work if ingo.


Revision tags: OPENBSD_4_8_BASE
# 1.46 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.45 23-Mar-2007 ray

Enable our sendbug(1), prodded by deraadt@.


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.44 10-Apr-2006 joris

switch to openrcs and eliminate more gnu from the tree.
note that openrcs still lacks some features.

okay niallo@, xsa@, ray@, "Do it" deraadt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.43 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.42 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.41 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.40 24-Nov-2003 espie

Switch to using libiberty in new location.
Disable building of cxxfilt in gcc, build it from its own directory.


# 1.39 15-Oct-2003 mickey

reverse the comment on binutils gas/ld as that's what it is now


# 1.38 26-Sep-2003 otto

Disable bc (and dc).

ok deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.37 03-Aug-2003 deraadt

gnu gzip dir is now bye bye


# 1.36 30-Jul-2003 deraadt

shine a bit more


# 1.35 22-Jul-2003 deraadt

switch to our own diff/diff3 (sdiff goes bye bye)


# 1.34 22-Jul-2003 brad

- use :L variable modifier with ELF_TOOLCHAIN variable
- change 2 instances of the check from != "yes" to == "no"

ok deraadt@


# 1.33 22-Jun-2003 deraadt

bye bye grep (gzip remains for a few scripts)


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.32 12-Jun-2002 art

use ELF_TOOLCHAIN instead of listing all archs.
drahn@ ok.


Revision tags: OPENBSD_3_1_BASE
# 1.31 28-Feb-2002 millert

Remove feature-poor GPL'd deroff clone, we have a better, BSD-licensed one now.


Revision tags: OPENBSD_3_0_BASE
# 1.30 05-Sep-2001 art

sparc64 uses new binutils.


# 1.29 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.28 18-Nov-1999 millert

build new sudo


Revision tags: OPENBSD_2_6_BASE
# 1.27 26-May-1999 espie

Link in egcs, kill gcc and libg++


Revision tags: OPENBSD_2_5_BASE
# 1.26 17-Nov-1998 millert

Move perl install to be after binutils since binutils installs some headers that we may want to convert with h2ph


Revision tags: OPENBSD_2_4_BASE
# 1.25 29-Jun-1998 millert

dc is now part of GNU bc


# 1.24 04-May-1998 mickey

use binutils for hppa


Revision tags: OPENBSD_2_3_BASE
# 1.23 29-Mar-1998 niklas

Adapt the newer of our GDB versions to a.out ports. The main part of this
commit comes from NetBSD. Also, the kernel debugging mode is a bit different
but you will notice when you type gdb -k because it documents the difference


# 1.22 11-Mar-1998 maja

add lynx. -moj


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.21 11-Mar-1997 tholo

Do not build GNU cpio


# 1.20 08-Mar-1997 kstailey

add deroff to SUBDIRS


# 1.19 21-Jan-1997 millert

Install BSD sort(1) not GNU one. Can always change back if necesary.


# 1.18 23-Dec-1996 rahnds

Powerpc port uses binutils not old compiler tools.


# 1.17 28-Oct-1996 millert

add sudo


Revision tags: OPENBSD_2_0_BASE
# 1.16 14-Sep-1996 etheisen

A time to groff...


# 1.15 14-Sep-1996 etheisen

Temporarily disable groff build until other mods are checked in.


# 1.14 19-Aug-1996 downsj

+perl


# 1.13 27-Jul-1996 deraadt

do texinfo last, for info/dir file


# 1.12 16-Jul-1996 deraadt

alpha/mips == binutils; others == gas/ld


# 1.11 16-Jul-1996 pefo

Mips uses gnu binutils


# 1.10 04-Jul-1996 tholo

GNU awk no longer used


# 1.9 29-Jun-1996 tholo

Use tar(1) emulation as provided by pax(1)


# 1.8 27-Jun-1996 tholo

We now support bug reports using a modified version of send-pr(1) that
will not interfere with a possible local installation of GNATS


# 1.7 23-Apr-1996 niklas

Merge of NetBSD 960418


# 1.6 30-Mar-1996 niklas

From NetBSD: merge of 960317


# 1.5 05-Jan-1996 deraadt

use gcc 2.7.2 on all architectures. any port that breaks should be fixed


# 1.4 22-Dec-1995 niklas

add texinfo


# 1.3 19-Dec-1995 deraadt

build cvs


# 1.2 14-Dec-1995 deraadt

update from netbsd; parallel make stuff


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.61 29-Oct-2017 aoyama

Unify protoize.1 install process on gcc3 arch (luna88k).

ok guenther@


Revision tags: OPENBSD_6_2_BASE
# 1.60 27-Jul-2017 deraadt

ensure protoiize man pages installed in all cases (until we come
to a different decision later)
ok espie


# 1.59 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.58 20-Feb-2017 jsg

Skip building gdb on aarch64 there is no support for it.


# 1.57 29-Jan-2017 jsg

descend into clang when building obj or when COMPILER_VERSION is clang
ok patrick@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.56 01-Jun-2015 miod

Now that we do not need to build binutils 2.15 (except for gdb), simplify the
build logic.


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.55 16-Jul-2014 deraadt

lynx will go to ports. there are too many reasons for it to go there,
and not enough for it to stay. lengthy discussions.


Revision tags: OPENBSD_5_5_BASE
# 1.54 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.53 05-Jul-2013 miod

ELF_TOOLCHAIN bye bye.


# 1.52 10-Mar-2013 miod

Let platforms configured to use binutils 2.17 still recurse into the binutils
2.15 directory, but only to build gdb.
ok deraadt@ espie@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.51 21-Nov-2011 jsg

when testing COMPILER_VERSION don't assume the default case is gcc2
ok drahn@


# 1.50 30-Oct-2011 schwarze

Always install addr2line(1), objcopy(1), and readelf(1), even on
architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS (like vax, m68k).
There is no need to reach around from usr.bin/Makefile into binutils;
we always descend into either binutils or binutils-2.17.
All is fine so far with binutils-2.17 since ia64 has USING_NEW_BINUTILS.

tested on vax and ok deraadt@


# 1.49 22-Sep-2011 schwarze

Always install all manuals on all architectures.
No more exceptions even for binutils.
No more share/man in src/distrib/sets/lists/*/md.*
ok deraadt@


Revision tags: OPENBSD_5_0_BASE
# 1.48 05-Jul-2011 drahn

Allow switching between binutils and binutils 2.17.
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@


Revision tags: OPENBSD_4_9_BASE
# 1.47 18-Oct-2010 deraadt

The base no longer uses old groff -- it uses mandoc(1). The ports tree still
sometimes needs groff, but there it is pulled in as a build-dependency, and
it is the newer groff. We are able to do this now due to the hard work if ingo.


Revision tags: OPENBSD_4_8_BASE
# 1.46 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.45 23-Mar-2007 ray

Enable our sendbug(1), prodded by deraadt@.


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.44 10-Apr-2006 joris

switch to openrcs and eliminate more gnu from the tree.
note that openrcs still lacks some features.

okay niallo@, xsa@, ray@, "Do it" deraadt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.43 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.42 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.41 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.40 24-Nov-2003 espie

Switch to using libiberty in new location.
Disable building of cxxfilt in gcc, build it from its own directory.


# 1.39 15-Oct-2003 mickey

reverse the comment on binutils gas/ld as that's what it is now


# 1.38 26-Sep-2003 otto

Disable bc (and dc).

ok deraadt@


Revision tags: OPENBSD_3_4_BASE
# 1.37 03-Aug-2003 deraadt

gnu gzip dir is now bye bye


# 1.36 30-Jul-2003 deraadt

shine a bit more


# 1.35 22-Jul-2003 deraadt

switch to our own diff/diff3 (sdiff goes bye bye)


# 1.34 22-Jul-2003 brad

- use :L variable modifier with ELF_TOOLCHAIN variable
- change 2 instances of the check from != "yes" to == "no"

ok deraadt@


# 1.33 22-Jun-2003 deraadt

bye bye grep (gzip remains for a few scripts)


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.32 12-Jun-2002 art

use ELF_TOOLCHAIN instead of listing all archs.
drahn@ ok.


Revision tags: OPENBSD_3_1_BASE
# 1.31 28-Feb-2002 millert

Remove feature-poor GPL'd deroff clone, we have a better, BSD-licensed one now.


Revision tags: OPENBSD_3_0_BASE
# 1.30 05-Sep-2001 art

sparc64 uses new binutils.


# 1.29 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.28 18-Nov-1999 millert

build new sudo


Revision tags: OPENBSD_2_6_BASE
# 1.27 26-May-1999 espie

Link in egcs, kill gcc and libg++


Revision tags: OPENBSD_2_5_BASE
# 1.26 17-Nov-1998 millert

Move perl install to be after binutils since binutils installs some headers that we may want to convert with h2ph


Revision tags: OPENBSD_2_4_BASE
# 1.25 29-Jun-1998 millert

dc is now part of GNU bc


# 1.24 04-May-1998 mickey

use binutils for hppa


Revision tags: OPENBSD_2_3_BASE
# 1.23 29-Mar-1998 niklas

Adapt the newer of our GDB versions to a.out ports. The main part of this
commit comes from NetBSD. Also, the kernel debugging mode is a bit different
but you will notice when you type gdb -k because it documents the difference


# 1.22 11-Mar-1998 maja

add lynx. -moj


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.21 11-Mar-1997 tholo

Do not build GNU cpio


# 1.20 08-Mar-1997 kstailey

add deroff to SUBDIRS


# 1.19 21-Jan-1997 millert

Install BSD sort(1) not GNU one. Can always change back if necesary.


# 1.18 23-Dec-1996 rahnds

Powerpc port uses binutils not old compiler tools.


# 1.17 28-Oct-1996 millert

add sudo


Revision tags: OPENBSD_2_0_BASE
# 1.16 14-Sep-1996 etheisen

A time to groff...


# 1.15 14-Sep-1996 etheisen

Temporarily disable groff build until other mods are checked in.


# 1.14 19-Aug-1996 downsj

+perl


# 1.13 27-Jul-1996 deraadt

do texinfo last, for info/dir file


# 1.12 16-Jul-1996 deraadt

alpha/mips == binutils; others == gas/ld


# 1.11 16-Jul-1996 pefo

Mips uses gnu binutils


# 1.10 04-Jul-1996 tholo

GNU awk no longer used


# 1.9 29-Jun-1996 tholo

Use tar(1) emulation as provided by pax(1)


# 1.8 27-Jun-1996 tholo

We now support bug reports using a modified version of send-pr(1) that
will not interfere with a possible local installation of GNATS


# 1.7 23-Apr-1996 niklas

Merge of NetBSD 960418


# 1.6 30-Mar-1996 niklas

From NetBSD: merge of 960317


# 1.5 05-Jan-1996 deraadt

use gcc 2.7.2 on all architectures. any port that breaks should be fixed


# 1.4 22-Dec-1995 niklas

add texinfo


# 1.3 19-Dec-1995 deraadt

build cvs


# 1.2 14-Dec-1995 deraadt

update from netbsd; parallel make stuff


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision