diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-19 20:04:51 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-19 22:19:12 +0100 |
commit | 9a9f8ee78894a5f1d4e1f0eca2b888fec8012f98 (patch) | |
tree | 4be2fbe285fb873411c6385f9245702b3302dda3 /apps/progs.h | |
parent | ad2c5ed74ed16018779681ea603c96cb7b2b02fa (diff) |
Don't let 'generate' target depend on generated files, act directly instead
One of the 'generate' targets depended on $(SRCDIR)/apps/progs.h,
which depended on... nothing. This meant it never got regenerated
once it existed, regardless of need. Of course, we could have it
depend on all the files checked to generate it, but they also depend
on progs.h, so we'd end up getting cricular dependencies, which makes
make unhappy.
Furthermore, and this applies for the other generated files, having
them as targets means that they may be regenerated on the fly in some
cases, and since they get written to the source tree, this isn't such
a good idea if that tree is read-only (which is a possible situation
in an out-of-tree build).
So, we move all the actions to the 'generate' targets themselves, thus
making sure they get regenerated in a controlled manner and regardless
of dependencies.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'apps/progs.h')
0 files changed, 0 insertions, 0 deletions