2004-07-26 02:34:14 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
2005-12-05 21:18:09 +08:00
|
|
|
|
2005-03-19 20:38:37 +08:00
|
|
|
if test -n "$OPENSSL_OPT"; then
|
|
|
|
NGX_OPENSSL_CONFIG="./Configure \"$OPENSSL_OPT\""
|
|
|
|
else
|
|
|
|
NGX_OPENSSL_CONFIG="./config"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test -n "$USE_THREADS"; then
|
|
|
|
NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads"
|
|
|
|
fi
|
2004-09-30 00:00:49 +08:00
|
|
|
|
2005-02-22 22:40:13 +08:00
|
|
|
case "$NGX_PLATFORM" in
|
2004-07-26 02:34:14 +08:00
|
|
|
*)
|
2005-03-19 20:38:37 +08:00
|
|
|
cat << END >> $NGX_MAKEFILE
|
|
|
|
|
|
|
|
$OPENSSL/libssl.a:
|
|
|
|
cd $OPENSSL \\
|
|
|
|
&& \$(MAKE) clean \\
|
|
|
|
&& $NGX_OPENSSL_CONFIG no-shared \\
|
|
|
|
&& \$(MAKE)
|
|
|
|
|
|
|
|
END
|
|
|
|
|
2004-07-26 02:34:14 +08:00
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|