Normalize names of libtool convenience libraries
[openafs.git] / src / libafsauthent / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 # This is a pthread safe library containing ubikclient, auth, kauth.
9
10 srcdir=@srcdir@
11 include @TOP_OBJDIR@/src/config/Makefile.config
12 include @TOP_OBJDIR@/src/config/Makefile.libtool
13
14 LT_objs = \
15         $(top_builddir)/src/audit/libaudit_pic.la \
16         $(top_builddir)/src/auth/libauth_pic.la   \
17         $(top_builddir)/src/kauth/libkauth_pic.la \
18         $(top_builddir)/src/ubik/libauthent_ubik.la \
19         $(top_builddir)/src/sys/libsys_pic.la \
20         $(top_builddir)/src/ptserver/libprot_pic.la \
21         $(top_builddir)/src/volser/libvolser_pic.la \
22         $(top_builddir)/src/vlserver/libvlserver_pic.la
23
24 LT_deps = \
25         $(top_builddir)/src/opr/libopr_pic.la \
26         $(top_builddir)/src/util/libafsutil_pic.la \
27         $(top_builddir)/src/libafsrpc/libafsrpc.la
28
29 LT_libs = $(LIB_hcrypto) $(LIB_roken) $(LIB_crypt) $(LIB_AFSDB) $(MT_LIBS)
30
31 all: libafsauthent.la libafsauthent_pic.la \
32         $(TOP_LIBDIR)/libafsauthent.a \
33         $(TOP_LIBDIR)/libafsauthent_pic.a
34
35 libafsauthent.la: libafsauthent.la.sym $(LT_objs) $(LT_deps) libafsauthent_pic.la
36         $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
37
38 libafsauthent_pic.la: $(LT_objs)
39         $(LT_LDLIB_pic) $(LT_objs)
40
41 libafsauthent.a: $(LT_objs) libafsauthent.la
42         $(LT_LDLIB_static) $(LT_objs)
43
44 ${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
45         ${INSTALL_DATA} $? $@
46
47 ${TOP_LIBDIR}/libafsauthent_pic.a: libafsauthent_pic.la
48         ${INSTALL_DATA} .libs/libafsauthent_pic.a $@
49
50 clean:
51         $(LT_CLEAN)
52         $(RM) -f *.o libafsauthent.a
53
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
58
59 dest: libafsauthent.a
60         ${INSTALL} -d ${DEST}/lib
61         ${INSTALL_DATA} libafsauthent.a ${DEST}/lib/libafsauthent.a