test for boost time added. missing configure test for headers yet ...
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.13 2005-10-08 17:28:28 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 test_boost_time
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_boost_time_SOURCES=test_boost_time.cpp
24 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp \
25           thread_pool_observer.cpp thread_pool_observer.h
26
27 p2_SOURCES=p2_frontend.cpp p2_msg.cpp p2.cpp p2_frontend.h \
28  p2_config.cpp p2_config.h \
29  p2_backend.h p2_backend_dummy.cpp \
30  p2_modules.cpp p2_modules.h \
31  p2_xmlerror.cpp p2_xmlerror.h \
32  thread_pool_observer.cpp thread_pool_observer.h
33
34
35 LDADD= $(YAZPPLALIB) $(XSLT_LIBS)
36
37 test_filter1_LDADD = $(LDADD) -lboost_unit_test_framework
38 test_filter2_LDADD = $(LDADD) -lboost_unit_test_framework
39 test_session1_LDADD = $(LDADD) -lboost_unit_test_framework
40 test_session2_LDADD = $(LDADD) -lboost_unit_test_framework
41 test_boost_threads_LDADD = $(LDADD) -lboost_unit_test_framework
42 test_boost_time_LDADD = $(LDADD) -lboost_unit_test_framework
43
44
45
46
47 # doxygen target
48 dox:
49         (cd $(top_srcdir) ; make dox)