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
8 # Portions Copyright (c) 2003 Apple Computer, Inc.
11 include @TOP_OBJDIR@/src/config/Makefile.config
15 depinstall: ${TOP_INCDIR}/afs/afs.h ${TOP_INCDIR}/afs/osi_inode.h ${TOP_INCDIR}/afs/afs_stats.h \
16 ${TOP_INCDIR}/afs/exporter.h ${TOP_INCDIR}/afs/nfsclient.h afszcm.cat AFS_component_version_number.c ${TOP_INCDIR}/afs/unified_afs.h ${TOP_INCDIR}/afs/sysctl.h
18 pmax_ul43 | pmax_ul43a) \
19 ${INSTALL} longc_procs.h ${TOP_INCDIR}/afs ;; \
22 afs_trace.h afs_trace.msf: afs_trace.et
23 ${COMPILE_ET} -v 2 -p ${srcdir} afs_trace.et
25 unified_afs.c unified_afs.h: unified_afs.et
26 $(RM) -f unified_afs.c unified_afs.h
27 ${COMPILE_ET} -p ${srcdir} unified_afs -h unified_afs
29 afszcm.cat: afs_trace.msf
33 gencat -m afszcm.cat afs_trace.msf ;; \
35 /usr/etc/gencat afszcm.cat afs_trace.msf ;; \
36 *_linux* | *_umlinux* ) \
37 gencat --new afszcm.cat afs_trace.msf ;; \
39 gencat -new afszcm.cat afs_trace.msf ;; \
41 echo No gencat for ${SYS_NAME} ;; \
43 gencat afszcm.cat afs_trace.msf ;; \
46 install: ${DESTDIR}${includedir}/afs/afs.h ${DESTDIR}${includedir}/afs/osi_inode.h ${DESTDIR}${includedir}/afs/afs_stats.h ${DESTDIR}${includedir}/afs/exporter.h ${DESTDIR}${includedir}/afs/nfsclient.h ${DESTDIR}${includedir}/afs/unified_afs.h ${DESTDIR}${includedir}/afs/sysctl.h
48 pmax_ul43 | pmax_ul43a) \
49 ${INSTALL} longc_procs.h ${DESTDIR}${includedir}/afs ;; \
53 ${INSTALL} ${MKAFS_OSTYPE}/osi_vfs.h ${DESTDIR}${includedir}/afs || true ;;\
55 echo No vfs headers to install for ${SYS_NAME};; \
59 -$(RM) -f *.o core AFS_component_version_number.c afs_trace.h afs_trace.msf afszcm.cat
60 -$(RM) -f unified_afs.c unified_afs.h
61 include ../config/Makefile.version
62 ${DEST}/include/afs/afs.h: afs.h
65 ${DESTDIR}${includedir}/afs/afs.h: afs.h
68 ${TOP_INCDIR}/afs/afs.h: afs.h
72 ${DEST}/include/afs/unified_afs.h: unified_afs.h
75 ${DESTDIR}${includedir}/afs/unified_afs.h: unified_afs.h
78 ${TOP_INCDIR}/afs/unified_afs.h: unified_afs.h
82 ${DEST}/include/afs/osi_inode.h: ${MKAFS_OSTYPE}/osi_inode.h
85 ${DESTDIR}${includedir}/afs/osi_inode.h: ${MKAFS_OSTYPE}/osi_inode.h
88 ${TOP_INCDIR}/afs/osi_inode.h: ${MKAFS_OSTYPE}/osi_inode.h
92 ${DEST}/include/afs/afs_stats.h: afs_stats.h
95 ${DESTDIR}${includedir}/afs/afs_stats.h: afs_stats.h
98 ${TOP_INCDIR}/afs/afs_stats.h: afs_stats.h
102 ${DEST}/include/afs/sysctl.h: sysctl.h
105 ${DESTDIR}${includedir}/afs/sysctl.h: sysctl.h
108 ${TOP_INCDIR}/afs/sysctl.h: sysctl.h
112 ${DEST}/include/afs/exporter.h: exporter.h
115 ${DESTDIR}${includedir}/afs/exporter.h: exporter.h
119 ${TOP_INCDIR}/afs/exporter.h: exporter.h
123 ${DEST}/include/afs/nfsclient.h: nfsclient.h
126 ${DESTDIR}${includedir}/afs/nfsclient.h: nfsclient.h
130 ${TOP_INCDIR}/afs/nfsclient.h: nfsclient.h
134 dest: ${DEST}/include/afs/afs.h ${DEST}/include/afs/osi_inode.h ${DEST}/include/afs/afs_stats.h ${DEST}/include/afs/exporter.h ${DEST}/include/afs/nfsclient.h ${DEST}/include/afs/unified_afs.h ${DEST}/include/afs/sysctl.h
135 case ${SYS_NAME} in \
136 pmax_ul43 | pmax_ul43a) \
137 ${INSTALL} longc_procs.h ${DEST}/include/afs ;; \
139 case ${SYS_NAME} in \
141 echo skipping afszcm.cat install for ${SYS_NAME} ;; \
143 ${INSTALL} afszcm.cat ${DEST}/root.client/usr/vice/etc/C ;; \
145 case ${SYS_NAME} in \
147 ${INSTALL} ${MKAFS_OSTYPE}/osi_vfs.h ${DEST}/include/afs || true;;\
149 echo No vfs headers to install for ${SYS_NAME};; \