diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-04-25 21:37:49 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-04-25 21:37:49 +0000 |
commit | 657ecf14acc58a6d345341a5e36411bde5be9cd9 (patch) | |
tree | 4f5a53feb9c26991d822e2e606de511f57e32be6 /install-win32/maketap | |
parent | Forgot to add changelog item about OpenVPN GUI being (diff) | |
download | openvpn-657ecf14acc58a6d345341a5e36411bde5be9cd9.tar.xz |
TAP driver now passes signing tests on Vista x64.
Added new settings to settings.in to better control
build process.
Removed some unneeded JYFIXMEs from source code.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1874 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/maketap')
-rw-r--r-- | install-win32/maketap | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/install-win32/maketap b/install-win32/maketap index c3a9f26..3082db7 100644 --- a/install-win32/maketap +++ b/install-win32/maketap @@ -6,25 +6,52 @@ # get version.nsi definitions . autodefs/defs.sh -amdtarget="" -if [ -z "$TAP_BIN_AMD64" ]; then +if [ -n "$PRODUCT_TAP_DEBUG" ] ; then + w2ktarget="w2k c" + amdtarget="chk AMD64 WNET" +else + w2ktarget="w2k f" amdtarget="fre AMD64 WNET" fi if [ -z "$DRVBINSRC" ] ; then + if [ -n "$TAP_BIN_AMD64" ]; then + amdtarget="" + fi + cd tap-win32 t=`pwd` cd .. - for mode in "w2k f" "$amdtarget"; do + for mode in "$w2ktarget" "$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 -title openvpn-build &>/dev/null + if [ -n "$TAP_BIN_AMD64" ]; then + mkdir -p $t/amd64 + cp "$TAP_BIN_AMD64" $t/amd64 + fi + + # copy driver files into tap-win32/dist + cd tap-win32 + rm -rf dist + mkdir dist + cd dist + mkdir i386 + mkdir amd64 + cd i386 + x86=`pwd` + cd ../amd64 + x64=`pwd` + cd ../.. + cp i386/OemWin2k.inf $x86 + cp i386/*.sys $x86 + cp amd64/OemWin2k.inf $x64 + cp amd64/*.sys $x64 + out="TAP driver catalog file is undefined"; + echo "$out" >$x86/$PRODUCT_TAP_ID.cat + echo "$out" >$x64/$PRODUCT_TAP_ID.cat +fi |