filter factory in working shape, see example in test_filer_factory.cpp
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.31 2005-10-29 22:23:36 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 \
14         router.hpp router_chain.hpp router_chain.cpp \
15         router_flexml.hpp router_flexml.cpp \
16         thread_pool_observer.cpp thread_pool_observer.hpp \
17         filter.hpp filter.cpp filter_factory.hpp \
18         filter_frontend_net.cpp filter_frontend_net.hpp \
19         filter_log.cpp filter_log.hpp \
20         filter_virt_db.cpp filter_virt_db.hpp \
21         filter_z3950_client.cpp filter_z3950_client.hpp \
22         filter_backend_test.cpp filter_backend_test.hpp \
23         util.cpp util.hpp
24
25 # Rules for programs..
26
27 LDADD= libyp2.la $(YAZPPLALIB) $(XSLT_LIBS)
28
29 bin_PROGRAMS =
30 noinst_PROGRAMS = ex_filter_frontend_net ex_libxml2_conf ex_router_flexml
31
32 ex_filter_frontend_net_SOURCES = ex_filter_frontend_net.cpp
33 ex_libxml2_conf_SOURCES = ex_libxml2_conf.cpp
34 ex_router_flexml_SOURCES =  ex_router_flexml.cpp
35 # Rules for test programs..
36
37 check_PROGRAMS = \
38         test_package1 \
39         test_filter1 test_filter2 \
40         test_session1 test_session2 \
41         test_thread_pool_observer \
42         test_boost_threads test_boost_time \
43         test_filter_factory \
44         test_filter_frontend_net \
45         test_filter_log \
46         test_filter_z3950_client \
47         test_filter_backend_test \
48         test_filter_virt_db \
49         test_ses_map \
50         test_router_flexml
51
52 TESTS=$(check_PROGRAMS)
53
54 test_package1_SOURCES=test_package1.cpp
55 test_filter1_SOURCES=test_filter1.cpp
56 test_filter2_SOURCES=test_filter2.cpp
57 test_session1_SOURCES=test_session1.cpp
58 test_session2_SOURCES=test_session2.cpp
59 test_boost_threads_SOURCES=test_boost_threads.cpp
60 test_boost_time_SOURCES=test_boost_time.cpp
61 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp
62 test_filter_factory_SOURCES = test_filter_factory.cpp
63 test_filter_frontend_net_SOURCES = test_filter_frontend_net.cpp
64 test_filter_log_SOURCES = test_filter_log.cpp
65 test_filter_z3950_client_SOURCES = test_filter_z3950_client.cpp
66 test_filter_backend_test_SOURCES = test_filter_backend_test.cpp
67 test_filter_virt_db_SOURCES = test_filter_virt_db.cpp
68 test_ses_map_SOURCES = test_ses_map.cpp
69 test_router_flexml_SOURCES = test_router_flexml.cpp
70
71 TESTLDADD = $(LDADD) -lboost_unit_test_framework
72
73 test_filter1_LDADD = $(TESTLDADD)
74 test_filter2_LDADD = $(TESTLDADD)
75 test_session1_LDADD = $(TESTLDADD)
76 test_session2_LDADD = $(TESTLDADD)
77 test_boost_threads_LDADD = $(TESTLDADD)
78 test_boost_time_LDADD = $(TESTLDADD)
79 test_thread_pool_observer_LDADD = $(TESTLDADD)
80 test_package1_LDADD = $(TESTLDADD)
81 test_filter_factory_LDADD = $(TESTLDADD)
82 test_filter_frontend_net_LDADD = $(TESTLDADD)
83 test_filter_log_LDADD = $(TESTLDADD)
84 test_filter_z3950_client_LDADD = $(TESTLDADD)
85 test_filter_backend_test_LDADD = $(TESTLDADD)
86 test_filter_virt_db_LDADD = $(TESTLDADD)
87 test_ses_map_LDADD = $(TESTLDADD)
88 test_router_flexml_LDADD = $(TESTLDADD)
89
90 # doxygen target
91 dox:
92         (cd $(top_srcdir) ; make dox) 
93
94 showdox:
95         (cd $(top_srcdir) ; make showdox)