Makefile-win32 didn't run until you had run ./configure.
[wvapps.git] / configure-mingw32
blob9c075ff682ac6db6e33d56d1a4fd762b322cf4c8
1 #!/bin/sh
3 rm -f config.mk
4 cat >config.mk <<-EOF
5 CONFIGHOST=--host=i586-mingw32msvc
6 CC=i586-mingw32msvc-gcc
7 AR=i586-mingw32msvc-ar
8 ARRC=\$(AR) rc
9 RANLIB=i586-mingw32msvc-ranlib
10 WV_BUILD_MINGW=1
11 export CC AR RANLIB
12 EOF
14 make wvports/zlib wvports/xplc wvports/openssl
16 echo "--> Configuring WvStreams..."
17 (cd wvstreams && make -f Makefile-win32 runconfigure)
18 (cd wvstreams && ./configure-mingw32 \
19 --disable-debug \
20 --disable-optimization \
21 --disable-exceptions \
22 --with-xplc=../wvports/xplc/build/xplc \
23 --with-openssl=../wvports/openssl/build/openssl \
24 --with-zlib=../wvports/zilb/build/zlib \
25 "$@") || exit $?