c87db45ff0894742e617e35784d7406787ba9cce
[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 DEST=@DEST@
9 TOP_INCDIR=@TOP_INCDIR@
10 TOP_LIBDIR=@TOP_LIBDIR@
11 prefix=@prefix@
12 exec_prefix=@exec_prefix@
13 bindir=@bindir@
14 sbindir=@sbindir@
15 libexecdir=@libexecdir@
16 libdir=@libdir@
17 includedir=@includedir@
18 mandir=@mandir@
19 afssrvbindir=@afssrvbindir@
20 afssrvsbindir=@afssrvsbindir@
21 afssrvlibexecdir=@afssrvlibexecdir@
22 TOP_SRCDIR=@TOP_SRCDIR@
23 SYS_NAME=@AFS_SYSNAME@
24
25 include ../../config/Makefile.${SYS_NAME}
26
27 CC = ${MT_CC}
28 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
29
30
31 ########################################################################
32 # build tests
33
34 AFSCPLIBS =\
35         $(TOP_LIBDIR)/libafsadminutil.a \
36         $(TOP_LIBDIR)/libclientadmin.a \
37         $(TOP_LIBDIR)/libbosadmin.a \
38         $(TOP_LIBDIR)/libvosadmin.a \
39         $(TOP_LIBDIR)/libkasadmin.a \
40         $(TOP_LIBDIR)/libptsadmin.a \
41         $(TOP_LIBDIR)/libafsauthent.a \
42         $(TOP_LIBDIR)/libafsrpc.a \
43         $(TOP_LIBDIR)/libcmd.a  # static library
44
45 AFSCPOBJS =\
46         bos.o \
47         client.o \
48         kas.o \
49         pts.o \
50         util.o \
51         vos.o
52
53 afscp: afscp.o $(AFSCPOBJS) $(AFSCPLIBS)
54         $(CC) $(CFLAGS) -o afscp afscp.o $(AFSCPOBJS) \
55         -L${TOP_LIBDIR} $(AFSCPLIBS) ${MTLIBS} $(XLIBS)
56
57 #######################################################################
58 all test tests: afscp
59
60 install:
61
62 dest:
63
64 clean:
65         $(RM) -f *.o afscp core