aboutsummaryrefslogtreecommitdiff
path: root/install-win32/makebin
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-06 10:49:18 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-06 10:49:18 +0000
commita4d3945020e01bbfa83276ee83b311ea922cfb76 (patch)
treed25ee75490b37768e500fc5fea6e07b6eaa3e616 /install-win32/makebin
parentAdded maketap and signtap scripts. (diff)
downloadopenvpn-a4d3945020e01bbfa83276ee83b311ea922cfb76.tar.xz
Added maketapinstall.
Added makebin to build bin directory. Modified openvpn.nsi to read distribution files from the new locations. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1760 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/makebin')
-rw-r--r--install-win32/makebin33
1 files changed, 33 insertions, 0 deletions
diff --git a/install-win32/makebin b/install-win32/makebin
new file mode 100644
index 0000000..6c8cc31
--- /dev/null
+++ b/install-win32/makebin
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+# Assemble binaries into bin
+
+# get version.nsi definitions
+. autodefs/nsidefs.sh
+
+rm -rf bin
+mkdir bin
+
+# Get OpenVPN executable
+cp openvpn.exe bin
+strip bin/openvpn.exe
+
+# Get OpenVPN service
+cp service-win32/openvpnserv.exe bin
+strip bin/openvpnserv.exe
+
+# Get OpenSSL binaries
+for f in libeay32.dll libssl32.dll openssl.exe ; do
+ cp ../openssl-${OPENSSL_VERSION}/$f bin
+ strip bin/$f
+done
+
+# Get TAP drivers
+cp -a tap-win32/dist bin/driver
+
+# Get tapinstall
+mkdir bin/tapinstall
+mkdir bin/tapinstall/i386
+mkdir bin/tapinstall/amd64
+cp tapinstall/objfre_wnet_x86/i386/tapinstall.exe bin/tapinstall/i386
+cp tapinstall/objfre_wnet_amd64/amd64/tapinstall.exe bin/tapinstall/amd64