aboutsummaryrefslogtreecommitdiff
path: root/install-win32/makeopenvpn
blob: 48522e610b4d9f9f43d8a1e19fad766ea755ee93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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