# 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

AFSDEV_AUXCDEFINES = -DRXDEBUG -DAFS_PTHREAD_ENV

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

LIBS = \
	$(DESTDIR)\lib\afslwp.lib \
	$(DESTDIR)\lib\afs\afsutil.lib \
	$(DESTDIR)\lib\afs\afsreg.lib \
	$(DESTDIR)\lib\afsrx.lib


RXTESTOBJS = $(OUT)\testclient.obj $(OUT)\testserver.obj

tests: $(OUT)\testclient.exe $(OUT)\testserver.exe $(OUT)\tableGen.exe $(OUT)\generator.exe

$(OUT)\testclient.exe: $(OUT)\testclient.obj $(LIBS)
	$(EXECONLINK)
        $(_VC_MANIFEST_EMBED_EXE)

$(OUT)\testserver.exe: $(OUT)\testserver.obj $(LIBS)
	$(EXECONLINK)
        $(_VC_MANIFEST_EMBED_EXE)

$(OUT)\tableGen.exe: $(OUT)\tableGen.obj $(LIBS)
	$(EXECONLINK)
        $(_VC_MANIFEST_EMBED_EXE)

$(OUT)\generator.exe: $(OUT)\generator.obj $(LIBS)
	$(EXECONLINK)
        $(_VC_MANIFEST_EMBED_EXE)

$(RXTESTOBJS): ..\rx_clock.h ..\rx_queue.h ..\rx_event.h ..\rx.h

mkdir:
	
install: tests

install9x: tests

clean::
    $(DEL) $(TESTS)
