# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

srcdir=.
include /home/afsbuild/test/sgi_65/sgi_65/src/config/Makefile.config

CC = ${MT_CC}
CFLAGS = ${COMMON_CFLAGS} ${MT_CFLAGS}

########################################################################
# build tests

AFSCPLIBS =\
	$(TOP_LIBDIR)/libafsadminutil.a \
	$(TOP_LIBDIR)/libclientadmin.a \
	$(TOP_LIBDIR)/libbosadmin.a \
	$(TOP_LIBDIR)/libvosadmin.a \
	$(TOP_LIBDIR)/libkasadmin.a \
	$(TOP_LIBDIR)/libptsadmin.a \
	$(TOP_LIBDIR)/libafsauthent.a \
	$(TOP_LIBDIR)/libafsrpc.a \
	$(TOP_LIBDIR)/libcmd.a \
	$(TOP_LIBDIR)/libafsutil.a

AFSCPOBJS =\
	bos.o \
	client.o \
	kas.o \
	pts.o \
	util.o \
	vos.o

afscp: afscp.o $(AFSCPOBJS) $(AFSCPLIBS)
	$(CC) $(CFLAGS) -o afscp afscp.o $(AFSCPOBJS) \
	-L${TOP_LIBDIR} $(AFSCPLIBS) ${MT_LIBS} $(XLIBS)

#######################################################################
all test tests: afscp

install:

dest:

clean:
	$(RM) -f *.o afscp core
