From 87801aca5118911843a1a7da206c896b6d4edcd6 Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Sun, 28 Nov 2010 00:28:51 -0500 Subject: [PATCH] Windows: Build gsstool --- lib/NTMakefile | 5 ++++- lib/gssapi/NTMakefile | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/NTMakefile b/lib/NTMakefile index c02efe165..aef3c0435 100644 --- a/lib/NTMakefile +++ b/lib/NTMakefile @@ -54,7 +54,7 @@ SUBDIRS = vers editline com_err sl wind asn1 sqlite \ all:: all-tools -all-tools:: asn1-tools hx509-tools krb5-tools kadm5-tools +all-tools:: asn1-tools hx509-tools krb5-tools kadm5-tools gss-tools asn1-tools: @( cd asn1 && $(RMAKE) all-tools && cd .. ) || exit /b 1 @@ -67,3 +67,6 @@ krb5-tools: kadm5-tools: @( cd kadm5 && $(RMAKE) all-tools && cd .. ) || exit /b 1 + +gss-tools: + @( cd gssapi && $(RMAKE) all-tools && cd ..) || exit /b 1 diff --git a/lib/gssapi/NTMakefile b/lib/gssapi/NTMakefile index 4104429c9..1a5b256cf 100644 --- a/lib/gssapi/NTMakefile +++ b/lib/gssapi/NTMakefile @@ -521,6 +521,17 @@ clean:: -$(RM) $(OBJ)\mech\*.* -$(RM) $(OBJ)\gssapi\*.* +all-tools:: $(OBJ)\gsstool.exe + +$(OBJ)\gsstool.exe: $(OBJ)\gsstool.obj $(OBJ)\gss-commands.obj $(LIBGSSAPI) $(LIBROKEN) $(LIBSL) $(LIBVERS) + $(EXECONLINK) + +$(OBJ)\gss-commands.c $(OBJ)\gss-commands.h: gss-commands.in + cd $(OBJ) + $(CP) $(SRCDIR)\gss-commands.in gss-commands.in + $(BINDIR)\slc.exe gss-commands.in + cd $(SRCDIR) + !ifdef ELISP # This macro invocation is used to update the libgssapi_OBJs # definition below (generate-obj-macro is defined in maint.el):