summaryrefslogtreecommitdiffstats
path: root/install-win32/maketap
blob: 7d811f965513b924b3e1fd1966130ddf5db8176d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Build the x86 and x64 versions of the TAP driver
# Requires the Windows DDK

# get version.nsi definitions
. autodefs/nsidefs.sh

if [ -z "$DRVBINSRC" ] ; then
    cd tap-win32
    t=`pwd`
    cd ..

    for mode in "fre WNET" "fre AMD64 WNET"; 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