5707c93911a12079e17e2469c0b05bda572d0491
[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 = -DRXDEBUG
22
23 LIBFILE = $(DESTDIR)\lib\afsrx.lib
24
25 # Object files by category.
26 XDROBJS = $(OUT)\xdr.obj $(OUT)\xdr_array.obj $(OUT)\xdr_arrayn.obj $(OUT)\xdr_float.obj $(OUT)\xdr_mem.obj \
27         $(OUT)\xdr_rec.obj  $(OUT)\xdr_refernce.obj $(OUT)\xdr_rx.obj $(OUT)\xdr_update.obj \
28         $(OUT)\xdr_afsuuid.obj $(OUT)\xdr_int64.obj $(OUT)\xdr_int32.obj
29
30 RXOBJS = $(OUT)\rx_event.obj $(OUT)\rx_clock_nt.obj $(OUT)\rx_user.obj $(OUT)\rx_lwp.obj $(OUT)\rx.obj \
31         $(OUT)\rx_null.obj $(OUT)\rx_globals.obj $(OUT)\rx_getaddr.obj $(OUT)\rx_misc.obj $(OUT)\rx_packet.obj \
32         $(OUT)\rx_rdwr.obj $(OUT)\rx_trace.obj $(OUT)\rx_xmit_nt.obj $(OUT)\rx_conncache.obj
33
34 MULTIOBJS = $(OUT)\rx_multi.obj
35
36 LIBOBJS = $(RXOBJS) $(MULTIOBJS) $(XDROBJS)
37
38 INCFILEDIR = $(DESTDIR)\include\rx
39
40 INCFILES  = \
41         $(INCFILEDIR)\rx.h \
42         $(INCFILEDIR)\rx_packet.h \
43         $(INCFILEDIR)\rx_user.h \
44         $(INCFILEDIR)\rx_event.h \
45         $(INCFILEDIR)\rx_queue.h \
46         $(INCFILEDIR)\rx_globals.h \
47         $(INCFILEDIR)\rx_clock.h \
48         $(INCFILEDIR)\rx_misc.h \
49         $(INCFILEDIR)\rx_multi.h \
50         $(INCFILEDIR)\rx_null.h \
51         $(INCFILEDIR)\rx_lwp.h \
52         $(INCFILEDIR)\rx_pthread.h \
53         $(INCFILEDIR)\rx_xmit_nt.h \
54         $(INCFILEDIR)\xdr_prototypes.h \
55         $(INCFILEDIR)\rx_prototypes.h \
56         $(INCFILEDIR)\xdr.h
57
58 $(LIBOBJS): $(INCFILES)
59
60 $(MULTIOBJS):  rx_multi.h 
61
62 $(XDROBJS): xdr.h
63
64 $(LIBFILE): $(LIBOBJS)
65         $(LIBARCH)
66
67 # Not yet
68 #rxdumptrace.exe: rx_trace.c
69
70 install: $(LIBFILE) $(INCFILES)
71
72 install9x: $(LIBFILE) $(INCFILES)
73
74 clean::
75         $(DEL) $(LIBFILE) $(INCFILES)
76
77 mkdir:
78