!if exist (..\..\..\thirdparty\NTMakefile.version)
!  include <..\..\..\thirdparty\NTMakefile.version>
!elseif exist (..\..\thirdparty\NTMakefile.version)
!  include <..\..\thirdparty\NTMakefile.version>
!elseif exist (..\thirdparty\NTMakefile.version)
!  include <..\thirdparty\NTMakefile.version>
!elseif exist (thirdparty\NTMakefile.version)
!  include <thirdparty\NTMakefile.version>
!elseif exist (..\..\..\windows\NTMakefile.version)
!  include <..\..\..\windows\NTMakefile.version>
!elseif exist (..\..\windows\NTMakefile.version)
!  include <..\..\windows\NTMakefile.version>
!elseif exist (..\windows\NTMakefile.version)
!  include <..\windows\NTMakefile.version>
!else
!  include <windows\NTMakefile.version>
!endif

!if [ $(PERL) $(SRC)\cf\w32-detect-vc-version.pl $(CC) ]==16
HAVE_STDINT_H=1
HAVE_INT64_T=1
!endif




# ------------------------------------------------------------
# Features
#
# For each feature enabled here, a corresponding line must exist in
# the inline Perl script in include\NTMakefile.

# Enable Kerberos v5 support in applications
KRB5=1

# Enable KX509 support in the KDC
KX509=1

# Enable PKINIT
PKINIT=1

# Disable AFS support
NO_AFS=1

# OpenSSL (mostly not needed on Windows, but should work)
INCLUDE_openssl_crypto="C:\Program Files\OpenSSL\include"
LIB_openssl_crypto="C:\Program Files\OpenSSL\lib\VC\x64\MD\libcrypto.lib"

# OpenLDAP package is available
# OPENLDAP=1

# OpenLDAP include directory
# OPENLDAP_INC=

# OpenLDAP library to link against
# OPENLDAP_LIB=

# Support HDB LDAP module
# OPENLDAP_MODULE=1

# Authentication support in telnet
AUTHENTICATION=1

# Enable diagnostics in telnet
DIAGNOSTICS=1

# Enable encryption support in telnet
ENCRYPTION=1

# Use the weak AFS string to key functions
# ENABLE_AFS_STRING_TO_KEY=1

!ifdef PTHREAD_INC
!ifdef PTHREAD_LIB

# We have <pthread.h>
HAVE_PTHREAD_H=1

# Make thread-safe libraries
ENABLE_PTHREAD_SUPPORT=1

!endif
!endif

# Support for broken ENV_{VAR,VAL} telnets
# ENV_HACK=1

# Use the Kerberos Credentials Manager
# HAVE_KCM=1

# Use the sqlite backend
HAVE_SCC=1

DIR_hdbdir=%{COMMON_APPDATA}/heimdal/hdb

# Disable weak crypto
WEAK_CRYPTO=0

# Disable use of GSS LOCALNAME support
NO_LOCALNAME=1

# Windows CRT rename does not unlink the target
RENAME_DOES_NOT_UNLINK=1

# Disable build of installers
!ifndef NO_INSTALLERS
BUILD_INSTALLERS=1
!endif
