diff options
author | Andy Polyakov <appro@openssl.org> | 2005-05-16 16:55:47 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-05-16 16:55:47 +0000 |
commit | ce92b6eb9c9f4fa570564ec2dd9cbce68d9983f3 (patch) | |
tree | c624cf871e348c42de579d327b62d5d7518068cf /ssl | |
parent | 7abbffc3fb15f86bc32f0ded9dab2b683f733cbb (diff) |
Further BUILDENV refinement, further fool-proofing of Makefiles and
[most importantly] put back dependencies accidentaly eliminated in
check-in #13342.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ssl/Makefile b/ssl/Makefile index 8fc7825f26..49b7ca4807 100644 --- a/ssl/Makefile +++ b/ssl/Makefile @@ -7,8 +7,6 @@ TOP= .. CC= cc INCLUDES= -I../crypto -I$(TOP) -I../include $(KRB5_INCLUDES) CFLAG=-g -MAKEDEPPROG= makedepend -MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) MAKEFILE= Makefile AR= ar r # KRB5 stuff @@ -92,7 +90,11 @@ lint: lint -DLINT $(INCLUDES) $(SRC)>fluff depend: - $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) + @if [ -z "$(THIS)" ]; then \ + $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \ + else \ + $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC); \ + fi dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |