Remove spurious extra target from tools/Makefile
Add .d files to 'make clean' targets

This was automatically applied by AddDependencyFilesToCleanTargets() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Configure dependency-generating compiler flags

This is in anticipation of removing support for makedepend, as per:

http://marc.info/?t=140420825100001&r=1&w=2
https://groups.google.com/forum/#!topic/mailing.openssl.dev/m9XDCpmzWAg
Create process_makefile() function

This preserves existing behavior, but anticipates the addition of a
configure.mk.org file that will contain common build variables that will be
included in GNU- and BSD-specific Makefiles. Consequently, this code will be
updated again to accommodate configure.mk once it appears.
Extract import_top_level_vars() function

This preserves existing behavior, and is in preparation for importing
variables from a top-level configure.mk file as well.
Generate configure.mk during Configure

configure.mk.org contains the build variables shared betweeen GNU- and
BSD-specific Makefiles that are set by Configure. Many are defined according
to the value of BUILDENV in Makefile.org.
Process configure.mk for top-level 'make files'

Placing configure.mk first ensures that its values are processed first. At
this stage in the Makefile refactoring experiment, the differences in
the resulting MINFO file are all at the top-level, and a result of the fact
that configure.mk defines all of the following variables as they appear in the
existing BUILDENV variable:

- ASFLAG ends in '-c'.
- FIPS_EX_OBJ is expanded as part of BUILDENV, BUILD_CMD, BUILD_ONE_CMD and
  RECURSIVE_BUILD_CMD.
- LIBRPATH and MAKEOVERRIDES are defined.
Parse configure.mk and use it to replace BUILDENV

The only differences in the resulting output are due to the expansions
explained in the earlier 'make files' commit.
Create {GNU,BSD}makefiles

These files include the top-level configure.mk file, the Makefile in the
same directory, and the .d (dependency info) files corresponding to the
SRC variable in each Makefile except at the top level.

This was automatically applied by CreateGnuMakefile() and CreateBsdMakefile()
in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Remove $(TOP) refs from top-level Makefiles

These refs are unnecessary in the top-level Makefile and cause several targets
to break when TOP is stripped out, notably during 'make links', called by
Configure.
Add TOP as an argument to files.pl

Since TOP is now defined in the {GNU,BSD}makefiles, and will be stripped from
the Makefiles in an upcoming commit, it needs to be passed on the command line
in order for the RELATIVE_DIRECTORY calculation to work correctly.

This was automatically applied by AddTopToFilesTarget() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Import top-level variables from configure.mk

This preserves existing behavior, but anticipates a future change where
variables defined in configure.mk are removed from other Makefiles.
Strip out Makefile vars present in configure.mk

Also strips out MAKEDEPEND, since the {GNU,BSD}makefiles now include the
compiler-generated .d files; and TOP, since that's defined in the
{GNU,BSD}makefiles.

This was automatically applied by RemoveConfigureVars() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Remove makedepend sections from Makefiles

makedepend doesn't appear to be very reliable after all:
http://marc.info/?l=openssl-dev&m=140420807716037&w=2
https://groups.google.com/d/topic/mailing.openssl.dev/m9XDCpmzWAg/discussion

Configure now sets compiler flags that will automatically generate .d files
with (accurate) dependency information, and the {GNU,BSD}makefiles now read
those files automatically.

This was automatically applied by RemoveOldMakeDependOutput() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Eliminate 'make depend' targets and MAKEDEPPROG

This was automatically applied by RemoveDependTarget() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Remove 'make depend' advice from Configure
Remove HERE variable

It was only used in the top-level Makefile, and wasn't necessary.
Cat configure.mk and Makefile.shared, strip vars

The recursive make based on Makefile.shared is not something I can see how to
eliminate for the time being. Also, with the {GNU,BSD}makefile + configure.mk
scheme, this change provides an effective way of ensuring that the configure.mk
variables are set without having to figure out how to negotiate between the
different make flavors.

This was (mostly) automatically applied by CatConfigureAndMakefileShared() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py
Remove BUILDENV after configure.mk migration

All of the {GNU,BSD}makefiles now include configure.mk, rendering BUILDENV
obsolete.
Replace common targets with Makefile-specific ones

This is in preparation for including all subdirectory Makefiles in a top-level
Makefile. This will avoid multiply-defined targets with recipes when the
Makefiles are included together. This maintains compatibility with the
existing recursive make structure by replacing the original targets with
recipe-free targets that only depend on the Makefile-local targets.

This was automatically applied by UpdateTargetNames() in:
https://code.google.com/p/mike-bland/source/browse/openssl/update_makefiles.py