added multithreaded session test using 10 threads and 100 id updates each
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.12 2005-10-08 16:32:01 marc Exp $
2
3 MAINTAINERCLEANFILES    = Makefile.in config.in config.hpp
4
5
6 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
7
8 YP2_INCHPP = session.hpp package.hpp filter.hpp router.hpp
9
10 bin_PROGRAMS =
11 check_PROGRAMS = test_filter1 test_filter2 \
12                  test_session1 test_session2 \
13                  test_thread_pool_observer test_boost_threads
14 noinst_PROGRAMS =  p2 
15
16 TESTS=$(check_PROGRAMS)
17
18 test_filter1_SOURCES=test_filter1.cpp $(YP2_INCHPP)
19 test_filter2_SOURCES=test_filter2.cpp $(YP2_INCHPP)
20 test_session1_SOURCES=test_session1.cpp $(YP2_INCHPP)
21 test_session2_SOURCES=test_session2.cpp $(YP2_INCHPP)
22 test_boost_threads_SOURCES=test_boost_threads.cpp
23 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp \
24           thread_pool_observer.cpp thread_pool_observer.h
25
26 p2_SOURCES=p2_frontend.cpp p2_msg.cpp p2.cpp p2_frontend.h \
27  p2_config.cpp p2_config.h \
28  p2_backend.h p2_backend_dummy.cpp \
29  p2_modules.cpp p2_modules.h \
30  p2_xmlerror.cpp p2_xmlerror.h \
31  thread_pool_observer.cpp thread_pool_observer.h
32
33
34 LDADD= $(YAZPPLALIB) $(XSLT_LIBS)
35
36 test_filter1_LDADD = $(LDADD) -lboost_unit_test_framework
37 test_filter2_LDADD = $(LDADD) -lboost_unit_test_framework
38 test_session1_LDADD = $(LDADD) -lboost_unit_test_framework
39 test_session2_LDADD = $(LDADD) -lboost_unit_test_framework
40 test_boost_threads_LDADD = $(LDADD) -lboost_unit_test_framework
41
42
43
44
45 # doxygen target
46 dox:
47         (cd $(top_srcdir) ; make dox)