avoid some NO_<cipher> problems
[openssl.git] / crypto / Makefile.ssl
index 930dd02a9b3cb616f4a8c3a8f853c6ba273d3868..37aaac15280391c4651f2ed524699428c47ebd1f 100644 (file)
@@ -122,7 +122,9 @@ lint:
        done;
 
 depend:
+       if [ ! -e buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist
        $(MAKEDEPEND) $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC)
+       if [ ! -s buildinf.h ]; then rm buildinf.h; fi
        @for i in $(SDIRS) ;\
        do \
        (cd $$i; echo "making depend in crypto/$$i..."; \