1 ## $Id: Makefile.am,v 1.12 2005-10-08 16:32:01 marc Exp $
3 MAINTAINERCLEANFILES = Makefile.in config.in config.hpp
6 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
8 YP2_INCHPP = session.hpp package.hpp filter.hpp router.hpp
11 check_PROGRAMS = test_filter1 test_filter2 \
12 test_session1 test_session2 \
13 test_thread_pool_observer test_boost_threads
16 TESTS=$(check_PROGRAMS)
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
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
34 LDADD= $(YAZPPLALIB) $(XSLT_LIBS)
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
47 (cd $(top_srcdir) ; make dox)