Refactor EGD conditional support
[heimdal.git] / windows / NTMakefile.config
blob4da9cb53ae298e5b7763e3146b41537da9e2a602
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
19 !if [ $(PERL) $(SRC)\cf\w32-detect-vc-version.pl $(CC) ]==16
20 HAVE_STDINT_H=1
21 HAVE_INT64_T=1
22 !endif
27 # ------------------------------------------------------------
28 # Features
30 # For each feature enabled here, a corresponding line must exist in
31 # the inline Perl script in include\NTMakefile.
33 # Enable Kerberos v5 support in applications
34 KRB5=1
36 # Enable PKINIT
37 PKINIT=1
39 # Disable AFS support
40 NO_AFS=1
42 # OpenLDAP package is available
43 # OPENLDAP=1
45 # OpenLDAP include directory
46 # OPENLDAP_INC=
48 # OpenLDAP library to link against
49 # OPENLDAP_LIB=
51 # Support HDB LDAP module
52 # OPENLDAP_MODULE=1
54 # OTP support in applications
55 OTP=1
57 # Authentication support in telnet
58 AUTHENTICATION=1
60 # Enable diagnostics in telnet
61 DIAGNOSTICS=1
63 # Enable encryption support in telnet
64 ENCRYPTION=1
66 # Use the weak AFS string to key functions
67 # ENABLE_AFS_STRING_TO_KEY=1
69 !ifdef PTHREAD_INC
70 !ifdef PTHREAD_LIB
72 # We have <pthread.h>
73 HAVE_PTHREAD_H=1
75 # Make thread-safe libraries
76 ENABLE_PTHREAD_SUPPORT=1
78 !endif
79 !endif
81 # Support for broken ENV_{VAR,VAL} telnets
82 # ENV_HACK=1
84 # Use the Kerberos Credentials Manager
85 # HAVE_KCM=1
87 # Use the sqlite backend
88 HAVE_SCC=1
90 DIR_hdbdir=%{COMMON_APPDATA}/heimdal/hdb
92 # Enable weak crypto
93 WEAK_CRYPTO=1
95 # Disable use of GSS LOCALNAME support
96 NO_LOCALNAME=1
98 # Windows CRT mkdir does not have the mode parameter
99 MKDIR_DOES_NOT_HAVE_MODE=1
101 # Windows CRT rename does not unlink the target
102 RENAME_DOES_NOT_UNLINK=1
104 # Disable build of installers
105 !ifndef NO_INSTALLERS
106 BUILD_INSTALLERS=1
107 !endif