build-system-specific-makefile-configuration-from-configure-20011031
[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
11
12 CC = ${MT_CC}
13 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${MT_CFLAGS}
14
15
16 ########################################################################
17 # build tests
18
19 AFSCPLIBS =\
20         $(TOP_LIBDIR)/libafsadminutil.a \
21         $(TOP_LIBDIR)/libclientadmin.a \
22         $(TOP_LIBDIR)/libbosadmin.a \
23         $(TOP_LIBDIR)/libvosadmin.a \
24         $(TOP_LIBDIR)/libkasadmin.a \
25         $(TOP_LIBDIR)/libptsadmin.a \
26         $(TOP_LIBDIR)/libafsauthent.a \
27         $(TOP_LIBDIR)/libafsrpc.a \
28         $(TOP_LIBDIR)/libcmd.a  # static library
29
30 AFSCPOBJS =\
31         bos.o \
32         client.o \
33         kas.o \
34         pts.o \
35         util.o \
36         vos.o
37
38 afscp: afscp.o $(AFSCPOBJS) $(AFSCPLIBS)
39         $(CC) $(CFLAGS) -o afscp afscp.o $(AFSCPOBJS) \
40         -L${TOP_LIBDIR} $(AFSCPLIBS) ${MT_LIBS} $(XLIBS)
41
42 #######################################################################
43 all test tests: afscp
44
45 install:
46
47 dest:
48
49 clean:
50         $(RM) -f *.o afscp core