xref: /netbsd-src/crypto/external/bsd/heimdal/dist/windows/NTMakefile.config (revision b9d004c6cc8d38329417ae29768c81e5f2a296cf)
1!if exist (..\..\..\thirdparty\NTMakefile.version)
2!  include <..\..\..\thirdparty\NTMakefile.version>
3!elseif exist (..\..\thirdparty\NTMakefile.version)
4!  include <..\..\thirdparty\NTMakefile.version>
5!elseif exist (..\thirdparty\NTMakefile.version)
6!  include <..\thirdparty\NTMakefile.version>
7!elseif exist (thirdparty\NTMakefile.version)
8!  include <thirdparty\NTMakefile.version>
9!elseif exist (..\..\..\windows\NTMakefile.version)
10!  include <..\..\..\windows\NTMakefile.version>
11!elseif exist (..\..\windows\NTMakefile.version)
12!  include <..\..\windows\NTMakefile.version>
13!elseif exist (..\windows\NTMakefile.version)
14!  include <..\windows\NTMakefile.version>
15!else
16!  include <windows\NTMakefile.version>
17!endif
18
19!if [ $(PERL) $(SRC)\cf\w32-detect-vc-version.pl $(CC) ]==16
20HAVE_STDINT_H=1
21HAVE_INT64_T=1
22!endif
23
24
25
26
27# ------------------------------------------------------------
28# Features
29#
30# For each feature enabled here, a corresponding line must exist in
31# the inline Perl script in include\NTMakefile.
32
33# Enable Kerberos v5 support in applications
34KRB5=1
35
36# Enable KX509 support in the KDC
37KX509=1
38
39# Enable PKINIT
40PKINIT=1
41
42# Disable AFS support
43NO_AFS=1
44
45# OpenSSL (mostly not needed on Windows, but should work)
46# INCLUDE_openssl_crypto=
47# LIB_openssl_crypto=
48
49# OpenLDAP package is available
50# OPENLDAP=1
51
52# OpenLDAP include directory
53# OPENLDAP_INC=
54
55# OpenLDAP library to link against
56# OPENLDAP_LIB=
57
58# Support HDB LDAP module
59# OPENLDAP_MODULE=1
60
61# OTP support in applications
62OTP=1
63
64# Authentication support in telnet
65AUTHENTICATION=1
66
67# Enable diagnostics in telnet
68DIAGNOSTICS=1
69
70# Enable encryption support in telnet
71ENCRYPTION=1
72
73# Use the weak AFS string to key functions
74# ENABLE_AFS_STRING_TO_KEY=1
75
76!ifdef PTHREAD_INC
77!ifdef PTHREAD_LIB
78
79# We have <pthread.h>
80HAVE_PTHREAD_H=1
81
82# Make thread-safe libraries
83ENABLE_PTHREAD_SUPPORT=1
84
85!endif
86!endif
87
88# Support for broken ENV_{VAR,VAL} telnets
89# ENV_HACK=1
90
91# Use the Kerberos Credentials Manager
92# HAVE_KCM=1
93
94# Use the sqlite backend
95HAVE_SCC=1
96
97DIR_hdbdir=%{COMMON_APPDATA}/heimdal/hdb
98
99# Disable weak crypto
100WEAK_CRYPTO=0
101
102# Enable hcrypt fallback mechanisms
103HCRYPTO_FALLBACK=1
104
105# Disable use of GSS LOCALNAME support
106NO_LOCALNAME=1
107
108# Windows CRT mkdir does not have the mode parameter
109MKDIR_DOES_NOT_HAVE_MODE=1
110
111# Windows CRT rename does not unlink the target
112RENAME_DOES_NOT_UNLINK=1
113
114# Disable build of installers
115!ifndef NO_INSTALLERS
116BUILD_INSTALLERS=1
117!endif
118