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
12 include @TOP_OBJDIR@
/src
/config
/Makefile.lwp
17 generated
: afs_trace.h afs_trace.msf unified_afs.c unified_afs.h
19 afs_trace.h
: afs_trace.et
20 ${COMPILE_ET_H} -v
2 -p
${srcdir} afs_trace
22 afs_trace.msf
: afs_trace.et
23 ${COMPILE_ET_C} -v
2 -p
${srcdir} afs_trace
25 unified_afs.h
: unified_afs.et unified_afs.p.h
26 ${COMPILE_ET_H} -p
${srcdir} unified_afs
-h unified_afs
28 unified_afs.c
: unified_afs.et
29 ${COMPILE_ET_C} -p
${srcdir} unified_afs
31 afszcm.cat
: afs_trace.msf
35 ${GENCAT} -m 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 ${GENCAT} afszcm.cat afs_trace.msf
;; \
44 depinstall
: afszcm.cat AFS_component_version_number.c \
45 ${TOP_INCDIR}/afs
/afs_consts.h \
46 ${TOP_INCDIR}/afs
/afs.h \
47 ${TOP_INCDIR}/afs
/osi_inode.h \
48 ${TOP_INCDIR}/afs
/afs_stats.h \
49 ${TOP_INCDIR}/afs
/exporter.h \
50 ${TOP_INCDIR}/afs
/nfsclient.h \
51 ${TOP_INCDIR}/afs
/unified_afs.h \
52 ${TOP_INCDIR}/afs
/sysctl.h \
53 ${TOP_INCDIR}/afs
/afs_trace.h
55 ${TOP_INCDIR}/afs
/afs_consts.h
: afs_consts.h
58 ${TOP_INCDIR}/afs
/afs.h
: afs.h
61 ${TOP_INCDIR}/afs
/afs_stats.h
: afs_stats.h
64 ${TOP_INCDIR}/afs
/exporter.h
: exporter.h
67 ${TOP_INCDIR}/afs
/nfsclient.h
: nfsclient.h
70 ${TOP_INCDIR}/afs
/osi_inode.h
: ${MKAFS_OSTYPE}/osi_inode.h
73 ${TOP_INCDIR}/afs
/sysctl.h
: sysctl.h
76 ${TOP_INCDIR}/afs
/unified_afs.h
: unified_afs.h
79 ${TOP_INCDIR}/afs
/afs_trace.h
: afs_trace.h
82 install: unified_afs.h afs_trace.h
83 ${INSTALL} -d
${DESTDIR}${includedir}/afs
84 ${INSTALL_DATA} ${srcdir}/afs.h
${DESTDIR}${includedir}/afs
/afs.h
85 ${INSTALL_DATA} ${srcdir}/afs_consts.h
${DESTDIR}${includedir}/afs
/afs_consts.h
86 ${INSTALL_DATA} ${srcdir}/afs_stats.h
${DESTDIR}${includedir}/afs
/afs_stats.h
87 ${INSTALL_DATA} ${srcdir}/exporter.h
${DESTDIR}${includedir}/afs
/exporter.h
88 ${INSTALL_DATA} ${srcdir}/nfsclient.h
${DESTDIR}${includedir}/afs
/nfsclient.h
89 ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_inode.h \
90 ${DESTDIR}${includedir}/afs
/osi_inode.h
91 ${INSTALL_DATA} ${srcdir}/sysctl.h
${DESTDIR}${includedir}/afs
/sysctl.h
92 ${INSTALL_DATA} unified_afs.h
${DESTDIR}${includedir}/afs
/unified_afs.h
93 ${INSTALL_DATA} afs_trace.h
${DESTDIR}${includedir}/afs
/afs_trace.h
94 ${INSTALL_DATA} afszcm.cat
${DESTDIR}${afsdatadir}/C
/afszcm.cat
97 ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_vfs.h \
98 ${DESTDIR}${includedir}/afs
/osi_vfs.h || true
;;\
100 echo No vfs headers to
install for
${SYS_NAME};; \
103 dest
: unified_afs.h afs_trace.h
104 ${INSTALL} -d
${DEST}/include/afs
105 ${INSTALL_DATA} ${srcdir}/afs.h
${DEST}/include/afs
/afs.h
106 ${INSTALL_DATA} ${srcdir}/afs_consts.h
${DEST}/include/afs
/afs_consts.h
107 ${INSTALL_DATA} ${srcdir}/afs_stats.h
${DEST}/include/afs
/afs_stats.h
108 ${INSTALL_DATA} ${srcdir}/exporter.h
${DEST}/include/afs
/exporter.h
109 ${INSTALL_DATA} ${srcdir}/nfsclient.h
${DEST}/include/afs
/nfsclient.h
110 ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_inode.h
${DEST}/include/afs
/osi_inode.h
111 ${INSTALL_DATA} ${srcdir}/sysctl.h
${DEST}/include/afs
/sysctl.h
112 ${INSTALL_DATA} unified_afs.h
${DEST}/include/afs
/unified_afs.h
113 ${INSTALL_DATA} afs_trace.h
${DEST}/include/afs
/afs_trace.h
114 ${INSTALL_DATA} afszcm.cat
${DEST}/root.client
/usr
/vice
/etc
/C
/afszcm.cat
115 case
${SYS_NAME} in \
117 ${INSTALL_DATA} ${srcdir}/${MKAFS_OSTYPE}/osi_vfs.h \
118 ${DEST}/include/afs
/osi_vfs.h || true
;;\
120 echo No vfs headers to
install for
${SYS_NAME};; \
124 -$(RM
) -f
*.o core AFS_component_version_number.c afs_trace.h afs_trace.msf afszcm.cat
125 -$(RM
) -f unified_afs.c unified_afs.h
127 include ..
/config
/Makefile.version