diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-01 10:13:59 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-01 10:13:59 +0000 |
commit | 63082c8a210741e2c390f78669009697128cfe30 (patch) | |
tree | 0df33f1061a4cb681804f9d77fb0493d0578b5c0 /install-win32/winconfig | |
parent | Version 2.1_rc7 (diff) | |
download | openvpn-63082c8a210741e2c390f78669009697128cfe30.tar.xz |
Changes to Windows build system to make it easier to do
partial builds, where only a subset of OpenVPN installer
components are built. See ./domake-win comments.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2710 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/winconfig')
-rw-r--r-- | install-win32/winconfig | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/install-win32/winconfig b/install-win32/winconfig index 5f823a2..9beaca3 100644 --- a/install-win32/winconfig +++ b/install-win32/winconfig @@ -3,54 +3,13 @@ # prepare files for building on Windows # run from top directory: install-win32/winconfig -c=`pwd` - rm -rf autodefs mkdir autodefs -MACRO="perl install-win32/macro.pl autodefs/defs.in" -IFDEF="perl install-win32/ifdef.pl" - -# silly vista security theatre -PATCH="/tmp/p.exe" -cp `which patch` $PATCH - # build multi-grammar definition files perl install-win32/m4todef.pl <version.m4 >autodefs/version.in for g in "h" "sh" "nsi" "in" ; do perl install-win32/trans.pl $g install-win32/settings.in >autodefs/defs.$g done -# load sh definitions -. autodefs/defs.sh - -# configure tap driver sources -rm -rf tap-win32/amd64 -mkdir tap-win32/amd64 -$MACRO <tap-win32/SOURCES.in >tap-win32/SOURCES -$MACRO <tap-win32/i386/OemWin2k.inf.in | $IFDEF >tap-win32/i386/OemWin2k.inf -$MACRO <tap-win32/i386/OemWin2k.inf.in | $IFDEF -DAMD64 >tap-win32/amd64/OemWin2k.inf - -# configure service -if [ -n "$SVC_TEMPLATE" ] ; then - cd $c - cp $SVC_TEMPLATE/service.[ch] service-win32 - cd service-win32 - cp service.c service.c.orig - cp service.h service.h.orig - $PATCH <service.patch -fi - -# build license file -cd $c -cat COPYING COPYRIGHT.GPL >install-win32/license.txt - -# copy sample configuration files and docs -s=samples -rm -rf $s -mkdir $s -cp sample-config-files/client.conf $s/client.$PRODUCT_FILE_EXT -cp sample-config-files/server.conf $s/server.$PRODUCT_FILE_EXT -cp install-win32/sample.ovpn $s/sample.$PRODUCT_FILE_EXT -cp easy-rsa/1.0/openssl.cnf $s/openssl.cnf.sample -cp INSTALL-win32.txt install-win32 +cat /dev/null >autodefs/guidefs.nsi |