cmd: Convert to using libtool
[openafs.git] / src / libadmin / test / 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 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.pthread
11 top_builddir=@TOP_OBJDIR@
12
13 ########################################################################
14 # build tests
15
16 AFSCPLIBS =\
17         $(TOP_LIBDIR)/libafsadminutil.a \
18         $(TOP_LIBDIR)/libclientadmin.a \
19         $(TOP_LIBDIR)/libbosadmin.a \
20         $(TOP_LIBDIR)/libvosadmin.a \
21         $(TOP_LIBDIR)/libkasadmin.a \
22         $(TOP_LIBDIR)/libptsadmin.a \
23         $(TOP_LIBDIR)/libafsauthent.a \
24         $(TOP_LIBDIR)/libafsrpc.a \
25         $(top_builddir)/src/cmd/liboafs_cmd.la \
26         $(top_builddir)/src/opr/liboafs_opr.la \
27         $(TOP_LIBDIR)/libafsutil.a \
28         ${TOP_LIBDIR}/libafshcrypto_lwp.a
29
30 AFSCPOBJS =\
31         bos.o \
32         client.o \
33         kas.o \
34         pts.o \
35         util.o \
36         vos.o
37
38 all test tests: afscp
39
40 CFLAGS_client.o = @CFLAGS_NOERROR@
41
42 afscp: afscp.o $(AFSCPOBJS) $(AFSCPLIBS)
43         $(LT_LDRULE_static) afscp.o $(AFSCPOBJS) $(AFSCPLIBS) \
44                 $(LIB_roken) $(LIB_crypt) ${MT_LIBS} $(XLIBS)
45
46 #######################################################################
47 install:
48
49 dest:
50
51 clean:
52         $(LT_CLEAN)
53         $(RM) -f *.o afscp core