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
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
14 KERNELDIR = ../libafs/
15 UKERNELDIR = ../libuafs/
17 include ../config/Makefile.${SYS_NAME}
21 # NOTE: linux case uses --new as well to work around bug in some versions of
23 kinstall: ${KERNELDIR}/afs ${DESTDIR}/root.client/usr/vice/etc/C AFS_component_version_number.c
24 -chmod 666 ${KERNELDIR}afs/*
25 ${DESTDIR}/bin/compile_et -v 2 afs_trace.et
26 ${INSTALL} *.[csh] ${KERNELDIR}afs
27 ${INSTALL} VNOPS/*.[csh] ${KERNELDIR}afs
28 ${INSTALL} ${AFS_OSTYPE}/*.[csh] ${KERNELDIR}afs
32 gencat -m afszcm.cat afs_trace.msf ;; \
34 gencat --new afszcm.cat afs_trace.msf ;; \
35 ppc_darwin* | i386_fbsd*) \
36 echo No gencat for ${SYS_NAME} ;; \
38 gencat afszcm.cat afs_trace.msf ;; \
44 ${DESTDIR}/root.client/usr/vice/etc/C:
47 ukinstall: ${UKERNELDIR}/afs AFS_component_version_number.c
48 -chmod 666 ${UKERNELDIR}afs/*
49 ${DESTDIR}/bin/compile_et -v 2 afs_trace.et
50 ${INSTALL} *.[csh] ${UKERNELDIR}afs
51 ${INSTALL} VNOPS/*.[csh] ${UKERNELDIR}afs
52 ${INSTALL} UKERNEL/*.[csh] ${UKERNELDIR}afs
57 install: kinstall ukinstall
58 ${INSTALL} afs.h ${DESTDIR}/include/afs
59 ${INSTALL} ${AFS_OSTYPE}/osi_inode.h ${DESTDIR}/include/afs
60 ${INSTALL} afs_stats.h exporter.h nfsclient.h ${DESTDIR}/include/afs
62 pmax_ul43 | pmax_ul43a) \
63 ${INSTALL} longc_procs.h ${DESTDIR}/include/afs ;; \
66 next_mach30 | vax_ul43 | ppc_darwin* | i386_fbsd* ) \
67 echo skipping afszcm.cat install for ${SYS_NAME} ;; \
69 ${INSTALL} afszcm.cat ${DESTDIR}/root.client/usr/vice/etc/C ;; \
73 ${INSTALL} ${AFS_OSTYPE}/osi_vfs.h ${DESTDIR}/include/afs ;;\
75 echo No vfs headers to install for ${SYS_NAME};; \
79 -$(RM) -f *.o core AFS_component_version_number.c afs_trace.h afs_trace.msf afszcm.cat
81 include ../config/Makefile.version