Rx: Build rxperf test application on Windows
[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
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
23
24 RXTESTOBJS = $(OUT)\testclient.obj $(OUT)\testserver.obj
25
26 tests: $(OUT)\rxperf.exe $(OUT)\testclient.exe $(OUT)\testserver.exe $(OUT)\tableGen.exe $(OUT)\generator.exe
27
28 $(OUT)\rxperf.exe: $(OUT)\rxperf.obj $(LIBS)
29         $(EXECONLINK)
30         $(_VC_MANIFEST_EMBED_EXE)
31         $(CODESIGN_USERLAND)
32         $(SYMSTORE_IMPORT)
33
34 $(OUT)\testclient.exe: $(OUT)\testclient.obj $(LIBS)
35         $(EXECONLINK)
36         $(_VC_MANIFEST_EMBED_EXE)
37         $(CODESIGN_USERLAND)
38         $(SYMSTORE_IMPORT)
39
40 $(OUT)\testserver.exe: $(OUT)\testserver.obj $(LIBS)
41         $(EXECONLINK)
42         $(_VC_MANIFEST_EMBED_EXE)
43         $(CODESIGN_USERLAND)
44         $(SYMSTORE_IMPORT)
45
46 $(OUT)\tableGen.exe: $(OUT)\tableGen.obj $(LIBS)
47         $(EXECONLINK)
48         $(_VC_MANIFEST_EMBED_EXE)
49         $(CODESIGN_USERLAND)
50         $(SYMSTORE_IMPORT)
51
52 $(OUT)\generator.exe: $(OUT)\generator.obj $(LIBS)
53         $(EXECONLINK)
54         $(_VC_MANIFEST_EMBED_EXE)
55         $(CODESIGN_USERLAND)
56         $(SYMSTORE_IMPORT)
57
58 $(RXTESTOBJS): ..\rx_clock.h ..\rx_queue.h ..\rx_event.h ..\rx.h
59
60 mkdir:
61         
62 install: tests
63
64 install9x: tests
65
66 clean::
67     $(DEL) $(TESTS)