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.libtool
11 include @TOP_OBJDIR@/src/config/Makefile.lwp
13 LT_objs = aclprocs.lo netprocs.lo AFS_component_version_number.lo
14 LT_deps = $(top_builddir)/src/ptserver/liboafs_prot.la
22 ${TOP_LIBDIR}/libacl.a \
26 ${TOP_INCDIR}/afs/acl.h \
27 ${TOP_INCDIR}/afs/prs_fs.h
29 ${TOP_LIBDIR}/libacl.a: libacl.a
32 ${TOP_INCDIR}/afs/acl.h: acl.h
35 ${TOP_INCDIR}/afs/prs_fs.h: prs_fs.h
39 $(LT_LDLIB_lwp) $(LT_objs)
41 liboafs_acl.la: liboafs_acl.la.sym $(LT_objs) $(LT_deps)
42 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
44 aclprocs.lo: aclprocs.c acl.h
45 netprocs.lo: netprocs.c acl.h
48 # Installation targets
50 install: libacl.a acl.h prs_fs.h
51 ${INSTALL} -d ${DESTDIR}${libdir}/afs
52 ${INSTALL} -d ${DESTDIR}${includedir}/afs
53 ${INSTALL_DATA} libacl.a ${DESTDIR}${libdir}/afs/libacl.a
54 ${INSTALL_DATA} ${srcdir}/acl.h ${DESTDIR}${includedir}/afs/acl.h
55 ${INSTALL_DATA} ${srcdir}/prs_fs.h ${DESTDIR}${includedir}/afs/prs_fs.h
57 dest: libacl.a acl.h prs_fs.h
58 ${INSTALL} -d ${DEST}/lib/afs
59 ${INSTALL} -d ${DEST}/include/afs
60 ${INSTALL_DATA} libacl.a ${DEST}/lib/afs/libacl.a
61 ${INSTALL_DATA} ${srcdir}/acl.h ${DEST}/include/afs/acl.h
62 ${INSTALL_DATA} ${srcdir}/prs_fs.h ${DEST}/include/afs/prs_fs.h
72 $(RM) -f acltest *.o *.a core AFS_component_version_number.c
74 include ../config/Makefile.version