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
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
17 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
18 LIBS=-lcmd -lcom_err -lafsutil
20 INCDIRS= -I${SRCDIR}/include -I${SRCDIR}/include/afs -I..
22 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
25 test tests: ctest dtest itest
28 cc ${CFLAGS} -o itest itest.o
31 cc ${CFLAGS} -o ctest ctest.o
34 cc ${CFLAGS} -o dtest dtest.o
39 @echo No kernel source here.
42 $(RM) -f *.a *.o ctest dtest itest core