LINUX: afs_create infinite fetchStatus loop
[pkg-k5-afs_openafs.git] / src / bubasics / NTMakefile
blobec8d7b73b256ecd81ebb05792c28c2e7d0d2119a
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=bubasics
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
12 ############################################################################
13 # Install headers
15 INCFILEDIR = $(DESTDIR)\include\afs
17 INCFILES =\
18         $(INCFILEDIR)\bubasics.h \
19         $(INCFILEDIR)\butc.h \
20         $(INCFILEDIR)\bumon.h \
21         $(INCFILEDIR)\butm.h \
22         $(INCFILEDIR)\butx.h \
23         $(INCFILEDIR)\tcdata.h
26 ############################################################################
27 # build afsbubasics.lib
29 LIBFILE = $(DESTDIR)\lib\afs\afsbubasics.lib
31 LIBOBJS =\
32         $(OUT)\butc.ss.obj \
33         $(OUT)\butc.cs.obj \
34         $(OUT)\butc.xdr.obj \
35         $(OUT)\bumon.ss.obj \
36         $(OUT)\bumon.cs.obj \
37         $(OUT)\bumon.xdr.obj \
38         $(OUT)\butc_errs.obj \
39         $(OUT)\butm_errs.obj \
40         $(OUT)\butx_errs.obj \
41         $(OUT)\AFS_component_version_number.obj
43 $(LIBFILE): $(LIBOBJS)
44         $(LIBARCH)
46 ############################################################################
47 # rxgen on butc.xg and bumon.xg
49 butc.xdr.c: butc.xg butc.h
50         $(RXGEN) -A -c -x -o $@ butc.xg
52 butc.ss.c: butc.xg butc.h
53         $(RXGEN) -A -S -o $@ butc.xg
55 butc.cs.c: butc.xg butc.h
56         $(RXGEN) -A -C -o $@ butc.xg
58 butc.h: butc.xg
59         $(RXGEN) -A -h -o $@ butc.xg
61 bumon.xdr.c: bumon.xg bumon.h
62         $(RXGEN) -A -c -x -o $@ bumon.xg
64 bumon.ss.c: bumon.xg bumon.h
65         $(RXGEN) -A -S -o $@ bumon.xg
67 bumon.cs.c: bumon.xg bumon.h
68         $(RXGEN) -A -C -o $@ bumon.xg
70 bumon.h: bumon.xg
71         $(RXGEN) -A -h -o $@ bumon.xg
73 ############################################################################
74 # compile_et on butm_errs.et and butc_errs.et
76 butm.h butm_errs.c: butm_errs.et butm.p.h
77         $(DEL) butm.h butm_errs.c
78         $(COMPILE_ET) butm_errs -h butm
80 tcdata.h butc_errs.c: butc_errs.et tcdata.p.h butm.h
81         $(DEL) tcdata.h butc_errs.c
82         $(COMPILE_ET) butc_errs -h tcdata
84 butx_errs.c butx.h: butx_errs.et
85         $(DEL) butx.h butx_errs.c
86         $(COMPILE_ET) butx_errs -h butx
88 ############################################################################
89 # install targets
91 install: $(LIBFILE) $(INCFILES)
94 ############################################################################
95 # Local clean target; augments predefined clean target
97 clean::
98         $(DEL) *.xdr.c *.ss.c *.cs.c butc.h bumon.h butm.h tcdata.h butx.h \
99                 butc_errs.c butm_errs.c butx_errs.c
101 mkdir: