patch-from-shadow-to-jaltman-bkbox-20031120
[openafs.git] / src / rxstat / 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=rxstat
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !IF (EXIST(..\config\NTMakefile.version))
11 !INCLUDE ..\config\NTMakefile.version
12 !ENDIF
13
14 INCFILEDIR = $(DESTDIR)\include
15
16 INCFILES =\
17         $(INCFILEDIR)\rx\rxstat.h
18
19 # Library component lists.
20
21 LIBOBJS = \
22         $(OUT)\rxstat.cs.obj \
23         $(OUT)\rxstat.ss.obj \
24         $(OUT)\rxstat.xdr.obj \
25         $(OUT)\rxstat.obj
26
27 $(LIBOBJS): rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h
28
29 LIBFILE = $(DESTDIR)\lib\afsrxstat.lib
30
31 $(LIBFILE): $(LIBOBJS)
32         $(LIBARCH)
33
34 rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h: rxstat.xg
35         $(RXGEN) -x $**
36
37 copyheader: rxstat.h
38    $(COPY) rxstat.h $(INCFILEDIR)\rx\rxstat.h
39
40 install: copyheader $(LIBFILE) $(INCFILES)
41
42 install9x: install
43
44 clean::
45         $(DEL) rxstat.cs.c rxstat.h rxstat.ss.c rxstat.xdr.c
46         $(DEL) $(LIBFILE)
47
48
49 mkdir: