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