0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 20:03:13 +02:00
openvpn/win/settings.in
Samuli Seppänen 4b312378e9 Replaced config-win32.h with win/config.h.in
The original config-win32.h - a static header file - has been superceded by both
"domake-win" script and the new Python-based buildsystem. Transformed it into a
template file, win/config.h.in, which obtains the most commonly used build
parameters from win/settings.in.

Added support code to win/config.py and win/wb.py to preprocess win/config.h.in
and copy it to config.h, from where source and header files can find it.

Removed all references to config-win32.h. Also removed obsolete
PACKAGE_BUGREPORT and USE_PTHREAD variables from the win/config.h.in file.

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: James Yonan <james@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
2011-03-21 15:15:19 +01:00

88 lines
2.6 KiB
Plaintext

# 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"
# 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 ""