TclPKCS11

make-win32 at [71e86b341f]
Login

make-win32 at [71e86b341f]

File build/make-win32 artifact a073e1f521 part of check-in 71e86b341f


#! /bin/sh

make distclean

AR=i586-mingw32msvc-ar
CC=i586-mingw32msvc-gcc
CXX=i586-mingw32msvc-g++
RANLIB=i586-mingw32msvc-ranlib
RC=i586-mingw32msvc-windres
STRIP=i586-mingw32msvc-strip
export AR CC CXX RANLIB RC STRIP

CFLAGS='-Wall -Werror -W' ./configure --host=i586-mingw32msvc --with-tcl=build/win32

# Replace version with the version
. build/makearch.info
sed "s/@@VERS@@/${VERS}/g" Makefile > Makefile.new && cat Makefile.new > Makefile
rm -f Makefile.new

make
"${STRIP}" -x tclpkcs11.dll