ubik-call-sucks-20060704
[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.xg rxstat.h
35         $(RXGEN) -x -C -o $@ rxstat.xg
36
37 rxstat.ss.c: rxstat.xg rxstat.h
38         $(RXGEN) -x -S -o $@ rxstat.xg
39
40 rxstat.xdr.c: rxstat.xg rxstat.h
41         $(RXGEN) -x -c -o $@ rxstat.xg
42
43 rxstat.h: rxstat.xg
44         $(RXGEN) -x -h -o $@ rxstat.xg
45
46 copyheader: rxstat.h
47    $(COPY) rxstat.h $(INCFILEDIR)\rx\rxstat.h
48
49 install: copyheader $(LIBFILE) $(INCFILES)
50
51 install9x: install
52
53 clean::
54         $(DEL) rxstat.cs.c rxstat.h rxstat.ss.c rxstat.xdr.c
55         $(DEL) $(LIBFILE)
56
57
58 mkdir: