1 # Copyright 2000, International Business Machines Corporation and others.
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
9 include @TOP_OBJDIR@/src/config/Makefile.config
12 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
13 LIBS=-lcmd -lcom_err -lafsutil
15 INCDIRS= -I${SRCDIR}/include -I${SRCDIR}/include/afs -I..
17 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
20 test tests: ctest dtest itest
23 cc ${CFLAGS} -o itest itest.o
26 cc ${CFLAGS} -o ctest ctest.o
29 cc ${CFLAGS} -o dtest dtest.o
34 $(RM) -f *.a *.o ctest dtest itest core