freebsd-dev/secure
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
..
lib Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00
libexec Only build sftp-server conditionally 2000-09-16 22:43:00 +00:00
usr.bin man(7) -> mdoc(7). 2001-01-16 15:28:12 +00:00
usr.sbin Define HAVE_PAM_GETENVLIST for build. Now environmental variables set 2001-02-08 21:16:34 +00:00
Makefile Build everything properly. This means: 2000-02-24 18:59:34 +00:00
Makefile.inc WITH_IDEA --> MAKE_IDEA fix. 2000-07-16 12:20:28 +00:00