aboutsummaryrefslogtreecommitdiff
path: root/install-win32/maketapinstall
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-07 07:08:49 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-07 07:08:49 +0000
commit0039dd40464ea8544022abb32e220224ab71d6e5 (patch)
treed58e23208cccfbd533be63864442bc86352d34d3 /install-win32/maketapinstall
parentForgot to svn add buildinstaller before last commit. (diff)
downloadopenvpn-0039dd40464ea8544022abb32e220224ab71d6e5.tar.xz
Cleaned up Windows build scripts.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1763 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/maketapinstall')
-rw-r--r--install-win32/maketapinstall26
1 files changed, 14 insertions, 12 deletions
diff --git a/install-win32/maketapinstall b/install-win32/maketapinstall
index dff2f21..e10f25c 100644
--- a/install-win32/maketapinstall
+++ b/install-win32/maketapinstall
@@ -1,21 +1,23 @@
#!/bin/sh
# Build the x86 and x64 versions of the tapinstall tool
-# Requires the Windows DDK
-
-TISRC=../tapinstall
+# Requires the Windows DDK.
+# TISRC should be set to directory containing
+# tapinstall source code.
# get version.nsi definitions
. autodefs/nsidefs.sh
-rm -rf tapinstall
-cp -a $TISRC tapinstall
+if [ -z "$DRVBINSRC" ] ; then
+ rm -rf tapinstall
+ cp -a "$TISRC" tapinstall
-cd tapinstall
-t=`pwd`
-cd ..
+ 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
+ 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