# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

SHELL = /bin/sh
include ../../config/Makefile.${SYS_NAME}
#include ../../config/Makefile.version

INSTALL=${SRCDIR}bin/install
RXGEN=${SRCDIR}bin/rxgen
COMPILE_ET = ${SRCDIR}bin/compile_et

INCDIRS= -I${DESTDIR}include  -I.. -I${BACKDIR}include
CFLAGS = $(DBUG) -I${SRCDIR}include ${INCDIRS} ${XCFLAGS}
LIBUSD=DEST/lib/afs/libusd.a

#####################################################################
# include files
INCLS=${SRCDIR}include/afs/param.h ${SRCDIR}include/afs/usd.h


# build usd_test
usd_test: usd_test.o ${LIBUSD} $(INCLS)
	$(CC) ${CFLAGS} -o usd_test usd_test.o ${LIBUSD} ${XLIBS}

usd_test.o: usd_test.c

clean:
	-rm  -f *.o usd_test \
	 core  AFS_component_version_number.c

#######################################################################

test tests: usd_test

kinstall:
	@echo No kernel source here.




