b58cadc18324f7cb4f657fea2e2806f67ffb102e
[openafs.git] / src / usd / 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 INCDIRS= -I${DESTDIR}/include  -I..
13 CFLAGS = $(DBUG) -I${SRCDIR}/include ${INCDIRS} ${XCFLAGS} ${ARCHFLAGS}
14 LIBUSD=DEST/lib/afs/libusd.a
15
16 #####################################################################
17 # include files
18 INCLS=${SRCDIR}/include/afs/param.h ${SRCDIR}/include/afs/usd.h
19
20
21 # build usd_test
22 usd_test: usd_test.o ${LIBUSD} $(INCLS)
23         $(CC) ${CFLAGS} -o usd_test usd_test.o ${LIBUSD} ${XLIBS}
24
25 usd_test.o: usd_test.c
26
27 clean:
28         -$(RM)  -f *.o usd_test \
29          core  AFS_component_version_number.c
30
31 #######################################################################
32
33 test tests: usd_test