freebsd-nq/share/mk
Kris Kennaway 0937df81ca Introduce support for using OpenSSL ASM optimizations. This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@silby.com>
Reviewed by:    current
2001-02-19 03:59:05 +00:00
..
bsd.dep.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.doc.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.docb.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.info.mk Don't create a garbage file named "install" for the NOINFO case when 2000-05-15 14:17:50 +00:00
bsd.kern.mk Add section for building ia64 kernels. 2000-10-16 20:04:52 +00:00
bsd.kmod.mk Do not check for existence of ${_dir}/kern/ , because for modules that set 2000-12-08 20:36:32 +00:00
bsd.lib.mk Change "building the standard ${LIB} library" to "building the static 2000-10-02 08:48:49 +00:00
bsd.libnames.mk Zap LIBTCL, it's been superfluous for several years. 2001-02-18 11:58:54 +00:00
bsd.man.mk Install the stock (as supplied by groff(1) distribution) tmac.an 2000-12-06 17:02:33 +00:00
bsd.obj.mk Use test -z rather than -n. 2000-11-01 07:09:38 +00:00
bsd.own.mk The kernel is now known as `kernel.ko' and it and its matching modules 2000-09-05 22:37:46 +00:00
bsd.port.mk Add $FreeBSD$ 2000-12-29 01:23:57 +00:00
bsd.port.post.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.port.pre.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.port.subdir.mk Add $FreeBSD$ 2000-12-29 01:23:57 +00:00
bsd.prog.mk Check for MAN9 for consistency. 2000-03-23 16:46:20 +00:00
bsd.README Correct instructions/examples about manual pages. 2000-03-23 16:48:04 +00:00
bsd.sgml.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.subdir.mk Fix typo. 2000-01-03 12:16:18 +00:00
Makefile Add bsd.kmod.mk back. 2000-05-27 00:54:45 +00:00
sys.mk Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00