f59b9f52379ba3c8e8915a65c971ee1a2e643959
[openafs.git] / src / util / 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 INSTALL = @INSTALL@
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
14
15
16 CFLAGS = -I. -I.. -I${SRCDIR}/include ${XCFLAGS} ${ARCHFLAGS} ${DBG}
17
18 tests: test_ktime ktest dirpath_test
19
20 ktests.o: ktests.c ../ktime.h
21         ${CC} ${CFLAGS} -c ktests.c
22
23 ktest: ktest.o ../util.a
24         ${CC} ${CFLAGS} -o ktest ktest.o ../util.a ${XLIBS}
25
26 test_ktime.o: test_ktime.c ../ktime.h
27         ${CC} ${CFLAGS} -c test_ktime.c
28
29 test_ktime: test_ktime.o ../util.a
30         ${CC} ${CFLAGS} -o test_ktime test_ktime.o ../util.a ${XLIBS}
31
32 dirpath_test: dirpath_test.o ../util.a 
33         ${CC} dirpath_test.o  ${CFLAGS} -o dirpath_test ../util.a ${XLIBS}
34
35 b64: b64.o ../util.a
36         ${CC} b64.o ${CFLAGS} -o b64 ../util.a ${XLIBS}
37
38 fb64: fb64.o ../util.a
39         ${CC} fb64.o ${CFLAGS} -o fb64 ../util.a ${XLIBS}