# 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

INCDIRS= -I./ -I${DESTDIR}/include
LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L${DESTDIR}/lib/rx
LIBS= -lauth -lsys -lrx -llwp -lafsutil ${XLIBS}

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

tests all: testcellconf ktctest

testcellconf: testcellconf.o 
	$(CC) $(CFLAGS) -o testcellconf testcellconf.o  ${LIBS}

ktctest: ktctest.o 
	$(CC) $(CFLAGS) -o ktctest ktctest.o  ${LIBS}

clean:
	$(RM) -f *.o *.a copyauth testcellconf ktctest setkey auth.h cellconfig.h acfg_errors.c ktc_errors.c core

install:

dest:
