makefile-updates-20010828
[openafs.git] / src / log / test / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 DESTDIR=@DESTDIR@
9 SRCDIR=@SRCDIR@
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
12
13
14
15 BACKDIR=../../../../PARENT/dest/
16 OPTIMIZE=-O
17
18 INCDIRS= -I${DESTDIR}/include -I.. -I${BACKDIR}/include -I${DESTDIR}/include/afs -I${BACKDIR}/include/afs
19 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L.. -L${BACKDIR}/lib -L${BACKDIR}/lib/afs
20 LIBS= -lauth -lrxkad -ldes -lsys -lrx -llwp -lcmd -lafsutil ${XLIBS}
21
22 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
23
24 # top-level options
25 system all test: testlog gettoktest
26
27 clean:  
28         rm -f *.o testlog gettoktest core
29
30 testlog: testlog.o 
31         ${CC} -o testlog testlog.o ${CFLAGS}
32
33 gettoktest: gettoktest.o 
34         ${CC} -o gettoktest gettoktest.o ${CFLAGS}
35