openvpn/install-win32/makeopenvpn
james 1568d7f428 Version is now specified in version.m4 for both
unix and windows versions.
Reworked the Windows build scripting system, with
settings (other than version #) specified in settings.in.
Moved the native scripting grammar as defined by trans.pl
away from NSIS and to something more generic. 


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1867 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-04-22 08:21:16 +00:00

17 lines
352 B
Bash

#!/bin/sh
# get version.nsi definitions
. autodefs/defs.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