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