moved RouterChain class out of router.hpp file into own router_chain.hpp class
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.26 2005-10-26 10:21:03 marc Exp $
2
3 MAINTAINERCLEANFILES = Makefile.in config.in config.hpp
4
5 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
6
7 # Rules for the library..
8
9 lib_LTLIBRARIES = libyp2.la
10 libyp2_la_LDFLAGS = -version-info 0:0:0
11
12 libyp2_la_SOURCES = \
13         session.cpp session.hpp package.hpp filter.hpp\
14         router.hpp router_chain.hpp \
15         thread_pool_observer.cpp thread_pool_observer.hpp \
16         filter_frontend_net.cpp filter_frontend_net.hpp \
17         filter_log.cpp filter_log.hpp \
18         filter_virt_db.cpp filter_virt_db.hpp \
19         filter_z3950_client.cpp filter_z3950_client.hpp \
20         filter_backend_test.cpp filter_backend_test.hpp \
21         test_util.cpp test_util.hpp
22
23 # Rules for programs..
24
25 LDADD= libyp2.la $(YAZPPLALIB) $(XSLT_LIBS)
26
27 bin_PROGRAMS =
28 noinst_PROGRAMS = ex_filter_frontend_net ex_libxml2_conf
29
30 ex_filter_frontend_net_SOURCES = ex_filter_frontend_net.cpp
31 ex_libxml2_conf_SOURCES = ex_libxml2_conf.cpp
32
33 # Rules for test programs..
34
35 check_PROGRAMS = \
36         test_package1 \
37         test_filter1 test_filter2 \
38         test_session1 test_session2 \
39         test_thread_pool_observer \
40         test_boost_threads test_boost_time \
41         test_filter_frontend_net \
42         test_filter_log \
43         test_filter_z3950_client \
44         test_filter_backend_test \
45         test_filter_virt_db
46
47 TESTS=$(check_PROGRAMS)
48
49 test_package1_SOURCES=test_package1.cpp
50 test_filter1_SOURCES=test_filter1.cpp
51 test_filter2_SOURCES=test_filter2.cpp
52 test_session1_SOURCES=test_session1.cpp
53 test_session2_SOURCES=test_session2.cpp
54 test_boost_threads_SOURCES=test_boost_threads.cpp
55 test_boost_time_SOURCES=test_boost_time.cpp
56 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp
57 test_filter_frontend_net_SOURCES = test_filter_frontend_net.cpp
58 test_filter_log_SOURCES = test_filter_log.cpp
59 test_filter_z3950_client_SOURCES = test_filter_z3950_client.cpp
60 test_filter_backend_test_SOURCES = test_filter_backend_test.cpp
61 test_filter_virt_db_SOURCES = test_filter_virt_db.cpp
62
63 TESTLDADD = $(LDADD) -lboost_unit_test_framework
64
65 test_filter1_LDADD = $(TESTLDADD)
66 test_filter2_LDADD = $(TESTLDADD)
67 test_session1_LDADD = $(TESTLDADD)
68 test_session2_LDADD = $(TESTLDADD)
69 test_boost_threads_LDADD = $(TESTLDADD)
70 test_boost_time_LDADD = $(TESTLDADD)
71 test_thread_pool_observer_LDADD = $(TESTLDADD)
72 test_package1_LDADD = $(TESTLDADD)
73 test_filter_frontend_net_LDADD = $(TESTLDADD)
74 test_filter_log_LDADD = $(TESTLDADD)
75 test_filter_z3950_client_LDADD = $(TESTLDADD)
76 test_filter_backend_test_LDADD = $(TESTLDADD)
77 test_filter_virt_db_LDADD = $(TESTLDADD)
78
79 # doxygen target
80 dox:
81         (cd $(top_srcdir) ; make dox) 
82
83 showdox:
84         (cd $(top_srcdir) ; make showdox)