summaryrefslogtreecommitdiffstats
path: root/install-win32/makeopenvpn
blob: 31df6046f35cf81ea7f3ab6cc876c1d902b31801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# get version.nsi definitions
. autodefs/defs.sh

# build OpenVPN binary
[ "$CLEAN" = "yes" ] && make -f makefile.w32 clean
make -f makefile.w32 -j $MAKE_JOBS

# copy OpenVPN executable to GENOUT/bin
mkdir -p $GENOUT/bin &>/dev/null
cp $PRODUCT_UNIX_NAME.exe $GENOUT/bin
strip $GENOUT/bin/$PRODUCT_UNIX_NAME.exe