SRCS	= block.c get.c internal.c main.c put.c usp_et.h
USPOBJS	= main.o block.o get.o put.o internal.o usp_et.o

GeneralLibraryTarget(usp, $(USPOBJS))
InstallGeneralLibrary(usp, $(UTILLIBDIR))
InstallNonExec(usp.h, $(UTILINCDIR))
InstallNonExec(usp_et.h, $(UTILINCDIR))

GeneralLibraryObjectRule()

DependTarget()

CleanFiles(usp_et.c usp_et.h)

# Magic dependencies
usp_et.c usp_et.h: usp_et.et

depend :: $(TOP)/include/usp_et.h
$(TOP)/include/usp_et.h: usp_et.h
	rm -f $(TOP)/include/usp_et.h ; cp usp_et.h $(TOP)/include/usp_et.h

all :: ../ets/usp_et.o

../ets/usp_et.o : usp_et.o
	rm -f ../ets/usp_et.o
	cp usp_et.o ../ets/usp_et.o
