thread safe session class added using boost::mutex
[metaproxy-moved-to-github.git] / src / Makefile.am
index 16b46d3..d059692 100644 (file)
@@ -1,9 +1,10 @@
-## $Id: Makefile.am,v 1.4 2005-10-06 19:33:58 adam Exp $
+## $Id: Makefile.am,v 1.5 2005-10-06 21:41:12 marc Exp $
 
 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS) $(USEMARCONINC)
 
 bin_PROGRAMS =
-check_PROGRAMS = test_filter1 test_filter2 test_thread_pool_observer
+check_PROGRAMS = test_filter1 test_filter2 test_session1 \
+                test_thread_pool_observer test_boost_threads
 noinst_PROGRAMS =  p2 design
 
 TESTS=$(check_PROGRAMS)
@@ -12,6 +13,10 @@ design_SOURCES=design.h  design_main.cpp
 
 test_filter1_SOURCES=test_filter1.cpp
 test_filter2_SOURCES=test_filter2.cpp
+test_session1_SOURCES=test_session1.cpp
+test_boost_threads_SOURCES=test_boost_threads.cpp
+test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp \
+          thread_pool_observer.cpp thread_pool_observer.h
 
 p2_SOURCES=p2_frontend.cpp p2_msg.cpp p2.cpp p2_frontend.h \
  p2_config.cpp p2_config.h \
@@ -20,10 +25,8 @@ p2_SOURCES=p2_frontend.cpp p2_msg.cpp p2.cpp p2_frontend.h \
  p2_xmlerror.cpp p2_xmlerror.h \
  thread_pool_observer.cpp thread_pool_observer.h
 
-test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp \
- thread_pool_observer.cpp thread_pool_observer.h
 
-LDADD= $(YAZPPLALIB) $(XSLT_LIBS) $(USEMARCONLALIB)
+LDADD= $(YAZPPLALIB) $(XSLT_LIBS) $(USEMARCONLALIB) -lboost_thread
 
 
 # Modules