60b59e3f8840eb0523714e4e1c7ab58e4416e7bf
[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 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10
11
12 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
13 LIBS=-lcmd -lcom_err -lafsutil
14
15 INCDIRS=  -I${SRCDIR}/include -I${SRCDIR}/include/afs -I..
16
17 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
18
19 all: test
20 test tests: ctest dtest itest
21
22 itest: itest.o 
23         cc ${CFLAGS} -o itest itest.o 
24
25 ctest: ctest.o
26         cc ${CFLAGS} -o ctest ctest.o 
27
28 dtest: dtest.o
29         cc ${CFLAGS} -o dtest dtest.o 
30
31 system: test
32
33 clean:
34         $(RM) -f  *.a *.o ctest dtest itest core
35
36 install:
37 dest: