changes includes in test programs to use splitted header
[metaproxy-moved-to-github.git] / src / Makefile.am
index 3bbe77b..7600831 100644 (file)
@@ -1,23 +1,32 @@
-## $Id: Makefile.am,v 1.2 2005-10-06 09:53:11 marc Exp $
+## $Id: Makefile.am,v 1.7 2005-10-07 10:03:07 marc Exp $
 
-AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS) $(USEMARCONINC)
+AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
+
+YP2_INCHPP = session.hpp package.hpp filter.hpp router.hpp
 
 bin_PROGRAMS =
-check_PROGRAMS =  
-noinst_PROGRAMS =  p2 design
+check_PROGRAMS = test_filter1 test_filter2 test_session1 \
+                test_thread_pool_observer test_boost_threads
+noinst_PROGRAMS =  p2 
 
 TESTS=$(check_PROGRAMS)
 
-design_SOURCES=design.h  design_main.cpp
-
+test_filter1_SOURCES=test_filter1.cpp $(YP2_INCHPP)
+test_filter2_SOURCES=test_filter2.cpp $(YP2_INCHPP)
+test_session1_SOURCES=test_session1.cpp $(YP2_INCHPP)
+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 \
  p2_backend.h p2_backend_dummy.cpp \
  p2_modules.cpp p2_modules.h \
- p2_xmlerror.cpp p2_xmlerror.h msg-thread.h msg-thread.cpp
+ p2_xmlerror.cpp p2_xmlerror.h \
+ thread_pool_observer.cpp thread_pool_observer.h
+
 
-LDADD= $(YAZPPLALIB) $(XSLT_LIBS) $(USEMARCONLALIB)
+LDADD= $(YAZPPLALIB) $(XSLT_LIBS) -lboost_thread
 
 
 # Modules