aboutsummaryrefslogtreecommitdiff
path: root/install-win32/maketapinstall
blob: e10f25c9efdab79c359381ed64a5a041d56c0d4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# Build the x86 and x64 versions of the tapinstall tool
# Requires the Windows DDK.
# TISRC should be set to directory containing
# tapinstall source code.

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

if [ -z "$DRVBINSRC" ] ; then
    rm -rf tapinstall
    cp -a "$TISRC" tapinstall

    cd tapinstall
    t=`pwd`
    cd ..

    for mode in "fre WNET" "fre AMD64 WNET"; do
	echo '**********' build TAPINSTALL $mode
	cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
    done
fi