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 INSTALL = ${SRCDIR}bin/install
10 KERNELDIR = ../libafs/
11 UKERNELDIR = ../libuafs/
13 MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
16 include ../config/Makefile.${SYS_NAME}
17 include ../config/Makefile.version
21 # NOTE: linux case uses --new as well to work around bug in some versions of
23 kinstall: AFS_component_version_number.c
24 set ${KERNELDIR}afs; $(MKDIR_IF_NEEDED)
25 -chmod 666 ${KERNELDIR}afs/*
26 ${DESTDIR}bin/compile_et -v 2 afs_trace.et
27 ${INSTALL} *.[csh] ${KERNELDIR}afs
28 ${INSTALL} VNOPS/*.[csh] ${KERNELDIR}afs
29 ${INSTALL} ${AFS_OSTYPE}/*.[csh] ${KERNELDIR}afs
30 set ${DESTDIR}root.client/usr/vice/etc/C; $(MKDIR_IF_NEEDED)
34 gencat -m afszcm.cat afs_trace.msf ;; \
36 gencat --new afszcm.cat afs_trace.msf ;; \
38 gencat afszcm.cat afs_trace.msf ;; \
43 ukinstall webinstall: AFS_component_version_number.c
44 set ${UKERNELDIR}afs; $(MKDIR_IF_NEEDED)
45 -chmod 666 ${UKERNELDIR}afs/*
46 ${DESTDIR}bin/compile_et -v 2 afs_trace.et
47 ${INSTALL} *.[csh] ${UKERNELDIR}afs
48 ${INSTALL} VNOPS/*.[csh] ${UKERNELDIR}afs
49 ${INSTALL} UKERNEL/*.[csh] ${UKERNELDIR}afs
51 noversion: install.noversion
52 install install.noversion: kinstall ukinstall
53 ${INSTALL} afs.h ${DESTDIR}include/afs
54 ${INSTALL} ${AFS_OSTYPE}/osi_inode.h ${DESTDIR}include/afs
55 ${INSTALL} afs_stats.h exporter.h nfsclient.h ${DESTDIR}include/afs
57 pmax_ul43 | pmax_ul43a) \
58 ${INSTALL} longc_procs.h ${DESTDIR}include/afs ;; \
61 next_mach30 | vax_ul43) \
62 echo skipping afszcm.cat install for ${SYS_NAME} ;; \
64 ${INSTALL} afszcm.cat ${DESTDIR}root.client/usr/vice/etc/C ;; \
68 ${INSTALL} ${AFS_OSTYPE}/osi_vfs.h ${DESTDIR}include/afs ;;\
70 echo No vfs headers to install for ${SYS_NAME};; \
74 echo Nothing to delete.