summaryrefslogtreecommitdiffstats
path: root/crypto/seed
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-05-22 17:54:06 +0200
committerRichard Levitte <levitte@openssl.org>2015-05-23 11:17:35 +0200
commit1b8403889b52be15a8de87054ad4605d79fafb08 (patch)
tree51ba07ae18df6314745f6e8a3be765399c08c14a /crypto/seed
parente261cf5a2e3c12e9c6221a83a077c5523b85b979 (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 crypto/cmac/Makefile crypto/srp/Makefile
Diffstat (limited to 'crypto/seed')
-rw-r--r--crypto/seed/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/seed/Makefile b/crypto/seed/Makefile
index 4bc55e4916..70d3d45a2b 100644
--- a/crypto/seed/Makefile
+++ b/crypto/seed/Makefile
@@ -62,6 +62,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)