# Version numbers, settings, and dependencies
# for Windows OpenVPN installer.
#
# Note that some variables are parsed by wb.py from version.m4 and are not 
# stored in this file. This is done to allow using the old and new Windows build 
# systems side-by-side

# Features to include. DO NOT comment these out, use 1 to enable and 0 to
# disable.
!define ENABLE_PASSWORD_SAVE 1

# ENABLE_CLIENT_SERVER enables the point-to-multipoint support. Normally you
# want to have this enabled.
!define ENABLE_CLIENT_SERVER 1

# ENABLE_CLIENT_ONLY removes server-side point-to-multipoint features. This
# depends on ENABLE_CLIENT_SERVER being set to 1.
!define ENABLE_CLIENT_ONLY 0

!define ENABLE_MANAGEMENT 1
!define ENABLE_HTTP_PROXY 1
!define ENABLE_SOCKS 1
!define ENABLE_FRAGMENT 1
!define ENABLE_DEBUG 1

# Branding
!define PRODUCT_NAME      "OpenVPN"
!define PRODUCT_UNIX_NAME "openvpn"
!define PRODUCT_FILE_EXT  "ovpn"

# Include the OpenVPN GUI exe in the installer. Comment out USE_GUI to disable.
!define USE_GUI
!define OPENVPN_GUI_DIR "../openvpn-gui"
!define OPENVPN_GUI     "openvpn-gui-1.0.3.exe"

# Uncomment to use the PKCS#11 helper library
!define USE_PKCS11 0
;!define INCLUDE_PKCS11

# Prebuilt libraries.  DMALLOC is optional.
!define OPENSSL_DIR	  "../openssl"
!define LZO_DIR		  "../lzo"
!define PKCS11_HELPER_DIR "../pkcs11-helper"

# write output files here
!define DIST   "dist"

# tapinstall.exe (a.k.a. devcon.exe) source code. Not needed if DRVBINSRC is 
# defined (or if using pre-built mode).
!define TISRC	"../tapinstall"

# TAP adapter icon -- visible=0x81 or hidden=0x89
!define PRODUCT_TAP_CHARACTERISTICS     0x81

# TAP adapter metadata. Version information in ../version.m4.
!define PRODUCT_TAP_RELDATE    "04/19/2010"
!define PRODUCT_TAP_DEVICE_DESCRIPTION    "TAP-Win32 Adapter V9"
!define PRODUCT_TAP_PROVIDER    "TAP-Win32 Provider V9"

# Build debugging version of TAP driver
;!define PRODUCT_TAP_DEBUG

# Build debugging version of openvpn.exe
;!define PRODUCT_OPENVPN_DEBUG

# DDK path -- currently Windows 7 WDK
!define DDK_PATH "c:/winddk/7600.16385.1"
;!define DDK_PATH "c:/winddk/6001.18002"

# output path for tap_span.py
!define TAP_DIST "tap_dist"

# Visual studio path
!define MSVC "C:/Program Files/Microsoft Visual Studio 9.0"

# Visual studio C run-time library path
!define MSVC_CRT "../Microsoft.VC90.CRT"

# Code Signing.
# If undefined, don't sign any files.
!define SIGNTOOL        "../signtool"
!define PRODUCT_SIGN_CN "openvpn"

# Directory with prebuilt TAP drivers and tapinstall.exes
!define TAP_PREBUILT "../tap-prebuilt"

; DEBUGGING -- set to something like "-DBG2"
!define OUTFILE_LABEL ""

; DEBUGGING -- set to something like "DEBUG2"
!define TITLE_LABEL ""
