mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 13:41:06 +08:00

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
17 lines
352 B
Bash
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
|