# 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=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@


LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
LIBS=-lcmd -lcom_err -lafsutil

INCDIRS=  -I${SRCDIR}/include -I${SRCDIR}/include/afs -I..

CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS} ${ARCHFLAGS}

all: test
test tests: ctest dtest itest

itest: itest.o 
	cc ${CFLAGS} -o itest itest.o 

ctest: ctest.o
	cc ${CFLAGS} -o ctest ctest.o 

dtest: dtest.o
	cc ${CFLAGS} -o dtest dtest.o 

system: test

clean:
	$(RM) -f  *.a *.o ctest dtest itest core

install:
dest:
