blob: c3a9f26676cb7c6e6ec563e1423f59c92d9671e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh
# Build the x86 and x64 versions of the TAP driver
# Requires the Windows DDK
# get version.nsi definitions
. autodefs/defs.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-build &>/dev/null
|