c25338d9bd63e30aa98e84cbfb58f5fa0a24c533
[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 = -DRXDEBUG -DAFS_PTHREAD_ENV
9
10 RELDIR=rx\test
11 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
12 !INCLUDE ..\..\config\NTMakefile.version
13
14 LIBS = \
15         $(DESTDIR)\lib\afslwp.lib \
16         $(DESTDIR)\lib\afs\afsutil.lib \
17         $(DESTDIR)\lib\afs\afsreg.lib \
18         $(DESTDIR)\lib\afsrx.lib
19
20
21 RXTESTOBJS = $(OUT)\testclient.obj $(OUT)\testserver.obj
22
23 tests: $(OUT)\testclient.exe $(OUT)\testserver.exe $(OUT)\tableGen.exe $(OUT)\generator.exe
24
25 $(OUT)\testclient.exe: $(OUT)\testclient.obj $(LIBS)
26         $(EXECONLINK)
27         $(_VC_MANIFEST_EMBED_EXE)
28         $(CODESIGN_USERLAND)
29         $(SYMSTORE_IMPORT)
30
31 $(OUT)\testserver.exe: $(OUT)\testserver.obj $(LIBS)
32         $(EXECONLINK)
33         $(_VC_MANIFEST_EMBED_EXE)
34         $(CODESIGN_USERLAND)
35         $(SYMSTORE_IMPORT)
36
37 $(OUT)\tableGen.exe: $(OUT)\tableGen.obj $(LIBS)
38         $(EXECONLINK)
39         $(_VC_MANIFEST_EMBED_EXE)
40         $(CODESIGN_USERLAND)
41         $(SYMSTORE_IMPORT)
42
43 $(OUT)\generator.exe: $(OUT)\generator.obj $(LIBS)
44         $(EXECONLINK)
45         $(_VC_MANIFEST_EMBED_EXE)
46         $(CODESIGN_USERLAND)
47         $(SYMSTORE_IMPORT)
48
49 $(RXTESTOBJS): ..\rx_clock.h ..\rx_queue.h ..\rx_event.h ..\rx.h
50
51 mkdir:
52         
53 install: tests
54
55 install9x: tests
56
57 clean::
58     $(DEL) $(TESTS)