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 # This is a pthread safe library containing ubikclient, auth, kauth.
11 include @TOP_OBJDIR@
/src
/config
/Makefile.config
12 include @TOP_OBJDIR@
/src
/config
/Makefile.libtool
14 # Increment these according to libtool's versioning rules (look them up!)
15 # The output library looks like libafsauthen.<current - age>.<revision>
21 $(top_builddir
)/src
/audit
/libaudit_pic.la \
22 $(top_builddir
)/src
/auth
/libauth_pic.la \
23 $(top_builddir
)/src
/kauth
/libkauth_pic.la \
24 $(top_builddir
)/src
/ubik
/libauthent_ubik.la \
25 $(top_builddir
)/src
/sys
/libsys_pic.la \
26 $(top_builddir
)/src
/ptserver
/libprot_pic.la \
27 $(top_builddir
)/src
/volser
/libvolser_pic.la \
28 $(top_builddir
)/src
/vlserver
/libvlserver_pic.la \
29 $(top_builddir
)/src
/opr
/libopr_pic.la \
30 $(top_builddir
)/src
/util
/libafsutil_pic.la
33 $(top_builddir
)/src
/libafsrpc
/libafsrpc.la
35 LT_libs
= $(LIB_hcrypto
) $(LIB_roken
) $(LIB_crypt
) $(LIB_AFSDB
) $(MT_LIBS
)
37 all: libafsauthent.la libafsauthent_pic.la \
38 $(TOP_LIBDIR
)/libafsauthent.a \
39 $(TOP_LIBDIR
)/libafsauthent_pic.a
41 libafsauthent.la
: libafsauthent.la.sym
$(LT_objs
) $(LT_deps
) libafsauthent_pic.la
42 $(LT_LDLIB_shlib
) $(LT_objs
) $(LT_deps
) $(LT_libs
)
44 libafsauthent_pic.la
: $(LT_objs
)
45 $(LT_LDLIB_pic
) $(LT_objs
)
47 # On AIX, libtool can only produce one of shared and static libraries in a
48 # given invocation, so we need separate rules.
49 libafsauthent.a
: $(LT_objs
) libafsauthent.la
50 $(LT_LDLIB_static
) $(LT_objs
)
52 ${TOP_LIBDIR}/libafsauthent.a
: libafsauthent.a
55 ${TOP_LIBDIR}/libafsauthent_pic.a
: libafsauthent_pic.la
56 ${INSTALL_DATA} .libs
/libafsauthent_pic.a
$@
60 $(RM
) -f
*.o libafsauthent.a
62 install: libafsauthent.la libafsauthent.a libafsauthent_pic.la
63 ${INSTALL} -d
${DESTDIR}${libdir}
64 ${LT_INSTALL_DATA} libafsauthent.la
${DESTDIR}${libdir}/libafsauthent.la
65 ${RM} ${DESTDIR}${libdir}/libafsauthent.la
66 ${INSTALL_DATA} libafsauthent.a
${DESTDIR}${libdir}/libafsauthent.a
67 ${INSTALL_DATA} .libs
/libafsauthent_pic.a
${DESTDIR}${libdir}/libafsauthent_pic.a
70 ${INSTALL} -d
${DEST}/lib
71 ${INSTALL_DATA} libafsauthent.a
${DEST}/lib
/libafsauthent.a