diff options
Diffstat (limited to 'util/domd')
-rwxr-xr-x | util/domd | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/util/domd b/util/domd deleted file mode 100755 index 9dd7ce59ba..0000000000 --- a/util/domd +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# Wrapper to portably run makedepend or equivalent compiler built-in. -# Runs on Makefile.in, generates Makefile - -TOP=$1 -shift -if [ "$1" = "-MD" ]; then - shift - MAKEDEPEND=$1 - shift - if [ "$MAKEDEPEND" = "ccache" ]; then - MAKEDEPEND="$MAKEDEPEND $1" - shift - fi -fi -if [ -z "$MAKEDEPEND" ] ; then - MAKEDEPEND=makedepend -fi - -if ${MAKEDEPEND} --version 2>&1 | egrep "clang|gcc" >/dev/null ; then - args="" - while [ $# -gt 0 ]; do - if [ "$1" != '--' ] ; then - args="$args $1" - fi - shift - done - ${MAKEDEPEND} -Werror -DOPENSSL_DOING_MAKEDEPEND -M $args >Makefile.tmp || exit 1 - cat Makefile.in Makefile.tmp >Makefile - rm Makefile.tmp -else - cp Makefile.in Makefile - ${MAKEDEPEND} -DOPENSSL_DOING_MAKEDEPEND $@ || exit 1 -fi |