1 # Copyright 2000, International Business Machines Corporation and others.
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
9 include @TOP_OBJDIR@/src/config/Makefile.config
11 OBJS=afsaux.o afscbint.cs.o afscbint.ss.o afscbint.xdr.o afsint.cs.o afsint.ss.o afsint.xdr.o
12 CFLAGS=-I. -I${srcdir} ${DBUG} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS}
15 ${TOP_LIBDIR}/libafsint.a depinstall
18 ${TOP_INCDIR}/afs/afsint.h \
19 ${TOP_INCDIR}/afs/afscbint.h \
20 Kcallback.ss.c Kcallback.h Kvice.cs.c Kvice.h Kvice.xdr.c afscbint.h afsint.h
22 libafsint.a: ${OBJS} AFS_component_version_number.o
24 $(AR) crv $@ ${OBJS} AFS_component_version_number.o
27 afsaux.o: afsaux.c afsint.h
29 Kcallback.cs.c: common.xg afscbint.xg Kvice.h Kcallback.h
30 ${RXGEN} -x -k -C -o Kcallback.cs.c ${srcdir}/afscbint.xg
32 Kcallback.ss.c: common.xg afscbint.xg Kvice.h Kcallback.h
33 ${RXGEN} -x -k -S -o Kcallback.ss.c ${srcdir}/afscbint.xg
35 Kcallback.xdr.c: common.xg afscbint.xg Kvice.h Kcallback.h
36 ${RXGEN} -x -k -y -c -o Kcallback.xdr.c ${srcdir}/afscbint.xg
38 Kvice.cs.c: common.xg afsint.xg Kvice.h
39 ${RXGEN} -x -k -C -o Kvice.cs.c ${srcdir}/afsint.xg
41 Kvice.ss.c: common.xg afsint.xg Kvice.h
42 ${RXGEN} -x -k -S -o Kvice.ss.c ${srcdir}/afsint.xg
44 Kvice.xdr.c: common.xg afsint.xg
45 ${RXGEN} -x -k -c -o Kvice.xdr.c ${srcdir}/afsint.xg
47 Kvice.h: common.xg afsint.xg
48 ${RXGEN} -x -k -h -o Kvice.h ${srcdir}/afsint.xg
50 Kcallback.h: common.xg afscbint.xg
51 ${RXGEN} -x -k -h -o Kcallback.h ${srcdir}/afscbint.xg
53 afscbint.cs.c: common.xg afscbint.xg afsint.h afscbint.h
54 ${RXGEN} -x -C -o afscbint.cs.c ${srcdir}/afscbint.xg
56 afscbint.ss.c: common.xg afscbint.xg afsint.h afscbint.h
57 ${RXGEN} -x -S -o afscbint.ss.c ${srcdir}/afscbint.xg
59 afscbint.xdr.c: common.xg afscbint.xg afsint.h afscbint.h
60 ${RXGEN} -x -y -c -o afscbint.xdr.c ${srcdir}/afscbint.xg
62 afsint.cs.c: common.xg afsint.xg afsint.h
63 ${RXGEN} -x -C -o afsint.cs.c ${srcdir}/afsint.xg
65 afsint.ss.c: common.xg afsint.xg afsint.h
66 ${RXGEN} -x -S -o afsint.ss.c ${srcdir}/afsint.xg
68 afsint.xdr.c: common.xg afsint.xg
69 ${RXGEN} -x -c -o afsint.xdr.c ${srcdir}/afsint.xg
71 afsint.h: common.xg afsint.xg
72 ${RXGEN} -x -h -o afsint.h ${srcdir}/afsint.xg
74 afscbint.h: common.xg afscbint.xg
75 ${RXGEN} -x -h -o afscbint.h ${srcdir}/afscbint.xg
78 # Installation targets
80 ${TOP_LIBDIR}/libafsint.a: libafsint.a
83 ${TOP_INCDIR}/afs/afsint.h: afsint.h
86 ${TOP_INCDIR}/afs/afscbint.h: afscbint.h
90 ${DESTDIR}${libdir}/afs/libafsint.a \
91 ${DESTDIR}${includedir}/afs/afsint.h \
92 ${DESTDIR}${includedir}/afs/afscbint.h
94 ${DESTDIR}${libdir}/afs/libafsint.a: libafsint.a
97 ${DESTDIR}${includedir}/afs/afsint.h: afsint.h
100 ${DESTDIR}${includedir}/afs/afscbint.h: afscbint.h
104 ${DEST}/lib/afs/libafsint.a \
105 ${DEST}/include/afs/afsint.h \
106 ${DEST}/include/afs/afscbint.h
108 ${DEST}/lib/afs/libafsint.a: libafsint.a
111 ${DEST}/include/afs/afscbint.h: afscbint.h
114 ${DEST}/include/afs/afsint.h: afsint.h
122 $(RM) -f *.o *.cs.c *.ss.c *.er.c *.a *.xdr.c core \
123 afsint.h afscbint.h AFS_component_version_number.c
125 include ../config/Makefile.version