summaryrefslogtreecommitdiffstats
path: root/install-win32/makeopenvpn
diff options
context:
space:
mode:
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