#
# $Id: Makefile.in,v 1.1 1999-02-02 20:40:47 kcr Exp $
#

SHELL=/bin/sh
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
MKDIR_P=@MKDIR_P@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@

CC=@CC@
DEFS=@DEFS@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
ALL_CFLAGS=-I../include ${CPPFLAGS} ${CFLAGS} ${DEFS}
RANLIB=@RANLIB@

OBJS=	main.o block.o get.o put.o internal.o
USPET=	../ets/usp_et.o

.c.o:
	${CC} -c ${ALL_CFLAGS} $<

all: libusp.a

clean:
	rm -f libusp.a $(OBJS)

distclean: clean
	rm -f Makefile

depend:

install:
	${MKDIR_P} ${DESTDIR}${libdir}
	${INSTALL_PROGRAM} libusp.a ${DESTDIR}${libdir}

libusp.a: $(OBJS) $(USPET)
	ar cru $@ $(OBJS) $(USPET)
	$(RANLIB) $@
