test suite for sru_to_z3950 filter added. It is very uncomplete, and needs much more...
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.58 2006-09-28 10:38:00 marc Exp $
2
3 MAINTAINERCLEANFILES = Makefile.in config.in config.hpp
4
5 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
6
7 EXTRA_DIST=Jamfile.in
8
9 # Rules for the library..
10
11 lib_LTLIBRARIES = libmetaproxy.la
12 libmetaproxy_la_LDFLAGS = -version-info 1:0:0 -export-dynamic
13
14 libmetaproxy_la_SOURCES = \
15         factory_filter.cpp factory_filter.hpp \
16         factory_static.cpp factory_static.hpp \
17         filter.hpp filter.cpp \
18         filter_auth_simple.cpp filter_auth_simple.hpp \
19         filter_backend_test.cpp filter_backend_test.hpp \
20         filter_bounce.cpp filter_bounce.hpp \
21         filter_frontend_net.cpp filter_frontend_net.hpp \
22         filter_http_file.cpp filter_http_file.hpp \
23         filter_log.cpp filter_log.hpp \
24         filter_multi.cpp filter_multi.hpp \
25         filter_query_rewrite.cpp filter_query_rewrite.hpp \
26         filter_session_shared.cpp filter_session_shared.hpp \
27         filter_sru_to_z3950.cpp  filter_sru_to_z3950.hpp \
28         filter_template.cpp filter_template.hpp \
29         filter_virt_db.cpp filter_virt_db.hpp \
30         filter_z3950_client.cpp filter_z3950_client.hpp \
31         gduutil.cpp gduutil.hpp \
32         origin.cpp origin.hpp \
33         package.cpp package.hpp \
34         pipe.cpp pipe.hpp \
35         plainfile.cpp \
36         router.hpp router_chain.hpp router_chain.cpp \
37         router_flexml.hpp router_flexml.cpp \
38         session.cpp session.hpp \
39         sru_util.cpp sru_util.hpp \
40         thread_pool_observer.cpp thread_pool_observer.hpp \
41         util.cpp util.hpp \
42         xmlutil.cpp xmlutil.hpp
43
44 # Rules for programs..
45
46 LDADD= libmetaproxy.la $(YAZPPLALIB) $(XSLT_LIBS)
47
48 bin_PROGRAMS = metaproxy
49 noinst_PROGRAMS = ex_filter_frontend_net ex_router_flexml tstdl
50
51 ex_filter_frontend_net_SOURCES = ex_filter_frontend_net.cpp
52 ex_router_flexml_SOURCES =  ex_router_flexml.cpp
53 tstdl_SOURCES = tstdl.cpp
54 metaproxy_SOURCES = metaproxy_prog.cpp
55
56 # Rules for dl programs
57 pkglib_LTLIBRARIES = metaproxy_filter_dl.la
58
59 metaproxy_filter_dl_la_SOURCES = filter_dl.cpp
60 metaproxy_filter_dl_la_LDFLAGS = -rpath $(pkglibdir) -module -avoid-version
61 metaproxy_filter_dl_la_LIBADD = libmetaproxy.la
62
63 # Rules for test programs..
64
65 check_PROGRAMS = \
66         test_package1 \
67         test_pipe \
68         test_filter1 test_filter2 \
69         test_session1 test_session2 \
70         test_thread_pool_observer \
71         test_boost_threads test_boost_time \
72         test_filter_auth_simple \
73         test_filter_factory \
74         test_filter_frontend_net \
75         test_filter_log \
76         test_filter_multi \
77         test_filter_query_rewrite \
78         test_filter_z3950_client \
79         test_filter_backend_test \
80         test_filter_bounce \
81         test_filter_sru_to_z3950 \
82         test_filter_virt_db \
83         test_ses_map \
84         test_router_flexml
85
86 TESTS=$(check_PROGRAMS)
87
88 test_package1_SOURCES=test_package1.cpp
89 test_pipe_SOURCES=test_pipe.cpp
90 test_filter1_SOURCES=test_filter1.cpp
91 test_filter2_SOURCES=test_filter2.cpp
92 test_session1_SOURCES=test_session1.cpp
93 test_session2_SOURCES=test_session2.cpp
94 test_boost_threads_SOURCES=test_boost_threads.cpp
95 test_boost_time_SOURCES=test_boost_time.cpp
96 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp
97 test_filter_auth_simple_SOURCES = test_filter_auth_simple.cpp
98 test_filter_factory_SOURCES = test_filter_factory.cpp
99 test_filter_frontend_net_SOURCES = test_filter_frontend_net.cpp
100 test_filter_log_SOURCES = test_filter_log.cpp
101 test_filter_multi_SOURCES = test_filter_multi.cpp
102 test_filter_query_rewrite_SOURCES = test_filter_query_rewrite.cpp
103 test_filter_z3950_client_SOURCES = test_filter_z3950_client.cpp
104 test_filter_backend_test_SOURCES = test_filter_backend_test.cpp
105 test_filter_bounce_SOURCES = test_filter_bounce.cpp
106 test_filter_sru_to_z3950_SOURCES = test_filter_sru_to_z3950.cpp
107 test_filter_virt_db_SOURCES = test_filter_virt_db.cpp
108 test_ses_map_SOURCES = test_ses_map.cpp
109 test_router_flexml_SOURCES = test_router_flexml.cpp
110
111 TESTLDADD = $(LDADD) -lboost_unit_test_framework
112
113 test_package1_LDADD = $(TESTLDADD)
114 test_pipe_LDADD = $(TESTLDADD)
115 test_filter1_LDADD = $(TESTLDADD)
116 test_filter2_LDADD = $(TESTLDADD)
117 test_session1_LDADD = $(TESTLDADD)
118 test_session2_LDADD = $(TESTLDADD)
119 test_boost_threads_LDADD = $(TESTLDADD)
120 test_boost_time_LDADD = $(TESTLDADD)
121 test_filter_auth_simple_LDADD = $(TESTLDADD)
122 test_filter_factory_LDADD = $(TESTLDADD)
123 test_filter_frontend_net_LDADD = $(TESTLDADD)
124 test_filter_log_LDADD = $(TESTLDADD)
125 test_filter_multi_LDADD = $(TESTLDADD)
126 test_filter_query_rewrite_LDADD = $(TESTLDADD)
127 test_filter_z3950_client_LDADD = $(TESTLDADD)
128 test_filter_backend_test_LDADD = $(TESTLDADD)
129 test_filter_bounce_LDADD = $(TESTLDADD)
130 test_filter_sru_to_z3950_LDADD = $(TESTLDADD)
131 test_filter_virt_db_LDADD = $(TESTLDADD)
132 test_router_flexml_LDADD = $(TESTLDADD)
133 test_ses_map_LDADD = $(TESTLDADD)
134 test_thread_pool_observer_LDADD = $(TESTLDADD)
135
136 # doxygen target
137 dox:
138         (cd $(top_srcdir) ; make dox) 
139
140 showdox:
141         (cd $(top_srcdir) ; make showdox)