added test case for yp2::filter::Log, added time stamping inside log filter, added...
[metaproxy-moved-to-github.git] / src / Makefile.am
1 ## $Id: Makefile.am,v 1.21 2005-10-19 22:45:59 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 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_z3950_client.cpp filter_z3950_client.hpp
18
19 # Rules for programs..
20
21 LDADD= libyp2.la $(YAZPPLALIB) $(XSLT_LIBS)
22
23 bin_PROGRAMS =
24 noinst_PROGRAMS = ex_filter_frontend_net
25
26 ex_filter_frontend_net_SOURCES = ex_filter_frontend_net.cpp
27
28 # Rules for test programs..
29
30 check_PROGRAMS = \
31         test_package1 \
32         test_filter1 test_filter2 \
33         test_session1 test_session2 \
34         test_thread_pool_observer \
35         test_boost_threads test_boost_time \
36         test_filter_frontend_net \
37         test_filter_log \
38         test_filter_z3950_client
39
40 TESTS=$(check_PROGRAMS)
41
42 test_package1_SOURCES=test_package1.cpp
43 test_filter1_SOURCES=test_filter1.cpp
44 test_filter2_SOURCES=test_filter2.cpp
45 test_session1_SOURCES=test_session1.cpp
46 test_session2_SOURCES=test_session2.cpp
47 test_boost_threads_SOURCES=test_boost_threads.cpp
48 test_boost_time_SOURCES=test_boost_time.cpp
49 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp
50 test_filter_frontend_net_SOURCES = test_filter_frontend_net.cpp
51 test_filter_log_SOURCES = test_filter_log.cpp
52 test_filter_z3950_client_SOURCES = test_filter_z3950_client.cpp
53
54 TESTLDADD = $(LDADD) -lboost_unit_test_framework
55
56 test_filter1_LDADD = $(TESTLDADD)
57 test_filter2_LDADD = $(TESTLDADD)
58 test_session1_LDADD = $(TESTLDADD)
59 test_session2_LDADD = $(TESTLDADD)
60 test_boost_threads_LDADD = $(TESTLDADD)
61 test_boost_time_LDADD = $(TESTLDADD)
62 test_thread_pool_observer_LDADD = $(TESTLDADD)
63 test_package1_LDADD = $(TESTLDADD)
64 test_filter_frontend_net_LDADD = $(TESTLDADD)
65 test_filter_log_LDADD = $(TESTLDADD)
66 test_filter_z3950_client_LDADD = $(TESTLDADD)
67
68 # doxygen target
69 dox:
70         (cd $(top_srcdir) ; make dox) 
71
72 showdox:
73         (cd $(top_srcdir) ; make showdox)