提交 20a3439e 编写于 作者: B Ben Laurie

Take account of Makefile.ssl removal.

上级 a273a282
...@@ -11,7 +11,7 @@ if [ "$1" = "-MD" ]; then ...@@ -11,7 +11,7 @@ if [ "$1" = "-MD" ]; then
fi fi
if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi
cp Makefile.ssl Makefile.save cp Makefile Makefile.save
# fake the presence of Kerberos # fake the presence of Kerberos
touch $TOP/krb5.h touch $TOP/krb5.h
if [ "$MAKEDEPEND" = "gcc" ]; then if [ "$MAKEDEPEND" = "gcc" ]; then
...@@ -20,15 +20,15 @@ if [ "$MAKEDEPEND" = "gcc" ]; then ...@@ -20,15 +20,15 @@ if [ "$MAKEDEPEND" = "gcc" ]; then
if [ "$1" != "--" ]; then args="$args $1"; fi if [ "$1" != "--" ]; then args="$args $1"; fi
shift shift
done done
sed -e '/^# DO NOT DELETE.*/,$d' < Makefile.ssl > Makefile.tmp sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
rm -f Makefile.tmp rm -f Makefile.tmp
else else
${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -f Makefile.ssl $@ ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND $@
${PERL} $TOP/util/clean-depend.pl < Makefile.ssl > Makefile.new ${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new
fi fi
mv Makefile.new Makefile.ssl mv Makefile.new Makefile
# unfake the presence of Kerberos # unfake the presence of Kerberos
rm $TOP/krb5.h rm $TOP/krb5.h
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册