Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / bubasics / Makefile.in
blob3216cb3c40faea27cfcf485303e36fc2de125e9f
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 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 INSTALL = @INSTALL@
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
15 all: ${TOP_LIBDIR}/libbubasics.a ${TOP_INCDIR}/afs/bumon.h ${TOP_INCDIR}/afs/butc.h ${TOP_INCDIR}/afs/bubasics.h ${TOP_INCDIR}/afs/butx.h \
16 ${TOP_INCDIR}/afs/tcdata.h ${TOP_INCDIR}/afs/butm.h
18 generated: \
19 butc.ss.c butc.cs.c butc.xdr.c butc.h \
20 bumon.ss.c bumon.cs.c bumon.xdr.c bumon.h \
21 butc_errs.c tcdata.h \
22 butm_errs.c butm.h \
23 butx_errs.c butx.h
25 OBJS=butc.ss.o butc.cs.o butc.xdr.o bumon.ss.o bumon.cs.o bumon.xdr.o butc_errs.o butm_errs.o butx_errs.o
27 ${TOP_LIBDIR}/libbubasics.a: libbubasics.a
28 ${INSTALL_DATA} $? $@
30 ${TOP_INCDIR}/afs/bumon.h: bumon.h
31 ${INSTALL_DATA} $? $@
33 ${TOP_INCDIR}/afs/butc.h: butc.h
34 ${INSTALL_DATA} $? $@
36 ${TOP_INCDIR}/afs/bubasics.h: bubasics.h
37 ${INSTALL_DATA} $? $@
39 ${TOP_INCDIR}/afs/tcdata.h: tcdata.h
40 ${INSTALL_DATA} $? $@
42 ${TOP_INCDIR}/afs/butm.h: butm.h
43 ${INSTALL_DATA} $? $@
45 ${TOP_INCDIR}/afs/butx.h: butx.h
46 ${INSTALL_DATA} $? $@
48 libbubasics.a: $(OBJS) AFS_component_version_number.o
49 -$(RM) -f libbubasics.a
50 ar r libbubasics.a ${OBJS} AFS_component_version_number.o
51 ${RANLIB} libbubasics.a
53 butc.xdr.c: butc.xg
54 ${RXGEN} -A -c -o $@ ${srcdir}/butc.xg
56 butc.ss.c: butc.xg
57 ${RXGEN} -A -S -o $@ ${srcdir}/butc.xg
59 butc.cs.c: butc.xg
60 ${RXGEN} -A -C -o $@ ${srcdir}/butc.xg
62 butc.h: butc.xg
63 ${RXGEN} -A -h -o $@ ${srcdir}/butc.xg
65 butc.xdr.c: butc.h
66 butc.cs.c: butc.h
67 butc.ss.c: butc.h
69 bumon.xdr.c: bumon.xg
70 ${RXGEN} -A -c -o $@ ${srcdir}/bumon.xg
72 bumon.ss.c: bumon.xg
73 ${RXGEN} -A -S -o $@ ${srcdir}/bumon.xg
75 bumon.cs.c: bumon.xg
76 ${RXGEN} -A -C -o $@ ${srcdir}/bumon.xg
78 bumon.h: bumon.xg
79 ${RXGEN} -A -h -o $@ ${srcdir}/bumon.xg
81 bumon.xdr.c: bumon.h
82 bumon.ss.c: bumon.h
83 bumon.cs.c: bumon.h
85 butm.h: butm_errs.et butm.p.h
86 ${COMPILE_ET_H} -p ${srcdir} butm_errs -h butm
88 butm_errs.c: butm_errs.et
89 ${COMPILE_ET_C} -p ${srcdir} butm_errs
91 tcdata.h: butc_errs.et tcdata.p.h butm.h
92 ${COMPILE_ET_H} -p ${srcdir} butc_errs -h tcdata
94 butc_errs.c: butc_errs.et
95 ${COMPILE_ET_C} -p ${srcdir} butc_errs
97 butx.h: butx_errs.et
98 ${COMPILE_ET_H} -p ${srcdir} butx_errs -h butx
100 butx_errs.c: butx_errs.et
101 ${COMPILE_ET_C} -p ${srcdir} butx_errs
104 # Installation targets
106 install: libbubasics.a bumon.h butc.h bubasics.h tcdata.h butm.h butx.h
107 ${INSTALL} -d ${DESTDIR}${libdir}/afs
108 ${INSTALL} -d ${DESTDIR}${includedir}/afs
109 ${INSTALL_DATA} libbubasics.a ${DESTDIR}${libdir}/afs/libbubasics.a
110 ${INSTALL_DATA} bumon.h ${DESTDIR}${includedir}/afs/bumon.h
111 ${INSTALL_DATA} butc.h ${DESTDIR}${includedir}/afs/butc.h
112 ${INSTALL_DATA} ${srcdir}/bubasics.h ${DESTDIR}${includedir}/afs/bubasics.h
113 ${INSTALL_DATA} tcdata.h ${DESTDIR}${includedir}/afs/tcdata.h
114 ${INSTALL_DATA} butm.h ${DESTDIR}${includedir}/afs/butm.h
115 ${INSTALL_DATA} butx.h ${DESTDIR}${includedir}/afs/butx.h
117 dest: libbubasics.a bumon.h butc.h bubasics.h tcdata.h butm.h butx.h
118 ${INSTALL} -d ${DEST}/lib/afs
119 ${INSTALL} -d ${DEST}/include/afs
120 ${INSTALL_DATA} libbubasics.a ${DEST}/lib/afs/libbubasics.a
121 ${INSTALL_DATA} bumon.h ${DEST}/include/afs/bumon.h
122 ${INSTALL_DATA} butc.h ${DEST}/include/afs/butc.h
123 ${INSTALL_DATA} ${srcdir}/bubasics.h ${DEST}/include/afs/bubasics.h
124 ${INSTALL_DATA} tcdata.h ${DEST}/include/afs/tcdata.h
125 ${INSTALL_DATA} butm.h ${DEST}/include/afs/butm.h
126 ${INSTALL_DATA} butx.h ${DEST}/include/afs/butx.h
129 # Common targets
132 clean:
133 $(RM) -f *.o *.a *.xdr.c *.ss.c *.cs.c butc.h butx.h butm.h bumon.h tcdata.h \
134 butc_errs.c butx_errs.c butm_errs.c core AFS_component_version_number.c
136 include ../config/Makefile.version