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
15 $(top_builddir)/src/audit/libauthent_audit.la \
16 $(top_builddir)/src/auth/libauthent_auth.la \
17 $(top_builddir)/src/kauth/libauthent_kauth.la \
18 $(top_builddir)/src/ubik/libauthent_ubik.la \
19 $(top_builddir)/src/sys/libauthent_sys.la \
20 $(top_builddir)/src/ptserver/libauthent_ptserver.la \
21 $(top_builddir)/src/volser/libauthent_volser.la \
22 $(top_builddir)/src/vlserver/libauthent_vlserver.la
25 $(top_builddir)/src/opr/liboafs_opr.la \
26 $(top_builddir)/src/util/liboafs_util.la \
27 $(top_builddir)/src/libafsrpc/libafsrpc.la
29 LT_libs = $(LIB_hcrypto) $(LIB_roken) $(LIB_crypt) $(LIB_AFSDB) $(MT_LIBS)
31 all: libafsauthent.la libafsauthent_pic.la \
32 $(TOP_LIBDIR)/libafsauthent.a \
33 $(TOP_LIBDIR)/libafsauthent_pic.a
35 libafsauthent.la: libafsauthent.la.sym $(LT_objs) $(LT_deps) libafsauthent_pic.la
36 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
38 libafsauthent_pic.la: $(LT_objs)
39 $(LT_LDLIB_pic) $(LT_objs)
41 libafsauthent.a: $(LT_objs) libafsauthent.la
42 $(LT_LDLIB_static) $(LT_objs)
44 ${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
47 ${TOP_LIBDIR}/libafsauthent_pic.a: libafsauthent_pic.la
48 ${INSTALL_DATA} .libs/libafsauthent_pic.a $@
52 $(RM) -f *.o libafsauthent.a
54 install: libafsauthent.a libafsauthent_pic.la
55 ${INSTALL} -d ${DESTDIR}${libdir}
56 ${INSTALL_DATA} libafsauthent.a ${DESTDIR}${libdir}/libafsauthent.a
57 ${INSTALL_DATA} .libs/libafsauthent_pic.a ${DESTDIR}${libdir}/libafsauthent_pic.a
60 ${INSTALL} -d ${DEST}/lib
61 ${INSTALL_DATA} libafsauthent.a ${DEST}/lib/libafsauthent.a