From 0039dd40464ea8544022abb32e220224ab71d6e5 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 7 Mar 2007 07:08:49 +0000 Subject: Cleaned up Windows build scripts. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1763 e7ae566f-a301-0410-adde-c780ea21d3b5 --- install-win32/version.nsi | 54 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 6 deletions(-) (limited to 'install-win32/version.nsi') diff --git a/install-win32/version.nsi b/install-win32/version.nsi index b371c29..164dc19 100644 --- a/install-win32/version.nsi +++ b/install-win32/version.nsi @@ -1,15 +1,57 @@ -; Version numbers and settings +# Version numbers, settings, and dependencies +# for Windows OpenVPN installer. !define PRODUCT_VERSION "2.1_rc2c" -!define OPENSSL_VERSION "0.9.7l" -; TAP Adapter +# Copy installer to this directory when finished. +# If undefined, don't copy installer after generation. +!define INSTALLER_DEST "/y" + +# Prebuilt libraries. DMALLOC is optional. +!define OPENSSL_DIR "../openssl-0.9.7l" +!define LZO_DIR "../lzo-2.02" +!define DMALLOC_DIR "../dmalloc-5.4.2" + +# Write TAP driver and tapinstall.exe to this directory, +# to use as prebuilt binaries for future builds. May +# be undefined. +;!define DRVBINDEST "../tapbin" + +# Don't build TAP driver and tapinstall.exe -- instead get +# them as prebuilt binaries from this directory. May be +# undefined. +;!define DRVBINSRC "../tapbin" + +# tapinstall.exe source code. +# Not needed if DRVBINSRC is defined. +!define TISRC "../tapinstall" + +# TAP Adapter parameters. !define PRODUCT_TAP_MAJOR_VER 9 !define PRODUCT_TAP_MINOR_VER 2 !define PRODUCT_TAP_RELDATE "03/05/2007" -; Service template files service.[ch] (get from Platform SDK) +# Service template files service.[ch] (get from Platform SDK). +# If undefined, don't build openvpnserv.exe !define SVC_TEMPLATE "../svc-template" -; DDK Version -!define DDKVER 3790 +# DDK Version. +# DDK distribution is assumed to be in C:\WINDDK\${DDKVER} +# Not needed if DRVBINSRC is defined. +!define DDKVER "3790" + +# Code Signing. +# This directory should contain signcode.exe + key files. +# If undefined, don't sign any files. +!define SIGNCODE "../sign" + +# INF2CAT should point to the MS inf2cat distribution. +# inf2cat is used for driver signing. +# If undefined, don't sign any files. +!define INF2CAT "../inf2cat" + +# -j parameter passed to make +!define MAKE_JOBS 2 + +# do a make clean before make +!define MAKE_CLEAN "yes" -- cgit v1.2.3