From c08c4118530952aadc30ab6ba0674509e97f5af3 Mon Sep 17 00:00:00 2001 From: Asanka Herath Date: Wed, 26 Aug 2009 12:43:44 -0400 Subject: [PATCH] Add KRB4 and DIR_hdbdir to the FEATURE_DEFS list Add version.h and heim_threads.h to the list of include files. --- include/NTMakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/NTMakefile b/include/NTMakefile index 1a5454877..144b6ed2a 100644 --- a/include/NTMakefile +++ b/include/NTMakefile @@ -38,9 +38,10 @@ SUBDIRS=kadm5 hcrypto gssapi INCFILES= \ $(INCDIR)\config.h \ - $(INCDIR)\version.h \ + $(INCDIR)\crypto-headers.h \ + $(INCDIR)\heim_threads.h \ $(INCDIR)\krb5-types.h \ - $(INCDIR)\crypto-headers.h + $(INCDIR)\version.h MAKECRYPTO=$(OBJ)\make_crypto.exe @@ -64,6 +65,7 @@ while(<>) { if (m/\@FEATURE_DEFS\@/) { if ("$(KRB5)") { print "#define KRB5 1\n"; } + if ("$(KRB4)") { print "#define KRB4 1\n"; } if ("$(PKINIT)") { print "#define PKINIT 1\n"; } if ("$(NO_AFS)") { print "#define NO_AFS 1\n"; } if ("$(OPENLDAP)") { print "#define OPENLDAP 1\n"; } @@ -77,6 +79,7 @@ while(<>) { if ("$(HAVE_PTHREAD_H)") { print "#define HAVE_PTHREAD_H 1\n"; } if ("$(ENV_HACK)") { print "#define ENV_HACK 1\n"; } if ("$(HAVE_KCM)") { print "#define HAVE_KCM 1\n"; } + if ("$(DIR_hdbdir)") { print "#define HDB_DB_DIR \"$(DIR_hdbdir)\"\n"; } } elsif (m/\@VERSION_OPTDEFS\@/) { @@ -101,6 +104,7 @@ while(<>) { print $_; } } + << $(INCDIR)\version.h: ..\windows\NTMakefile.config NTMakefile