aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-05-16 16:55:47 +0000
committerAndy Polyakov <appro@openssl.org>2005-05-16 16:55:47 +0000
commitce92b6eb9c9f4fa570564ec2dd9cbce68d9983f3 (patch)
treec624cf871e348c42de579d327b62d5d7518068cf /crypto/Makefile
parent7abbffc3fb15f86bc32f0ded9dab2b683f733cbb (diff)
downloadopenssl-ce92b6eb9c9f4fa570564ec2dd9cbce68d9983f3.tar.gz
Further BUILDENV refinement, further fool-proofing of Makefiles and
[most importantly] put back dependencies accidentaly eliminated in check-in #13342.
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 68a9dbd483..9f309e0256 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -151,11 +151,12 @@ depend:
[ -z "$(THIS)" -o -f buildinf.h ] || touch buildinf.h # fake buildinf.h if it does not exist
[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDE) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
[ -z "$(THIS)" -o -s buildinf.h ] || rm buildinf.h
- @[ -z "$(THIS)" ] || for i in $(SDIRS) ;\
- do \
- (cd $$i && echo "making depend in crypto/$$i..." && \
- $(MAKE) INCLUDES='${INCLUDES}' depend ); \
- done;
+ @[ -z "$(THIS)" ] || (set -e; \
+ for i in $(SDIRS) ; do \
+ ( cd $$i && echo "making depend in crypto/$$i..." && \
+ $(MAKE) INCLUDES='${INCLUDES}' depend \
+ ); \
+ done; )
@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
clean: