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
13 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
18 ${TOP_LIBDIR}/libdir.a \
22 ${TOP_INCDIR}/afs/dir.h
24 ${TOP_INCDIR}/afs/dir.h: dir.h
27 ${TOP_LIBDIR}/libdir.a: libdir.a
30 libdir.a: buffer.o dir.o salvage.o AFS_component_version_number.o
32 $(AR) crv $@ buffer.o dir.o salvage.o AFS_component_version_number.o
38 buffer.o: buffer.c dir.h
42 salvage.o: salvage.c dir.h
48 install: libdir.a dir.h
49 ${INSTALL} -d ${DESTDIR}${libdir}/afs
50 ${INSTALL} -d ${DESTDIR}${includedir}/afs
51 ${INSTALL_DATA} libdir.a ${DESTDIR}${libdir}/afs/libdir.a
52 ${INSTALL_DATA} ${srcdir}/dir.h ${DESTDIR}${includedir}/afs/dir.h
55 ${INSTALL} -d ${DEST}/lib/afs
56 ${INSTALL} -d ${DEST}/include/afs
57 ${INSTALL_DATA} libdir.a ${DEST}/lib/afs/libdir.a
58 ${INSTALL_DATA} ${srcdir}/dir.h ${DEST}/include/afs/dir.h
64 $(RM) -f *.o *.a core AFS_component_version_number.c
66 include ../config/Makefile.version