# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

RELDIR=rxstat
!INCLUDE ..\config\NTMakefile.$(SYS_NAME)
!IF (EXIST(..\config\NTMakefile.version))
!INCLUDE ..\config\NTMakefile.version
!ENDIF

INCFILEDIR = $(DESTDIR)\include

INCFILES =\
	$(INCFILEDIR)\rx\rxstat.h

# Library component lists.

LIBOBJS = \
	$(OUT)\rxstat.cs.obj \
	$(OUT)\rxstat.ss.obj \
	$(OUT)\rxstat.xdr.obj \
	$(OUT)\rxstat.obj

$(LIBOBJS): rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h

LIBFILE = $(DESTDIR)\lib\afsrxstat.lib

$(LIBFILE): $(LIBOBJS)
	$(LIBARCH)

rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h: rxstat.xg
	$(RXGEN) -x $**

copyheader: rxstat.h
   $(COPY) rxstat.h $(INCFILEDIR)\rx\rxstat.h

install: copyheader $(LIBFILE) $(INCFILES)

install9x: install

clean::
	$(DEL) rxstat.cs.c rxstat.h rxstat.ss.c rxstat.xdr.c
	$(DEL) $(LIBFILE)


mkdir:
