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