For those wanting to build for several platforms with the same source
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Jul 2002 09:19:37 +0000 (09:19 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 16 Jul 2002 09:19:37 +0000 (09:19 +0000)
directory, making a separate directory tree with lots of symbolic links
seems to be the solution.  Unfortunately, Configure doesn't take appropriate
steps to support this solution (as in removing a file that's going to be
rewritten).  This change corrects that situation.  Now I just have to
find all other places where there's lack of support for this.

CHANGES

diff --git a/CHANGES b/CHANGES
index 7a30a305e3b90abcc20ef7548df477a799ff8a02..89ec06fe8565ceeb4a71bc807eadaa69eaa97dac 100644 (file)
--- a/CHANGES
+++ b/CHANGES
  
  Changes between 0.9.6e and 0.9.7  [XX xxx 2002]
 
+  *) Add appropriate support for separate platform-dependent build
+     directories.  The recommended way to make a platform-dependent
+     build directory is the following (tested on Linux), maybe with
+     some local tweaks:
+
+       # Place yourself outside of the OpenSSL source tree.  In
+       # this example, the environment variable OPENSSL_SOURCE
+       # is assumed to contain the absolute OpenSSL source directory.
+       mkdir -p objtree/`uname -s`-`uname -r`-`uname -m`
+       cd objtree/`uname -s`-`uname -r`-`uname -m`
+       (cd $OPENSSL_SOURCE; find . -type f -o -type l) | while read F; do
+               mkdir -p `dirname $F`
+               ln -s $OPENSSL_SOURCE/$F $F
+       done
+
+     To be absolutely sure not to disturb the source tree, a "make clean"
+     is a good thing.  If it isn't successfull, don't worry about it,
+     it probably means the source directory is very clean.
+     [Richard Levitte]
+
   *) Make sure any ENGINE control commands make local copies of string
      pointers passed to them whenever necessary. Otherwise it is possible
      the caller may have overwritten (or deallocated) the original string