| 1 | AM_CPPFLAGS = -I$(top_srcdir)/src | 
|---|
| 2 | LDADD = $(top_builddir)/src/lemon/libemon.la | 
|---|
| 3 |  | 
|---|
| 4 | EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf | 
|---|
| 5 |  | 
|---|
| 6 | noinst_HEADERS = \ | 
|---|
| 7 |         test_tools.h \ | 
|---|
| 8 |         graph_test.h \ | 
|---|
| 9 |         sym_graph_test.h \ | 
|---|
| 10 |         map_test.h \ | 
|---|
| 11 |         graph_utils_test.h \ | 
|---|
| 12 |         heap_test.h | 
|---|
| 13 |  | 
|---|
| 14 | check_PROGRAMS = \ | 
|---|
| 15 |         bfs_test \ | 
|---|
| 16 |         dfs_test \ | 
|---|
| 17 |         dijkstra_test \ | 
|---|
| 18 |         graph_test \ | 
|---|
| 19 |         graph_wrapper_test \ | 
|---|
| 20 |         graph_utils_test \ | 
|---|
| 21 |         kruskal_test \ | 
|---|
| 22 |         max_matching_test \ | 
|---|
| 23 |         maps_test \ | 
|---|
| 24 |         min_cost_flow_test \ | 
|---|
| 25 |         suurballe_test \ | 
|---|
| 26 |         path_test \ | 
|---|
| 27 |         preflow_test \ | 
|---|
| 28 |         test_tools_fail \ | 
|---|
| 29 |         test_tools_pass \ | 
|---|
| 30 |         time_measure_test \ | 
|---|
| 31 |         unionfind_test \ | 
|---|
| 32 |         undir_graph_test \ | 
|---|
| 33 |         xy_test \ | 
|---|
| 34 |         heap_test | 
|---|
| 35 |  | 
|---|
| 36 | if HAVE_GLPK | 
|---|
| 37 | check_PROGRAMS += lp_test | 
|---|
| 38 | else !HAVE_GLPK | 
|---|
| 39 | if HAVE_CPLEX | 
|---|
| 40 | check_PROGRAMS += lp_test | 
|---|
| 41 | endif HAVE_CPLEX | 
|---|
| 42 | endif !HAVE_GLPK | 
|---|
| 43 |  | 
|---|
| 44 | TESTS = $(check_PROGRAMS) | 
|---|
| 45 | XFAIL_TESTS = test_tools_fail$(EXEEXT) | 
|---|
| 46 |  | 
|---|
| 47 | bfs_test_SOURCES = bfs_test.cc | 
|---|
| 48 | dfs_test_SOURCES = dfs_test.cc | 
|---|
| 49 | dijkstra_test_SOURCES = dijkstra_test.cc | 
|---|
| 50 | graph_test_SOURCES = graph_test.cc | 
|---|
| 51 | graph_utils_test_SOURCES = graph_utils_test.cc | 
|---|
| 52 | graph_wrapper_test_SOURCES = graph_wrapper_test.cc | 
|---|
| 53 | kruskal_test_SOURCES = kruskal_test.cc | 
|---|
| 54 | maps_test_SOURCES = maps_test.cc | 
|---|
| 55 | min_cost_flow_test_SOURCES = min_cost_flow_test.cc | 
|---|
| 56 | max_matching_test_SOURCES = max_matching_test.cc | 
|---|
| 57 | suurballe_test_SOURCES = suurballe_test.cc | 
|---|
| 58 | path_test_SOURCES = path_test.cc | 
|---|
| 59 | preflow_test_SOURCES = preflow_test.cc | 
|---|
| 60 | time_measure_test_SOURCES = time_measure_test.cc | 
|---|
| 61 | test_tools_fail_SOURCES = test_tools_fail.cc | 
|---|
| 62 | test_tools_pass_SOURCES = test_tools_pass.cc | 
|---|
| 63 | unionfind_test_SOURCES = unionfind_test.cc | 
|---|
| 64 | xy_test_SOURCES = xy_test.cc | 
|---|
| 65 | undir_graph_test_SOURCES = undir_graph_test.cc | 
|---|
| 66 | heap_test_SOURCES = heap_test.cc | 
|---|
| 67 |  | 
|---|
| 68 | lp_test_SOURCES = lp_test.cc | 
|---|
| 69 | lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) | 
|---|