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
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
19 ${TOP_LIBDIR}/libacl.a \
23 ${TOP_INCDIR}/afs/acl.h \
24 ${TOP_INCDIR}/afs/prs_fs.h
26 ${TOP_LIBDIR}/libacl.a: libacl.a
29 ${TOP_INCDIR}/afs/acl.h: acl.h
32 ${TOP_INCDIR}/afs/prs_fs.h: prs_fs.h
35 libacl.a: aclprocs.o netprocs.o AFS_component_version_number.o
37 $(AR) crv $@ aclprocs.o netprocs.o AFS_component_version_number.o
40 aclprocs.o: aclprocs.c acl.h
42 netprocs.o: netprocs.c acl.h
45 # Installation targets
47 install: libacl.a acl.h prs_fs.h
48 ${INSTALL} -d ${DESTDIR}${libdir}/afs
49 ${INSTALL} -d ${DESTDIR}${includedir}/afs
50 ${INSTALL_DATA} libacl.a ${DESTDIR}${libdir}/afs/libacl.a
51 ${INSTALL_DATA} acl.h ${DESTDIR}${includedir}/afs/acl.h
52 ${INSTALL_DATA} prs_fs.h ${DESTDIR}${includedir}/afs/prs_fs.h
54 dest: libacl.a acl.h prs_fs.h
55 ${INSTALL} -d ${DEST}/lib/afs
56 ${INSTALL} -d ${DEST}/include/afs
57 ${INSTALL_DATA} libacl.a ${DEST}/lib/afs/libacl.a
58 ${INSTALL_DATA} acl.h ${DEST}/include/afs/acl.h
59 ${INSTALL_DATA} prs_fs.h ${DEST}/include/afs/prs_fs.h
68 $(RM) -f acltest *.o *.a core AFS_component_version_number.c
70 include ../config/Makefile.version