${INSTALL} longc_procs.h ${TOP_INCDIR}/afs ;; \
esac
-# NOTE: linux case uses --new as well to work around bug in some versions of
-# gencat.
-kinstall: ${KERNELDIR}/afs AFS_component_version_number.c
+kinstall: ${KERNELDIR}/afs AFS_component_version_number.c afs_trace.h afszcm.cat
-chmod 666 ${KERNELDIR}/afs/*
- ${COMPILE_ET} -v 2 afs_trace.et
${INSTALL} *.[csh] ${KERNELDIR}/afs
${INSTALL} VNOPS/*.[csh] ${KERNELDIR}/afs
${INSTALL} ${AFS_OSTYPE}/*.[csh] ${KERNELDIR}/afs
+
+afs_trace.h: afs_trace.et
+ ${COMPILE_ET} -v 2 afs_trace.et
+
+# NOTE: linux case uses --new as well to work around bug in some versions of
+# gencat.
+afszcm.cat: afs_trace.msf
-$(RM) -f afszcm.cat
case ${SYS_NAME} in \
sgi_* ) \
${KERNELDIR}/afs:
mkdir -p $@
-ukinstall: ${UKERNELDIR}/afs AFS_component_version_number.c
+ukinstall: ${UKERNELDIR}/afs AFS_component_version_number.c afs_trace.h
-chmod 666 ${UKERNELDIR}/afs/*
- ${COMPILE_ET} -v 2 afs_trace.et
${INSTALL} *.[csh] ${UKERNELDIR}/afs
${INSTALL} VNOPS/*.[csh] ${UKERNELDIR}/afs
${INSTALL} UKERNEL/*.[csh] ${UKERNELDIR}/afs
all: ${TOP_LIBDIR}/libbudb.a ${TOP_INCDIR}/afs/budb.h ${TOP_INCDIR}/afs/budb_errs.h ${TOP_INCDIR}/afs/budb_client.h budb_server
-budb_errs.o: budb_errs.c
+#
+# budb_errs.o actually depends on neither budb_client.h nor budb_errs.h
+# but generating either of them will rebuild budb_errs.c
+#
+budb_errs.o: budb_errs.c budb_client.h budb_errs.h
budb_errs.c budb_client.h: budb_errs.et budb_client.p.h
$(RM) -f budb_client.h budb_errs.c; ${COMPILE_ET} budb_errs -h budb_client