blob: 1ee4ed5e8088f34781ba0e2a678dc1e7b9b81d9c (
plain) (
tree)
|
|
#!/bin/sh
# Build the x86 and x64 versions of the TAP driver
# Requires the Windows DDK
# get version.nsi definitions
. autodefs/nsidefs.sh
amdtarget=""
if [ -z "$TAP_BIN_AMD64" ]; then
amdtarget="fre AMD64 WNET"
fi
if [ -z "$DRVBINSRC" ] ; then
cd tap-win32
t=`pwd`
cd ..
for mode in "w2k f" "$amdtarget"; do
echo '**********' build TAP $mode
cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
done
fi
if [ -n "$TAP_BIN_AMD64" ]; then
mkdir -p $t/amd64
cp "$TAP_BIN_AMD64" $t/amd64
fi
title openvpn &>/dev/null
|