Some doc path fixes from Anders
[pkg-k5-afs_openafs.git] / src / rxstat / NTMakefile
blob85e86cfc67aa9af4e891568abf7c70a1ec3f6345
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
8 RELDIR=rxstat
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !IF (EXIST(..\config\NTMakefile.version))
11 !INCLUDE ..\config\NTMakefile.version
12 !ENDIF
14 INCFILEDIR = $(DESTDIR)\include
16 INCFILES =\
17         $(INCFILEDIR)\rx\rxstat.h \
19 # Library component lists.
21 LIBOBJS = \
22         $(OUT)\rxstat.cs.obj \
23         $(OUT)\rxstat.ss.obj \
24         $(OUT)\rxstat.xdr.obj \
25         $(OUT)\rxstat.obj
27 $(LIBOBJS): rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h
29 LIBFILE = $(DESTDIR)\lib\afsrxstat.lib
31 $(LIBFILE): $(LIBOBJS)
32         $(LIBARCH)
34 rxstat.cs.c: rxstat.xg rxstat.h
35         $(RXGEN) -x -C -o $@ rxstat.xg
37 rxstat.ss.c: rxstat.xg rxstat.h
38         $(RXGEN) -x -S -o $@ rxstat.xg
40 rxstat.xdr.c: rxstat.xg rxstat.h
41         $(RXGEN) -x -c -o $@ rxstat.xg
43 rxstat.h: rxstat.xg
44         $(RXGEN) -x -h -o $@ rxstat.xg
46 copyheader: rxstat.h
47    $(COPY) rxstat.h $(INCFILEDIR)\rx\rxstat.h
49 install: copyheader $(LIBFILE) $(INCFILES)
51 clean::
52         $(DEL) rxstat.cs.c rxstat.h rxstat.ss.c rxstat.xdr.c
53         $(DEL) $(LIBFILE)
56 mkdir: