kauth: permit kauth/test to build on Windows (again)

Change-Id: I28f7bc93e189a2fcf3651552e00b4214bb6ec799
Reviewed-on: http://gerrit.openafs.org/5473
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2011-09-20 23:54:08 -04:00 committed by Jeffrey Altman
parent 8583124515
commit 39d5bb10b0
2 changed files with 15 additions and 9 deletions

View File

@ -16,12 +16,14 @@ CELL_EXEOBJS =\
$(OUT)\testcellconf.obj
CELL_EXELIBS =\
$(DESTDIR)\lib\afs\afsutil.lib \
$(DESTDIR)\lib\afs\afsauth.lib \
$(DESTDIR)\lib\afsrx.lib \
$(DESTDIR)\lib\afslwp.lib \
$(DESTDIR)\lib\afs\afsutil.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\libafsconf.lib
$(DESTDIR)\lib\libafsconf.lib \
$(DESTDIR)\lib\opr.lib \
$(DESTDIR)\lib\afsroken.lib
$(CELL_EXEFILE): $(CELL_EXEOBJS) $(CELL_EXELIBS)
$(EXECONLINK) dnsapi.lib shell32.lib
@ -39,11 +41,15 @@ KTC_EXEOBJS =\
KTC_EXELIBS =\
$(DESTDIR)\lib\afs\afsutil.lib \
$(DESTDIR)\lib\afs\afsauth.lib \
$(DESTDIR)\lib\afsrx.lib \
$(DESTDIR)\lib\afslwp.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\afs\afspioctl.lib
$(DESTDIR)\lib\afs\afspioctl.lib \
$(DESTDIR)\lib\opr.lib \
$(DESTDIR)\lib\afsroken.lib
$(KTC_EXEFILE): $(KTC_EXEOBJS) $(KTC_EXELIBS) $(HEIMDEPS)
$(EXECONLINK) dnsapi.lib shell32.lib mpr.lib $(HEIMLINKOPTS)
$(KTC_EXEFILE): $(KTC_EXEOBJS) $(KTC_EXELIBS)
$(EXECONLINK) dnsapi.lib shell32.lib mpr.lib
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
$(CODESIGN_USERLAND)

View File

@ -9,15 +9,15 @@
/* Test of the ktc_*Token() routines */
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
#include <afs/afsutil.h>
#include <afs/auth.h>