1 Index: openssl-0.9.8e/util/domd
2 ===================================================================
3 --- openssl-0.9.8e.orig/util/domd 2007-06-04 13:23:32.130849264 +0200
4 +++ openssl-0.9.8e/util/domd 2007-06-04 13:23:32.408807008 +0200
8 # Do a makedepend, only leave out the standard headers
9 # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999
12 cp Makefile Makefile.save
13 # fake the presence of Kerberos
15 -if [ "$MAKEDEPEND" = "gcc" ]; then
16 +D=${MAKEDEPEND/%*gcc/gcc}
17 +if [ "$D" = "gcc" ]; then
19 while [ $# -gt 0 ]; do
20 if [ "$1" != "--" ]; then args="$args $1"; fi
23 sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
24 echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
25 - gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
26 + ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
27 ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new