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