[openssl-dev] OpenSSL-1.1 make depend

Viktor Dukhovni openssl-users at dukhovni.org
Thu Jan 21 07:55:24 UTC 2016


> On Jan 21, 2016, at 2:45 AM, Erik Forsberg <erik at efca.com> wrote:
> 
> In case its not clear, the difference in the input to clean-depend.pl
> is that when using Solaris cc, /usr/openwin/bin/makedepend is used
> instead of gcc -M
> 
> Still, considering that, the problem is elsewhere, as I tried
> various styles of input and could not see  any correlation

Thing is, almost nobody actually needs "make depend", despite what
Configure might say (we'll fix that soonish).  It is really only
of any use to the dev team, and any users who rebuild after editing
header files while keeping the same Configuration.  If all you do
is reconfigure and build, the right thing to do is "make clean; make"
NOT "make depend; make".

Even for me "make depend" is rarely useful, I switch between release 
branches and configurations a lot more often than I do incremental
builds after editing headers.  And the build takes around 1 minute
on my laptop, so there's really little benefit from "make depend".
By far the biggest impediment to quick code/build/test loops is
the "test" part, "make depend" does not speed up the tests.

So my advice is to forget about "make depend".  The git version
of "master" has Makefiles with empty initial header dependencies,
and it is simplest to just leave it that way.

We'll probably have some kind of working "make depend" by the
time 1.1.0 ships, but you're quite unlikely to need it.

-- 
	Viktor.




More information about the openssl-dev mailing list