f99bfd508b3c618ca1ecfc761f03db7e3f2f57fb
[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
11
12 CFLAGS = -I. -I.. -I${SRCDIR}/include ${XCFLAGS} ${DBG}
13
14 tests: test_ktime ktest dirpath_test
15
16 ktests.o: ktests.c ../ktime.h
17         ${CC} ${CFLAGS} -c ktests.c
18
19 ktest: ktest.o ../util.a
20         ${CC} ${CFLAGS} -o ktest ktest.o ../util.a ${XLIBS}
21
22 test_ktime.o: test_ktime.c ../ktime.h
23         ${CC} ${CFLAGS} -c test_ktime.c
24
25 test_ktime: test_ktime.o ../util.a
26         ${CC} ${CFLAGS} -o test_ktime test_ktime.o ../util.a ${XLIBS}
27
28 dirpath_test: dirpath_test.o ../util.a 
29         ${CC} dirpath_test.o  ${CFLAGS} -o dirpath_test ../util.a ${XLIBS}
30
31 b64: b64.o ../util.a
32         ${CC} b64.o ${CFLAGS} -o b64 ../util.a ${XLIBS}
33
34 fb64: fb64.o ../util.a
35         ${CC} fb64.o ${CFLAGS} -o fb64 ../util.a ${XLIBS}