0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 12:02:28 +02:00
openvpn/install-win32/makebin
james 657ecf14ac TAP driver now passes signing tests on Vista x64.
Added new settings to settings.in to better control
build process.

Removed some unneeded JYFIXMEs from source code.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1874 e7ae566f-a301-0410-adde-c780ea21d3b5
2007-04-25 21:37:49 +00:00

51 lines
1.2 KiB
Bash

#!/bin/sh
# Assemble binaries into bin
# get version.nsi definitions
. autodefs/defs.sh
rm -rf bin
mkdir bin
# Get OpenVPN executable
cp $PRODUCT_UNIX_NAME.exe bin
strip bin/$PRODUCT_UNIX_NAME.exe
# Get OpenVPN service
cp service-win32/${PRODUCT_UNIX_NAME}serv.exe bin
strip bin/${PRODUCT_UNIX_NAME}serv.exe
# Get OpenSSL binaries
for f in libeay32.dll libssl32.dll openssl.exe ; do
cp $OPENSSL_DIR/$f bin
strip bin/$f
done
# $DRVBINSRC, if defined, points to prebuilt TAP driver and
# tapinstall.exe.
if [ -z "$DRVBINSRC" ] ; then
# Get TAP drivers
cp -a tap-win32/dist bin/driver
# Get tapinstall
mkdir bin/tapinstall
mkdir bin/tapinstall/i386
mkdir bin/tapinstall/amd64
cp tapinstall/objfre_w2k_x86/i386/tapinstall.exe bin/tapinstall/i386
cp tapinstall/objfre_wnet_amd64/amd64/tapinstall.exe bin/tapinstall/amd64
else
cp -a $DRVBINSRC/driver bin/driver
cp -a $DRVBINSRC/tapinstall bin/tapinstall
fi
# $DRVBINDEST, if defined, points to a destination directory
# where TAP driver and tapinstall.exe will be saved, to be used
# as a $DRVBINSRC in future builds.
if [ -n "$DRVBINDEST" ] ; then
rm -rf $DRVBINDEST
mkdir $DRVBINDEST
cp -a bin/driver $DRVBINDEST
cp -a bin/tapinstall $DRVBINDEST
fi