# 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
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@


INCDIRS= -I${DESTDIR}/include  -I..
CFLAGS = $(DBUG) -I${SRCDIR}/include ${INCDIRS} ${XCFLAGS} ${ARCHFLAGS}
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
