ce29b96eb62609190dd254f1d0c187fa46f0233e
[openafs.git] / src / cmd / 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 SHELL = /bin/sh
14
15 OPTIMIZE=-O
16
17 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
18 LIBS=-lcmd -lcom_err -lafsutil
19
20 INCDIRS=  -I${SRCDIR}/include -I${SRCDIR}/include/afs -I..
21
22 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
23
24 all: test
25 test tests: ctest dtest itest
26
27 itest: itest.o 
28         cc ${CFLAGS} -o itest itest.o 
29
30 ctest: ctest.o
31         cc ${CFLAGS} -o ctest ctest.o 
32
33 dtest: dtest.o
34         cc ${CFLAGS} -o dtest dtest.o 
35
36 system: test
37
38 kinstall:
39         @echo No kernel source here.
40
41 clean:
42         $(RM) -f  *.a *.o ctest dtest itest core
43
44 install:
45 dest: