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@
16 BACKDIR=../../../../PARENT/dest/
19 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L.. L${BACKDIR}/lib -L${BACKDIR}/lib/afs
20 LIBS=-lcmd -lcom_err -lafsutil
22 INCDIRS= -I${SRCDIR}/include -I${SRCDIR}/include/afs -I.. -I${BACKDIR}/include -I${BACKDIR}/include/afs
24 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
27 test tests: ctest dtest itest
30 cc ${CFLAGS} -o itest itest.o
33 cc ${CFLAGS} -o ctest ctest.o
36 cc ${CFLAGS} -o dtest dtest.o
41 @echo No kernel source here.
44 rm -f *.a *.o ctest dtest itest core