From: Hallvard Furuseth Date: Sat, 20 Feb 1999 07:53:29 +0000 (+0000) Subject: Add $CC_MKDEP_FLAGS to override -M X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~563 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd78d8f2d6f98a17572009193d66d61bb1cfd4b6;p=openldap Add $CC_MKDEP_FLAGS to override -M --- diff --git a/build/mkdep b/build/mkdep index 6620fbfe8f..852e7e636b 100755 --- a/build/mkdep +++ b/build/mkdep @@ -26,6 +26,7 @@ set -e # exit immediately if any errors occur MAKE=Makefile # default makefile name is "Makefile" NOSLASH="no" # by default, / dependencies are included CC=${CC-cc} # default compiler is cc +: ${CC_MKDEP_FLAGS="-M"} # cc -M usually produces dependencies SRCDIR="" SED=cat @@ -127,7 +128,7 @@ cat << _EOF_ >> $TMP _EOF_ -$CC -M $files | \ +$CC $CC_MKDEP_FLAGS $files | \ sed -e 's; \./; ;g' | \ $SED | \ awk '