added check for automake version, which must be version 1.9 or newer, otherwise the...
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.10 2005-10-07 21:38:24 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 test_session1 \
12                 test_thread_pool_observer test_boost_threads
13 noinst_PROGRAMS =  p2 
14
15 TESTS=$(check_PROGRAMS)
16
17 test_filter1_SOURCES=test_filter1.cpp $(YP2_INCHPP)
18 test_filter2_SOURCES=test_filter2.cpp $(YP2_INCHPP)
19 test_session1_SOURCES=test_session1.cpp $(YP2_INCHPP)
20 test_boost_threads_SOURCES=test_boost_threads.cpp
21 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp \
22           thread_pool_observer.cpp thread_pool_observer.h
23
24 p2_SOURCES=p2_frontend.cpp p2_msg.cpp p2.cpp p2_frontend.h \
25  p2_config.cpp p2_config.h \
26  p2_backend.h p2_backend_dummy.cpp \
27  p2_modules.cpp p2_modules.h \
28  p2_xmlerror.cpp p2_xmlerror.h \
29  thread_pool_observer.cpp thread_pool_observer.h
30
31
32 LDADD= $(YAZPPLALIB) $(XSLT_LIBS)
33
34 test_filter1_LDADD = $(LDADD) -lboost_unit_test_framework
35 test_boost_threads_LDADD = $(LDADD) -lboost_unit_test_framework
36
37
38
39
40 # doxygen target
41 dox:
42         (cd $(top_srcdir) ; make dox)