Index: libs/graph/test/Jamfile =================================================================== RCS file: /cvsroot/boost/boost/libs/graph/test/Jamfile,v retrieving revision 1.7 diff -u -3 -p -r1.7 Jamfile --- libs/graph/test/Jamfile 8 Sep 2003 17:38:48 -0000 1.7 +++ libs/graph/test/Jamfile 17 Nov 2003 08:45:41 -0000 @@ -31,13 +31,8 @@ unit-test graph : graph.cpp : $(BOOST_ROOT) ; -compile leda_graph_cc.cpp : $(BOOST_ROOT) : - $(LEDA)/incl $(LEDA)/libG.a ; - compile reverse_graph_cc.cpp : $(BOOST_ROOT) ; -compile stanford_graph_cc.cpp : $(BOOST_ROOT) - $(SGB) $(SGB)/libgb.a ; unit-test subgraph : subgraph.cpp ../../test/build/boost_test_exec_monitor : $(BOOST_ROOT) ; @@ -47,3 +42,24 @@ compile vector_graph_cc.cpp : $(BOOST_ROOT) ; +# Run SDB tests only when -sSDB= is set. +if $(SDB) != "" +{ + local SDB_DEPENDCIES = + $(SGB) $(SGB)/libgb.a ; + + compile stanford_graph_cc.cpp : $(BOOST_ROOT) + $(SDB_DEPENDCIES) ; +} + +# Run LEDA tests only when -sLEDA= is set. +if $(LEDA) != "" +{ + local LEDA_DEPENDENCIES = + $(LEDA)/incl + $(LEDA)/libG.a + ; + + compile leda_graph_cc.cpp : $(BOOST_ROOT) + $(LEDA_DEPENDENCIES) ; +}