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
13 include @TOP_OBJDIR@/src/config/Makefile.pthread
16 $(top_builddir)/src/audit/libauthent_audit.la \
17 $(top_builddir)/src/auth/libauthent_auth.la \
18 $(top_builddir)/src/kauth/libauthent_kauth.la \
19 $(top_builddir)/src/ubik/libauthent_ubik.la \
20 $(top_builddir)/src/sys/libauthent_sys.la \
21 $(top_builddir)/src/ptserver/libauthent_ptserver.la \
22 $(top_builddir)/src/volser/libauthent_volser.la \
23 $(top_builddir)/src/vlserver/libauthent_vlserver.la
26 $(top_builddir)/src/opr/liboafs_opr.la \
27 $(top_builddir)/src/util/liboafs_util.la \
28 $(top_builddir)/src/libafsrpc/libafsrpc.la
30 LT_libs = $(LIB_hcrypto) $(LIB_roken) $(LIB_crypt) $(LIB_AFSDB) $(MT_LIBS)
32 all: libafsauthent.la libafsauthent_pic.la \
33 $(TOP_LIBDIR)/libafsauthent.a \
34 $(TOP_LIBDIR)/libafsauthent_pic.a
36 libafsauthent.la: libafsauthent.la.sym $(LT_objs) $(LT_deps) libafsauthent_pic.la
37 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
39 libafsauthent_pic.la: $(LT_objs)
40 $(LT_LDLIB_pic) $(LT_objs)
42 libafsauthent.a: $(LT_objs)
43 $(LT_LDLIB_static) $(LT_objs)
45 ${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
48 ${TOP_LIBDIR}/libafsauthent_pic.a: libafsauthent_pic.la
49 ${INSTALL_DATA} .libs/libafsauthent_pic.a $@
53 $(RM) -f *.o libafsauthent.a
55 install: libafsauthent.la libafsauthent_pic.la
56 ${INSTALL} -d ${DESTDIR}${libdir}
57 ${LT_INSTALL_DATA} libafsauthent.la ${DESTDIR}${libdir}/libafsauthent.la
58 ${INSTALL_DATA} libafsauthent_pic.a ${DESTDIR}${libdir}/libafsauthent_pic.a
61 ${INSTALL} -d ${DEST}/lib
62 ${INSTALL_DATA} libafsauthent.a ${DEST}/lib/libafsauthent.a