68a7d21c4ca271c0cde3d91f56b2607ad50d2d55
[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 DESTDIR=@DESTDIR@
9 SRCDIR=@SRCDIR@
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
12
13 SHELL = /bin/sh
14 include ../../config/Makefile.${SYS_NAME}
15
16 INSTALL=${SRCDIR}/bin/install
17 RXGEN=${SRCDIR}/bin/rxgen
18 COMPILE_ET = ${SRCDIR}/bin/compile_et
19
20 INCDIRS= -I${DESTDIR}/include  -I..
21 CFLAGS = $(DBUG) -I${SRCDIR}/include ${INCDIRS} ${XCFLAGS}
22 LIBUSD=DEST/lib/afs/libusd.a
23
24 #####################################################################
25 # include files
26 INCLS=${SRCDIR}/include/afs/param.h ${SRCDIR}/include/afs/usd.h
27
28
29 # build usd_test
30 usd_test: usd_test.o ${LIBUSD} $(INCLS)
31         $(CC) ${CFLAGS} -o usd_test usd_test.o ${LIBUSD} ${XLIBS}
32
33 usd_test.o: usd_test.c
34
35 clean:
36         -$(RM)  -f *.o usd_test \
37          core  AFS_component_version_number.c
38
39 #######################################################################
40
41 test tests: usd_test
42
43 kinstall:
44         @echo No kernel source here.
45
46
47
48