base/rsvr.[ch]: New hack for buffering input to block-oriented functions.
[catacomb] / base / Makefile.am
index c9560ca..8de4d69 100644 (file)
@@ -29,6 +29,8 @@ include $(top_srcdir)/vars.am
 noinst_LTLIBRARIES      = libbase.la
 libbase_la_SOURCES      =
 
+TEST_LIBS               = libbase.la
+
 ###--------------------------------------------------------------------------
 ### Component files.
 
@@ -55,6 +57,12 @@ libbase_la_SOURCES   += lmem.c
 ## Clearing secrets from memory.
 pkginclude_HEADERS     += paranoia.h
 
+## Reservoir handling.
+pkginclude_HEADERS     += rsvr.h
+libbase_la_SOURCES     += rsvr.c
+TESTS                  += rsvr.t$(EXEEXT)
+EXTRA_DIST             += t/rsvr
+
 ## Base definitions for assembler source.
 EXTRA_DIST             += asm-common.h