aboutsummaryrefslogtreecommitdiff
path: root/install-win32/maketap
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install-win32/maketap3
-rw-r--r--install-win32/maketapinstall21
2 files changed, 23 insertions, 1 deletions
diff --git a/install-win32/maketap b/install-win32/maketap
index 583c5e0..0d72fff 100644
--- a/install-win32/maketap
+++ b/install-win32/maketap
@@ -3,7 +3,8 @@
# Build the x86 and x64 versions of the TAP driver
# Requires the Windows DDK
-DDKVER=3790
+# get version.nsi definitions
+. autodefs/nsidefs.sh
cd tap-win32
t=`pwd`
diff --git a/install-win32/maketapinstall b/install-win32/maketapinstall
new file mode 100644
index 0000000..dff2f21
--- /dev/null
+++ b/install-win32/maketapinstall
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# Build the x86 and x64 versions of the tapinstall tool
+# Requires the Windows DDK
+
+TISRC=../tapinstall
+
+# get version.nsi definitions
+. autodefs/nsidefs.sh
+
+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