
SHELL=	/bin/sh
CC=	@CC@
INSTALL=@INSTALL@
DEFS=	@DEFS@
CFLAGS= -O
ETDIR= ../et
INCLUDES=  -I. -I${ETDIR} -I../include

OBJS= main.o block.o get.o put.o internal.o usp_et.o

all:	libusp.a

libusp.a: ${OBJS}
	ar r libusp.a ${OBJS}
	@RANLIB@ libusp.a

install:

clean:
	rm -f libusp.a usp_et.c usp_et.h *.o *~

.c.o:
	${CC} ${CFLAGS} ${INCLUDES} ${DEFS} -c $*.c

usp_et.c usp_et.h: usp_et.et
	${ETDIR}/compile_et usp_et.et

block.o: block.c gen.h usp.h usp_et.h
get.o: get.c gen.h usp.h usp_et.h
internal.o: internal.c gen.h usp.h usp_et.h
main.o: main.c gen.h usp.h usp_et.h
put.o: put.c gen.h usp.h  usp_et.h
