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 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.lwp
14 ${TOP_LIBDIR}/libdir.a \
18 ${TOP_INCDIR}/afs/dir.h
20 ${TOP_INCDIR}/afs/dir.h: dir.h
23 ${TOP_LIBDIR}/libdir.a: libdir.a
26 libdir.a: buffer.o dir.o salvage.o AFS_component_version_number.o
28 $(AR) crv $@ buffer.o dir.o salvage.o AFS_component_version_number.o
34 buffer.o: buffer.c dir.h
38 salvage.o: salvage.c dir.h
44 install: libdir.a dir.h
45 ${INSTALL} -d ${DESTDIR}${libdir}/afs
46 ${INSTALL} -d ${DESTDIR}${includedir}/afs
47 ${INSTALL_DATA} libdir.a ${DESTDIR}${libdir}/afs/libdir.a
48 ${INSTALL_DATA} ${srcdir}/dir.h ${DESTDIR}${includedir}/afs/dir.h
51 ${INSTALL} -d ${DEST}/lib/afs
52 ${INSTALL} -d ${DEST}/include/afs
53 ${INSTALL_DATA} libdir.a ${DEST}/lib/afs/libdir.a
54 ${INSTALL_DATA} ${srcdir}/dir.h ${DEST}/include/afs/dir.h
60 $(RM) -f *.o *.a core AFS_component_version_number.c
62 include ../config/Makefile.version