2010-01-28 19:27:53 +00:00
|
|
|
--- a/util/domd
|
|
|
|
+++ b/util/domd
|
|
|
|
@@ -14,7 +14,8 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPE
|
2006-06-11 00:41:05 +00:00
|
|
|
cp Makefile Makefile.save
|
|
|
|
# fake the presence of Kerberos
|
|
|
|
touch $TOP/krb5.h
|
|
|
|
-if [ "$MAKEDEPEND" = "gcc" ]; then
|
|
|
|
+D=${MAKEDEPEND/%*gcc/gcc}
|
|
|
|
+if [ "$D" = "gcc" ]; then
|
|
|
|
args=""
|
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
if [ "$1" != "--" ]; then args="$args $1"; fi
|
2010-01-28 19:27:53 +00:00
|
|
|
@@ -22,7 +23,7 @@ if [ "$MAKEDEPEND" = "gcc" ]; then
|
2006-06-11 00:41:05 +00:00
|
|
|
done
|
|
|
|
sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
|
|
|
|
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
|
2009-04-04 18:30:56 +00:00
|
|
|
- ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
|
2006-06-11 00:41:05 +00:00
|
|
|
+ ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
|
|
|
|
${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
|
|
|
|
rm -f Makefile.tmp
|
|
|
|
else
|