Package logging of Z_GDU structs re-factored into own operator<<
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.51 2006-08-29 10:06:31 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_frontend_net.cpp filter_frontend_net.hpp \
21         filter_http_file.cpp filter_http_file.hpp \
22         filter_log.cpp filter_log.hpp \
23         filter_multi.cpp filter_multi.hpp \
24         filter_query_rewrite.cpp filter_query_rewrite.hpp \
25         filter_session_shared.cpp filter_session_shared.hpp \
26         filter_template.cpp filter_template.hpp \
27         filter_virt_db.cpp filter_virt_db.hpp \
28         filter_z3950_client.cpp filter_z3950_client.hpp \
29         gduutil.cpp gduutil.hpp \
30         package.cpp package.hpp \
31         pipe.cpp pipe.hpp \
32         plainfile.cpp \
33         router.hpp router_chain.hpp router_chain.cpp \
34         router_flexml.hpp router_flexml.cpp \
35         session.cpp session.hpp \
36         thread_pool_observer.cpp thread_pool_observer.hpp \
37         util.cpp util.hpp \
38         xmlutil.cpp xmlutil.hpp
39
40 # Rules for programs..
41
42 LDADD= libmetaproxy.la $(YAZPPLALIB) $(XSLT_LIBS)
43
44 bin_PROGRAMS = metaproxy
45 noinst_PROGRAMS = ex_filter_frontend_net ex_router_flexml tstdl
46
47 ex_filter_frontend_net_SOURCES = ex_filter_frontend_net.cpp
48 ex_router_flexml_SOURCES =  ex_router_flexml.cpp
49 tstdl_SOURCES = tstdl.cpp
50 metaproxy_SOURCES = metaproxy_prog.cpp
51
52 # Rules for dl programs
53 pkglib_LTLIBRARIES = metaproxy_filter_dl.la
54
55 metaproxy_filter_dl_la_SOURCES = filter_dl.cpp
56 metaproxy_filter_dl_la_LDFLAGS = -rpath $(pkglibdir) -module -avoid-version
57 metaproxy_filter_dl_la_LIBADD = libmetaproxy.la
58
59 # Rules for test programs..
60
61 check_PROGRAMS = \
62         test_package1 \
63         test_pipe \
64         test_filter1 test_filter2 \
65         test_session1 test_session2 \
66         test_thread_pool_observer \
67         test_boost_threads test_boost_time \
68         test_filter_auth_simple \
69         test_filter_factory \
70         test_filter_frontend_net \
71         test_filter_log \
72         test_filter_multi \
73         test_filter_query_rewrite \
74         test_filter_z3950_client \
75         test_filter_backend_test \
76         test_filter_virt_db \
77         test_ses_map \
78         test_router_flexml
79
80 TESTS=$(check_PROGRAMS)
81
82 test_package1_SOURCES=test_package1.cpp
83 test_pipe_SOURCES=test_pipe.cpp
84 test_filter1_SOURCES=test_filter1.cpp
85 test_filter2_SOURCES=test_filter2.cpp
86 test_session1_SOURCES=test_session1.cpp
87 test_session2_SOURCES=test_session2.cpp
88 test_boost_threads_SOURCES=test_boost_threads.cpp
89 test_boost_time_SOURCES=test_boost_time.cpp
90 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp
91 test_filter_auth_simple_SOURCES = test_filter_auth_simple.cpp
92 test_filter_factory_SOURCES = test_filter_factory.cpp
93 test_filter_frontend_net_SOURCES = test_filter_frontend_net.cpp
94 test_filter_log_SOURCES = test_filter_log.cpp
95 test_filter_multi_SOURCES = test_filter_multi.cpp
96 test_filter_query_rewrite_SOURCES = test_filter_query_rewrite.cpp
97 test_filter_z3950_client_SOURCES = test_filter_z3950_client.cpp
98 test_filter_backend_test_SOURCES = test_filter_backend_test.cpp
99 test_filter_virt_db_SOURCES = test_filter_virt_db.cpp
100 test_ses_map_SOURCES = test_ses_map.cpp
101 test_router_flexml_SOURCES = test_router_flexml.cpp
102
103 TESTLDADD = $(LDADD) -lboost_unit_test_framework
104
105 test_package1_LDADD = $(TESTLDADD)
106 test_pipe_LDADD = $(TESTLDADD)
107 test_filter1_LDADD = $(TESTLDADD)
108 test_filter2_LDADD = $(TESTLDADD)
109 test_session1_LDADD = $(TESTLDADD)
110 test_session2_LDADD = $(TESTLDADD)
111 test_boost_threads_LDADD = $(TESTLDADD)
112 test_boost_time_LDADD = $(TESTLDADD)
113 test_thread_pool_observer_LDADD = $(TESTLDADD)
114 test_filter_auth_simple_LDADD = $(TESTLDADD)
115 test_filter_factory_LDADD = $(TESTLDADD)
116 test_filter_frontend_net_LDADD = $(TESTLDADD)
117 test_filter_log_LDADD = $(TESTLDADD)
118 test_filter_multi_LDADD = $(TESTLDADD)
119 test_filter_query_rewrite_LDADD = $(TESTLDADD)
120 test_filter_z3950_client_LDADD = $(TESTLDADD)
121 test_filter_backend_test_LDADD = $(TESTLDADD)
122 test_filter_virt_db_LDADD = $(TESTLDADD)
123 test_ses_map_LDADD = $(TESTLDADD)
124 test_router_flexml_LDADD = $(TESTLDADD)
125
126 # doxygen target
127 dox:
128         (cd $(top_srcdir) ; make dox) 
129
130 showdox:
131         (cd $(top_srcdir) ; make showdox)