提交 2ec077d8 编写于 作者: R Ralf S. Engelschall

A few train of thoughts about the build procedure mess

上级 c142bdf7
OpenSSL STATUS Last modified at OpenSSL STATUS Last modified at
______________ $Date: 1999/01/01 15:58:14 $ ______________ $Date: 1999/01/02 16:28:51 $
DEVELOPMENT STATE DEVELOPMENT STATE
...@@ -19,19 +19,33 @@ ...@@ -19,19 +19,33 @@
OPEN ISSUES OPEN ISSUES
o The apps/ dir should be cleaned up. o The Makefile hierarchy and build mechanism is still not a round thing:
Ralf proposes the following cleanup:
1. We rename the ssleay program to openssl. 1. The config vs. Configure scripts
=> This way it's consistent with out project and It's the same nasty situation as for Apache with APACI vs.
with the already started openssl(1) manpage, etc. src/Configure. It confuses.
2. We no longer create such a lot of <command> links for Suggestion: Merge Configure and config into a single configure
"openssl <command>". Instead we follow the "cvs" interface idea script with a Autoconf style interface ;-) and remove
where all <command>s are called as "cvs <command>". Configure and config. Or even let us use GNU Autoconf
=> This no longer messes up the install dir with itself. Then we can avoid a lot of those platform checks
symlinks and provides a single-one and consistent command line which are currently in Configure.
interface. Additionally we can document it nicely with the single
already started openssl(1) manual page. 2. The massive symlinking of Makefile.ssl -> Makefile:
Status: Ralf +1 First the `make -f Makefile.ssl links' command is nasty, second the
whole process is slow and third it seems to be done without real
need. And forth, the dependecies are currently missing. And fifth,
it's complicated to always go to the top-level in order to get the
local variables overriden.
Suggestion: Rename Makefile.ssl to Makefile.in, add
dependencies to Makefile.in and change the build process
to _generate_ Makefile out of Makefile.in by
substituting variables like CC, etc. This solves the
above problems.
3. The xxx.org -> xxx.h generation:
It's not obvious for which file xxx.org is the source.
Suggestion: Rename xxx.org to xxx.h.in (Autoconf style), this way
one sees that xxx.h.in is the input for xxx.h
o The installation under "make install" produces a very o The installation under "make install" produces a very
installation layout: $prefix/certs and $prefix/private dirs. That's installation layout: $prefix/certs and $prefix/private dirs. That's
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册