1 ## $Id: Makefile.am,v 1.17 2005-10-13 20:06:45 adam Exp $
3 MAINTAINERCLEANFILES = Makefile.in config.in config.hpp
5 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
7 # Rules for the library..
9 lib_LTLIBRARIES = libyp2.la
10 libyp2_la_LDFLAGS = -version-info 0:0:0
12 libyp2_la_SOURCES = filter_frontend_net.cpp filter_frontend_net.hpp \
13 session.cpp session.hpp package.hpp filter.hpp router.hpp \
14 thread_pool_observer.cpp thread_pool_observer.hpp
16 # Rules for programs..
18 LDADD= libyp2.la $(YAZPPLALIB) $(XSLT_LIBS)
23 p2_SOURCES=p2_frontend.cpp p2_msg.cpp p2.cpp p2_frontend.h \
24 p2_config.cpp p2_config.h \
25 p2_backend.h p2_backend_dummy.cpp \
26 p2_modules.cpp p2_modules.h \
27 p2_xmlerror.cpp p2_xmlerror.h
29 # Rules for test programs..
33 test_filter1 test_filter2 \
34 test_session1 test_session2 \
35 test_thread_pool_observer \
36 test_boost_threads test_boost_time \
37 test_filter_frontend_net
39 TESTS=$(check_PROGRAMS)
41 test_package1_SOURCES=test_package1.cpp
42 test_filter1_SOURCES=test_filter1.cpp
43 test_filter2_SOURCES=test_filter2.cpp
44 test_session1_SOURCES=test_session1.cpp
45 test_session2_SOURCES=test_session2.cpp
46 test_boost_threads_SOURCES=test_boost_threads.cpp
47 test_boost_time_SOURCES=test_boost_time.cpp
48 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp
49 test_filter_frontend_net_SOURCES = test_filter_frontend_net.cpp
51 TESTLDADD = $(LDADD) -lboost_unit_test_framework
53 test_filter1_LDADD = $(TESTLDADD)
54 test_filter2_LDADD = $(TESTLDADD)
55 test_session1_LDADD = $(TESTLDADD)
56 test_session2_LDADD = $(TESTLDADD)
57 test_boost_threads_LDADD = $(TESTLDADD)
58 test_boost_time_LDADD = $(TESTLDADD)
59 test_thread_pool_observer_LDADD = $(TESTLDADD)
60 test_package1_LDADD = $(TESTLDADD)
61 test_filter_frontend_net_LDADD = $(TESTLDADD)
65 (cd $(top_srcdir) ; make dox)
68 (cd $(top_srcdir) ; make showdox)