1 # Copyright 2000, International Business Machines Corporation and others.
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
8 !include ..\config\NTMakefile.$(SYS_NAME)
9 !include ..\config\NTMakefile.version
11 # RX has different strings for it's version number.
12 VERSFILE=RX_component_version_number
14 !include ..\config\NTMakefile.version
16 # Additional debugging flag for RX.
17 AFSDEV_AUXCDEFINES = -DRXDEBUG
19 LIBFILE = $(DESTDIR)\lib\afsrx.lib
21 # Object files by category.
22 XDROBJS = xdr.obj xdr_array.obj xdr_arrayn.obj xdr_float.obj xdr_mem.obj \
23 xdr_rec.obj xdr_refernce.obj xdr_rx.obj xdr_update.obj \
24 xdr_afsuuid.obj xdr_int64.obj
26 RXOBJS = rx_clock_nt.obj rx_event.obj rx_user.obj rx_lwp.obj rx.obj \
27 rx_null.obj rx_globals.obj rx_getaddr.obj rx_misc.obj rx_packet.obj \
28 rx_rdwr.obj rx_trace.obj rx_xmit_nt.obj rx_conncache.obj
30 MULTIOBJS = rx_multi.obj
32 LIBOBJS = $(RXOBJS) $(MULTIOBJS) $(XDROBJS)
34 INCFILEDIR = $(DESTDIR)\include\rx
38 $(INCFILEDIR)\rx_packet.h \
39 $(INCFILEDIR)\rx_user.h \
40 $(INCFILEDIR)\rx_event.h \
41 $(INCFILEDIR)\rx_queue.h \
42 $(INCFILEDIR)\rx_globals.h \
43 $(INCFILEDIR)\rx_clock.h \
44 $(INCFILEDIR)\rx_misc.h \
45 $(INCFILEDIR)\rx_multi.h \
46 $(INCFILEDIR)\rx_null.h \
47 $(INCFILEDIR)\rx_lwp.h \
48 $(INCFILEDIR)\rx_pthread.h \
49 $(INCFILEDIR)\rx_xmit_nt.h \
55 $(LIBOBJS): $(INCFILES) $(LOCAL_HEADERS)
57 $(MULTIOBJS): rx_multi.h
61 $(LIBFILE): $(LIBOBJS)
65 #rxdumptrace.exe: rx_trace.c
69 RXDEBUG = $(DESTDIR)\etc\rxdebug.exe
70 RXDOBJS = rxdebug.obj \
73 LIBDIR = $(DESTDIR)\lib
74 RXDLIBS = $(LIBDIR)\afs\afscmd.lib \
76 $(LIBDIR)\afslwp.lib \
77 $(LIBDIR)\afs\afsutil.lib \
78 $(LIBDIR)\afs\afsreg.lib
80 rxdebug.res: rxdebug.rc AFS_component_version_number.h
83 $(RXDEBUG): $(RXDOBJS) $(RXDLIBS)
88 install: $(LIBFILE) $(INCFILES) $(RXDEBUG)