venus: Remove dedebug
[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 # Increment these according to libtool's versioning rules (look them up!)
15 # The output library looks like libafsauthen.<current - age>.<revision>
16 LT_current = 2
17 LT_revision = 0
18 LT_age = 0
19
20 LT_objs = \
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
31
32 LT_deps = \
33         $(top_builddir)/src/libafsrpc/libafsrpc.la
34
35 LT_libs = $(LIB_hcrypto) $(LIB_roken) $(LIB_crypt) $(LIB_AFSDB) $(MT_LIBS)
36
37 @SHARED_ONLY@SHARED_LIBS = libafsauthent.la
38
39 all: $(SHARED_LIBS) libafsauthent_pic.la \
40         $(TOP_LIBDIR)/libafsauthent.a \
41         $(TOP_LIBDIR)/libafsauthent_pic.a
42
43 libafsauthent.la: libafsauthent.la.sym $(LT_objs) $(LT_deps) libafsauthent_pic.la libafsauthent.a
44         $(LT_LDLIB_shlib_only) $(LT_objs) $(LT_deps) $(LT_libs)
45
46 libafsauthent_pic.la: $(LT_objs)
47         $(LT_LDLIB_pic) $(LT_objs)
48
49 # On AIX, libtool can only produce one of shared and static libraries in a
50 # given invocation, so we need separate rules.
51 libafsauthent.a: $(LT_objs)
52         $(LT_LDLIB_static) $(LT_objs)
53
54 ${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
55         ${INSTALL_DATA} $? $@
56
57 ${TOP_LIBDIR}/libafsauthent_pic.a: libafsauthent_pic.la
58         ${INSTALL_DATA} .libs/libafsauthent_pic.a $@
59
60 clean:
61         $(LT_CLEAN)
62         $(RM) -f *.o libafsauthent.a
63
64 install: $(SHARED_LIBS) libafsauthent.a libafsauthent_pic.la
65         ${INSTALL} -d ${DESTDIR}${libdir}
66         @SHARED_ONLY@${LT_INSTALL_DATA} libafsauthent.la ${DESTDIR}${libdir}/libafsauthent.la
67         @SHARED_ONLY@${RM} ${DESTDIR}${libdir}/libafsauthent.la
68         ${INSTALL_DATA}  libafsauthent.a ${DESTDIR}${libdir}/libafsauthent.a
69         ${INSTALL_DATA}  .libs/libafsauthent_pic.a ${DESTDIR}${libdir}/libafsauthent_pic.a
70
71 dest: libafsauthent.a
72         ${INSTALL} -d ${DEST}/lib
73         ${INSTALL_DATA} libafsauthent.a ${DEST}/lib/libafsauthent.a