# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

RELDIR=auth\test
!INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
!INCLUDE ..\..\config\NTMakefile.version

############################################################################
CELL_EXEFILE = $(OUT)\testcellconf.exe

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\afsreg.lib \
        $(DESTDIR)\lib\libafsconf.lib \
        $(DESTDIR)\lib\opr.lib \
        $(DESTDIR)\lib\afsroken.lib

$(CELL_EXEFILE): $(CELL_EXEOBJS)  $(CELL_EXELIBS)
	$(EXECONLINK) dnsapi.lib shell32.lib
        $(_VC_MANIFEST_EMBED_EXE)
	$(EXEPREP)
        $(CODESIGN_USERLAND)
        $(SYMSTORE_IMPORT)

############################################################################
KTC_EXEFILE = $(OUT)\ktctest.exe

KTC_EXEOBJS =\
	$(OUT)\ktctest.obj

KTC_EXELIBS =\
	$(DESTDIR)\lib\afs\afsutil.lib \
	$(DESTDIR)\lib\afs\afsauth.lib \
	$(DESTDIR)\lib\afsrx.lib \
	$(DESTDIR)\lib\afshcrypto.lib \
	$(DESTDIR)\lib\afslwp.lib \
	$(DESTDIR)\lib\afs\afsreg.lib \
	$(DESTDIR)\lib\afs\afspioctl.lib \
        $(DESTDIR)\lib\opr.lib \
        $(DESTDIR)\lib\afsroken.lib

$(KTC_EXEFILE): $(KTC_EXEOBJS)  $(KTC_EXELIBS)
	$(EXECONLINK) dnsapi.lib shell32.lib mpr.lib
        $(_VC_MANIFEST_EMBED_EXE)
	$(EXEPREP)
        $(CODESIGN_USERLAND)
        $(SYMSTORE_IMPORT)

test tests: $(CELL_EXEFILE) $(KTC_EXEFILE)

clean::

mkdir:
