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
15 !include ..\config\NTMakefile.version
17 # Additional debugging flag for RX.
18 AFSDEV_AUXCDEFINES = -DRXDEBUG
20 LIBFILE = $(DESTDIR)\lib\afsrx.lib
22 # Object files by category.
23 XDROBJS = $(OJT)\xdr.obj $(OJT)\xdr_array.obj $(OJT)\xdr_arrayn.obj $(OJT)\xdr_float.obj $(OJT)\xdr_mem.obj \
24 $(OJT)\xdr_rec.obj $(OJT)\xdr_refernce.obj $(OJT)\xdr_rx.obj $(OJT)\xdr_update.obj \
25 $(OJT)\xdr_afsuuid.obj $(OJT)\xdr_int64.obj $(OJT)\xdr_int32.obj
27 RXOBJS = $(OJT)\rx_event.obj $(OJT)\rx_clock_nt.obj $(OJT)\rx_user.obj $(OJT)\rx_lwp.obj $(OJT)\rx.obj \
28 $(OJT)\rx_null.obj $(OJT)\rx_globals.obj $(OJT)\rx_getaddr.obj $(OJT)\rx_misc.obj $(OJT)\rx_packet.obj \
29 $(OJT)\rx_rdwr.obj $(OJT)\rx_trace.obj $(OJT)\rx_xmit_nt.obj $(OJT)\rx_conncache.obj
31 MULTIOBJS = $(OJT)\rx_multi.obj
33 LIBOBJS = $(RXOBJS) $(MULTIOBJS) $(XDROBJS)
35 INCFILEDIR = $(DESTDIR)\include\rx
39 $(INCFILEDIR)\rx_packet.h \
40 $(INCFILEDIR)\rx_user.h \
41 $(INCFILEDIR)\rx_event.h \
42 $(INCFILEDIR)\rx_queue.h \
43 $(INCFILEDIR)\rx_globals.h \
44 $(INCFILEDIR)\rx_clock.h \
45 $(INCFILEDIR)\rx_misc.h \
46 $(INCFILEDIR)\rx_multi.h \
47 $(INCFILEDIR)\rx_null.h \
48 $(INCFILEDIR)\rx_lwp.h \
49 $(INCFILEDIR)\rx_pthread.h \
50 $(INCFILEDIR)\rx_xmit_nt.h \
51 $(INCFILEDIR)\xdr_prototypes.h \
52 $(INCFILEDIR)\rx_prototypes.h \
58 $(LIBOBJS): $(INCFILES) $(LOCAL_HEADERS)
60 $(MULTIOBJS): rx_multi.h
64 $(LIBFILE): $(LIBOBJS)
68 #rxdumptrace.exe: rx_trace.c
71 RXDEBUG = $(DESTDIR)\etc\rxdebug.exe
72 RXDOBJS = $(OJT)\rxdebug.obj \
75 LIBDIR = $(DESTDIR)\lib
76 RXDLIBS = $(LIBDIR)\afs\afscmd.lib \
78 $(LIBDIR)\afslwp.lib \
79 $(LIBDIR)\afs\afsutil.lib \
80 $(LIBDIR)\afs\afsreg.lib
82 $(OJT)\rxdebug.res: rxdebug.rc AFS_component_version_number.h
83 $(RC) /Fo$*.RES $(*F).rc
85 $(RXDEBUG): $(RXDOBJS) $(RXDLIBS)
89 install: $(LIBFILE) $(INCFILES) $(RXDEBUG)
91 install9x: $(LIBFILE) $(INCFILES)
94 $(DEL) $(LIBFILE) $(INCFILES)