diff -r openssl-0.9.8b/crypto/opensslconf.h openssl-0.9.8b.fritz/crypto/opensslconf.h
20a21,23
> #ifndef OPENSSL_THREADS
> # define OPENSSL_THREADS
> #endif
51,52c54,55
< #define ENGINESDIR "/usr/local/ssl/lib/engines"
< #define OPENSSLDIR "/usr/local/ssl"
---
> #define ENGINESDIR "/home/jspies/fritz/ds-0.2.2/toolchain/target/lib/engines"
> #define OPENSSLDIR "/home/jspies/fritz/ds-0.2.2/toolchain/target/ssl"
diff -r openssl-0.9.8b/include/openssl/opensslconf.h openssl-0.9.8b.fritz/include/openssl/opensslconf.h
20a21,23
> #ifndef OPENSSL_THREADS
> # define OPENSSL_THREADS
> #endif
51,52c54,55
< #define ENGINESDIR "/usr/local/ssl/lib/engines"
< #define OPENSSLDIR "/usr/local/ssl"
---
> #define ENGINESDIR "/home/jspies/fritz/ds-0.2.2/toolchain/target/lib/engines"
> #define OPENSSLDIR "/home/jspies/fritz/ds-0.2.2/toolchain/target/ssl"
diff -r openssl-0.9.8b/Makefile openssl-0.9.8b.fritz/Makefile
15,17c15,17
< PLATFORM=dist
< OPTIONS= no-gmp no-krb5 no-mdc2 no-rc5 no-shared no-zlib no-zlib-dynamic
< CONFIGURE_ARGS=dist
---
> PLATFORM=linux-mipsel
> OPTIONS=linux-mipsel:mipsel-linux-gcc enable-shared --prefix=/home/jspies/fritz/ds-0.2.2/toolchain/target -mcpu=pentium no-gmp no-krb5 no-mdc2 no-rc5 no-zlib no-zlib-dynamic
> CONFIGURE_ARGS=linux-elf linux-mipsel:mipsel-linux-gcc shared --prefix=/home/jspies/fritz/ds-0.2.2/toolchain/target -mcpu=pentium
29c29
< INSTALLTOP=/usr/local/ssl
---
> INSTALLTOP=/home/jspies/fritz/ds-0.2.2/toolchain/target
32c32
< OPENSSLDIR=/usr/local/ssl
---
> OPENSSLDIR=/home/jspies/fritz/ds-0.2.2/toolchain/target/ssl
62,63c62,65
< CC= cc
< CFLAG= -O
---
> CC= mipsel-linux-gcc
> LD= mipsel-linux-ld
> #CFLAG= -DOPENSSL_THREADS -mcpu=pentium
> CFLAG= -DOPENSSL_THREADS -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -mips2 -D_FILE_OFFSET_BITS=32
70c72
< RANLIB= /usr/bin/ranlib
---
> RANLIB= mipsel-linux-ranlib
155c157
< all: Makefile build_all openssl.pc libssl.pc libcrypto.pc
---
> all: Makefile build_all openssl.pc libssl.pc libcrypto.pc shared-library
590a593,595
> shared-library:
> $(LD) -shared -o libcrypto.so $(shell find crypto -iname "*.o") $(shell find engines -iname "*.o")
> $(LD) -shared -o libssl.so $(shell find ssl -iname "*.o")
diff -r openssl-0.9.8b/tools/c_rehash openssl-0.9.8b.fritz/tools/c_rehash
9c9
< my $dir = "/usr/local/ssl";
---
> my $dir = "/home/jspies/fritz/ds-0.2.2/toolchain/target/ssl";