# 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

srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.lwp



INCDIRS= -I${DESTDIR}/include  -I..
LIBUSD=${TOP_LIBDIR}/libusd.a

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


# build usd_test
usd_test: usd_test.o ${LIBUSD} $(INCLS)
	$(AFS_LDFLAGS) 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
