| 1 | AM_CPPFLAGS = -I$(top_srcdir) -fno-inline |
|---|
| 2 | LDADD = $(top_builddir)/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 | all_pairs_shortest_path_test \ |
|---|
| 16 | bfs_test \ |
|---|
| 17 | dfs_test \ |
|---|
| 18 | dijkstra_test \ |
|---|
| 19 | graph_test \ |
|---|
| 20 | graph_adaptor_test \ |
|---|
| 21 | graph_utils_test \ |
|---|
| 22 | kruskal_test \ |
|---|
| 23 | max_matching_test \ |
|---|
| 24 | maps_test \ |
|---|
| 25 | matrix_maps_test \ |
|---|
| 26 | min_cost_flow_test \ |
|---|
| 27 | suurballe_test \ |
|---|
| 28 | path_test \ |
|---|
| 29 | preflow_test \ |
|---|
| 30 | test_tools_fail \ |
|---|
| 31 | test_tools_pass \ |
|---|
| 32 | time_measure_test \ |
|---|
| 33 | unionfind_test \ |
|---|
| 34 | undir_graph_test \ |
|---|
| 35 | xy_test \ |
|---|
| 36 | heap_test |
|---|
| 37 | |
|---|
| 38 | if HAVE_GLPK |
|---|
| 39 | check_PROGRAMS += lp_test |
|---|
| 40 | else !HAVE_GLPK |
|---|
| 41 | if HAVE_CPLEX |
|---|
| 42 | check_PROGRAMS += lp_test |
|---|
| 43 | endif HAVE_CPLEX |
|---|
| 44 | endif !HAVE_GLPK |
|---|
| 45 | |
|---|
| 46 | TESTS = $(check_PROGRAMS) |
|---|
| 47 | XFAIL_TESTS = test_tools_fail$(EXEEXT) |
|---|
| 48 | |
|---|
| 49 | all_pairs_shortest_path_test_SOURCES = all_pairs_shortest_path_test.cc |
|---|
| 50 | bfs_test_SOURCES = bfs_test.cc |
|---|
| 51 | dfs_test_SOURCES = dfs_test.cc |
|---|
| 52 | dijkstra_test_SOURCES = dijkstra_test.cc |
|---|
| 53 | graph_test_SOURCES = graph_test.cc |
|---|
| 54 | graph_utils_test_SOURCES = graph_utils_test.cc |
|---|
| 55 | graph_adaptor_test_SOURCES = graph_adaptor_test.cc |
|---|
| 56 | kruskal_test_SOURCES = kruskal_test.cc |
|---|
| 57 | maps_test_SOURCES = maps_test.cc |
|---|
| 58 | matrix_maps_test_SOURCES = matrix_maps_test.cc |
|---|
| 59 | min_cost_flow_test_SOURCES = min_cost_flow_test.cc |
|---|
| 60 | max_matching_test_SOURCES = max_matching_test.cc |
|---|
| 61 | suurballe_test_SOURCES = suurballe_test.cc |
|---|
| 62 | path_test_SOURCES = path_test.cc |
|---|
| 63 | preflow_test_SOURCES = preflow_test.cc |
|---|
| 64 | time_measure_test_SOURCES = time_measure_test.cc |
|---|
| 65 | test_tools_fail_SOURCES = test_tools_fail.cc |
|---|
| 66 | test_tools_pass_SOURCES = test_tools_pass.cc |
|---|
| 67 | unionfind_test_SOURCES = unionfind_test.cc |
|---|
| 68 | xy_test_SOURCES = xy_test.cc |
|---|
| 69 | undir_graph_test_SOURCES = undir_graph_test.cc |
|---|
| 70 | heap_test_SOURCES = heap_test.cc |
|---|
| 71 | |
|---|
| 72 | lp_test_SOURCES = lp_test.cc |
|---|
| 73 | lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) |
|---|