diff options
author | Richard Levitte <levitte@openssl.org> | 2015-05-22 17:54:06 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-05-23 06:25:12 +0200 |
commit | bf423546200bd748277f79235cb0cdb7ca0e4a2c (patch) | |
tree | e2be782aee9ccdb743f10836a0788e7056e85bcf /crypto/dso | |
parent | e4731f76e2dc2a36e62522a4ec115880ba7dfc1f (diff) |
Fix the update target and remove duplicate file updates
We had updates of certain header files in both Makefile.org and the
Makefile in the directory the header file lived in. This is error
prone and also sometimes generates slightly different results (usually
just a comment that differs) depending on which way the update was
done.
This removes the file update targets from the top level Makefile, adds
an update: target in all Makefiles and has it depend on the depend: or
local_depend: targets, whichever is appropriate, so we don't get a
double run through the whole file tree.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 0f539dc1a2f45580435c39dada44dd276e79cb88)
Conflicts:
Makefile.org
apps/Makefile
test/Makefile
Diffstat (limited to 'crypto/dso')
-rw-r--r-- | crypto/dso/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/dso/Makefile b/crypto/dso/Makefile index fb2709ed63..36b8ead041 100644 --- a/crypto/dso/Makefile +++ b/crypto/dso/Makefile @@ -63,6 +63,8 @@ tests: lint: lint -DLINT $(INCLUDES) $(SRC)>fluff +update: depend + depend: @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |