aboutsummaryrefslogtreecommitdiff
path: root/install-win32/makeopenvpn
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/makeopenvpn
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/makeopenvpn')
-rw-r--r--install-win32/makeopenvpn16
1 files changed, 16 insertions, 0 deletions
diff --git a/install-win32/makeopenvpn b/install-win32/makeopenvpn
new file mode 100644
index 0000000..c572af6
--- /dev/null
+++ b/install-win32/makeopenvpn
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# get version.nsi definitions
+. autodefs/nsidefs.sh
+
+# build OpenVPN binary
+[ "$MAKE_CLEAN" = "yes" ] && make -f makefile.w32 clean
+make -f makefile.w32 -j $MAKE_JOBS
+
+# build OpenVPN service (openvpnserv.exe)
+if [ -n "$SVC_TEMPLATE" ] ; then
+ cd service-win32
+ [ "$MAKE_CLEAN" = "yes" ] && make clean
+ make -j $MAKE_JOBS
+ cd ..
+fi