X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=engines%2FMakefile;h=2cfc1aaa3b11c7e15a1f516e0da9c4e443a0bc06;hb=bf423546200bd748277f79235cb0cdb7ca0e4a2c;hp=da6c8750b5ae44bb392d1c1eb0f7a5b5d0a914ba;hpb=e4731f76e2dc2a36e62522a4ec115880ba7dfc1f;p=openssl.git diff --git a/engines/Makefile b/engines/Makefile index da6c8750b5..2cfc1aaa3b 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -146,12 +146,14 @@ lint: lint -DLINT $(INCLUDES) $(SRC)>fluff @target=lint; $(RECURSIVE_MAKE) -depend: - @if [ -z "$(THIS)" ]; then \ - $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \ - fi - @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) +update: local_depend + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi + +depend: local_depend + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi @[ -z "$(THIS)" ] || (set -e; target=depend; $(RECURSIVE_MAKE) ) +local_depend: + @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new