rxperf: Move into the tools directory
[openafs.git] / src / rx / test / NTMakefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 AFSDEV_AUXCDEFINES = -DAFS_PTHREAD_ENV -DHAVE_WARNX -DHAVE_ERRX -DHAVE_WARN -DHAVE_ERR
9 !IF ("$(AFSDEV_BUILDTYPE)" == "CHECKED")
10 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -DRXDEBUG
11 !ENDIF
12
13 RELDIR=rx\test
14 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
15 !INCLUDE ..\..\config\NTMakefile.version
16
17 LIBS = \
18         $(DESTDIR)\lib\afs\afsreg.lib \
19         $(DESTDIR)\lib\afs\mtafsutil.lib \
20         $(DESTDIR)\lib\afsrpc.lib \
21         $(DESTDIR)\lib\afspthread.lib \
22         $(DESTDIR)\lib\afsroken.lib \
23         $(DESTDIR)\lib\opr.lib
24
25
26 RXTESTOBJS = $(OUT)\testclient.obj $(OUT)\testserver.obj
27
28 tests: $(OUT)\testclient.exe $(OUT)\testserver.exe $(OUT)\tableGen.exe $(OUT)\generator.exe
29
30 $(OUT)\testclient.exe: $(OUT)\testclient.obj $(LIBS)
31         $(EXECONLINK)
32         $(_VC_MANIFEST_EMBED_EXE)
33         $(CODESIGN_USERLAND)
34         $(SYMSTORE_IMPORT)
35
36 $(OUT)\testserver.exe: $(OUT)\testserver.obj $(LIBS)
37         $(EXECONLINK)
38         $(_VC_MANIFEST_EMBED_EXE)
39         $(CODESIGN_USERLAND)
40         $(SYMSTORE_IMPORT)
41
42 $(OUT)\tableGen.exe: $(OUT)\tableGen.obj $(LIBS)
43         $(EXECONLINK)
44         $(_VC_MANIFEST_EMBED_EXE)
45         $(CODESIGN_USERLAND)
46         $(SYMSTORE_IMPORT)
47
48 $(OUT)\generator.exe: $(OUT)\generator.obj $(LIBS)
49         $(EXECONLINK)
50         $(_VC_MANIFEST_EMBED_EXE)
51         $(CODESIGN_USERLAND)
52         $(SYMSTORE_IMPORT)
53
54 $(RXTESTOBJS): ..\rx_clock.h ..\rx_queue.h ..\rx_event.h ..\rx.h
55
56 mkdir:
57         
58 install: tests
59
60 clean::
61     $(DEL) $(TESTS)