--- a/src/modules/base/functions/Makefile.am
+++ b/src/modules/base/functions/Makefile.am
@@ -11,3 +11,10 @@
 noinst_HEADERS = Infix.h Add.h Subtract.h Divide.h Multiply.h Neg.h	\
 Pow.h And.h Or.h Not.h Equal.h NotEqual.h GreaterThan.h			\
 GreaterOrEqual.h LessThan.h LessOrEqual.h 
+
+### Test library 
+
+check_LTLIBRARIES = libbasefuntest.la
+libbasefuntest_la_SOURCES = test.cc
+libbasefuntest_la_CPPFLAGS = -I$(top_srcdir)/src/include
+libbasefuntest_la_CXXFLAGS = $(CPPUNIT_CFLAGS)