changes includes in test programs to use splitted header
[metaproxy-moved-to-github.git] / src / Makefile.am
index 2843b2b..7600831 100644 (file)
@@ -1,19 +1,19 @@
-## $Id: Makefile.am,v 1.6 2005-10-07 09:21:41 marc Exp $
+## $Id: Makefile.am,v 1.7 2005-10-07 10:03:07 marc Exp $
 
 AM_CXXFLAGS = $(YAZPPINC) $(XSLT_CFLAGS)
 
+YP2_INCHPP = session.hpp package.hpp filter.hpp router.hpp
+
 bin_PROGRAMS =
 check_PROGRAMS = test_filter1 test_filter2 test_session1 \
                 test_thread_pool_observer test_boost_threads
-noinst_PROGRAMS =  p2 design
+noinst_PROGRAMS =  p2 
 
 TESTS=$(check_PROGRAMS)
 
-design_SOURCES=design.h  design_main.cpp
-
-test_filter1_SOURCES=test_filter1.cpp
-test_filter2_SOURCES=test_filter2.cpp
-test_session1_SOURCES=test_session1.cpp
+test_filter1_SOURCES=test_filter1.cpp $(YP2_INCHPP)
+test_filter2_SOURCES=test_filter2.cpp $(YP2_INCHPP)
+test_session1_SOURCES=test_session1.cpp $(YP2_INCHPP)
 test_boost_threads_SOURCES=test_boost_threads.cpp
 test_thread_pool_observer_SOURCES = test_thread_pool_observer.cpp \
           thread_pool_observer.cpp thread_pool_observer.h