add option to rxperf to use rx_Readv() instead of rx_Read()
[openafs.git] / src / rx / 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 RELDIR=rx
9 !include ..\config\NTMakefile.$(SYS_NAME)
10
11 # RX has different strings for it's version number.
12 VERSFILE=RX_component_version_number
13 CML_PREFIX=rx_
14
15 !include ..\config\NTMakefile.version
16
17 {.}.c{$(OUT)}.obj:
18     $(C2OBJ) $<
19
20 # Additional debugging flag for RX.
21 AFSDEV_AUXCDEFINES = -DMAKEDEBUGCALL
22 !IF ("$(AFSDEV_BUILDTYPE)" == "CHECKED")
23 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -DRXDEBUG -DRXDEBUG_PACKET -DRX_TRACK_PACKETS -DRX_REFCOUNT_CHECK
24 !ENDIF
25
26 LIBFILE = $(DESTDIR)\lib\afsrx.lib
27
28 # Object files by category.
29 XDROBJS = $(OUT)\xdr.obj $(OUT)\xdr_array.obj $(OUT)\xdr_arrayn.obj $(OUT)\xdr_float.obj $(OUT)\xdr_mem.obj \
30         $(OUT)\xdr_rec.obj  $(OUT)\xdr_refernce.obj $(OUT)\xdr_rx.obj $(OUT)\xdr_update.obj \
31         $(OUT)\xdr_afsuuid.obj $(OUT)\xdr_int64.obj $(OUT)\xdr_int32.obj $(OUT)\xdr_len.obj
32
33 RXOBJS = $(OUT)\rx_event.obj $(OUT)\rx_clock_nt.obj $(OUT)\rx_user.obj \
34          $(OUT)\rx_lwp.obj $(OUT)\rx.obj $(OUT)\rx_null.obj \
35          $(OUT)\rx_globals.obj $(OUT)\rx_getaddr.obj $(OUT)\rx_misc.obj \
36          $(OUT)\rx_packet.obj $(OUT)\rx_rdwr.obj $(OUT)\rx_trace.obj \
37          $(OUT)\rx_xmit_nt.obj $(OUT)\rx_conncache.obj \
38          $(OUT)\rx_opaque.obj $(OUT)\rx_identity.obj $(OUT)\rx_stats.obj
39
40 MULTIOBJS = $(OUT)\rx_multi.obj
41
42 LIBOBJS = $(RXOBJS) $(MULTIOBJS) $(XDROBJS)
43
44 INCFILEDIR = $(DESTDIR)\include\rx
45
46 INCFILES  = \
47         $(INCFILEDIR)\rx.h \
48         $(INCFILEDIR)\rx_packet.h \
49         $(INCFILEDIR)\rx_user.h \
50         $(INCFILEDIR)\rx_event.h \
51         $(INCFILEDIR)\rx_queue.h \
52         $(INCFILEDIR)\rx_globals.h \
53         $(INCFILEDIR)\rx_clock.h \
54         $(INCFILEDIR)\rx_misc.h \
55         $(INCFILEDIR)\rx_multi.h \
56         $(INCFILEDIR)\rx_null.h \
57         $(INCFILEDIR)\rx_lwp.h \
58         $(INCFILEDIR)\rx_identity.h \
59         $(INCFILEDIR)\rx_opaque.h \
60         $(INCFILEDIR)\rx_pthread.h \
61         $(INCFILEDIR)\rx_xmit_nt.h \
62         $(INCFILEDIR)\xdr_prototypes.h \
63         $(INCFILEDIR)\rx_prototypes.h \
64         $(INCFILEDIR)\xdr.h
65
66 $(LIBOBJS): $(INCFILES)
67
68 $(MULTIOBJS):  rx_multi.h 
69
70 $(XDROBJS): xdr.h
71
72 $(LIBFILE): $(LIBOBJS)
73         $(LIBARCH)
74
75 # Not yet
76 #rxdumptrace.exe: rx_trace.c
77
78 install_headers:  $(INCFILES)
79
80 install: install_headers $(LIBFILE)
81
82 install9x: install_headers $(LIBFILE)
83
84 clean::
85         $(DEL) $(LIBFILE) $(INCFILES)
86
87 mkdir:
88