lemon/Makefile.am
changeset 802 994c7df296c9
parent 667 d10545c08e61
child 686 7439dc5fe1b9
child 696 c9b9da1a90a0
child 701 d1a9224f1e30
child 758 b31e130db13d
child 959 17e36e175725
     1.1 --- a/lemon/Makefile.am	Fri Nov 13 12:33:33 2009 +0100
     1.2 +++ b/lemon/Makefile.am	Thu Dec 10 17:05:35 2009 +0100
     1.3 @@ -1,62 +1,131 @@
     1.4  EXTRA_DIST += \
     1.5  	lemon/lemon.pc.in \
     1.6 -	lemon/CMakeLists.txt
     1.7 +	lemon/CMakeLists.txt \
     1.8 +	lemon/config.h.cmake
     1.9  
    1.10  pkgconfig_DATA += lemon/lemon.pc
    1.11  
    1.12  lib_LTLIBRARIES += lemon/libemon.la
    1.13  
    1.14  lemon_libemon_la_SOURCES = \
    1.15 -        lemon/arg_parser.cc \
    1.16 -        lemon/base.cc \
    1.17 -        lemon/color.cc \
    1.18 -        lemon/random.cc \
    1.19 +	lemon/arg_parser.cc \
    1.20 +	lemon/base.cc \
    1.21 +	lemon/color.cc \
    1.22 +	lemon/lp_base.cc \
    1.23 +	lemon/lp_skeleton.cc \
    1.24 +	lemon/random.cc \
    1.25  	lemon/bits/windows.cc
    1.26  
    1.27 -#lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS)
    1.28 -#lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS)
    1.29 +nodist_lemon_HEADERS = lemon/config.h	
    1.30  
    1.31 -nodist_lemon_HEADERS = lemon/config.h
    1.32 +lemon_libemon_la_CXXFLAGS = \
    1.33 +	$(AM_CXXFLAGS) \
    1.34 +	$(GLPK_CFLAGS) \
    1.35 +	$(CPLEX_CFLAGS) \
    1.36 +	$(SOPLEX_CXXFLAGS) \
    1.37 +	$(CLP_CXXFLAGS) \
    1.38 +	$(CBC_CXXFLAGS)
    1.39 +
    1.40 +lemon_libemon_la_LDFLAGS = \
    1.41 +	$(GLPK_LIBS) \
    1.42 +	$(CPLEX_LIBS) \
    1.43 +	$(SOPLEX_LIBS) \
    1.44 +	$(CLP_LIBS) \
    1.45 +	$(CBC_LIBS)
    1.46 +
    1.47 +if HAVE_GLPK
    1.48 +lemon_libemon_la_SOURCES += lemon/glpk.cc
    1.49 +endif
    1.50 +
    1.51 +if HAVE_CPLEX
    1.52 +lemon_libemon_la_SOURCES += lemon/cplex.cc
    1.53 +endif
    1.54 +
    1.55 +if HAVE_SOPLEX
    1.56 +lemon_libemon_la_SOURCES += lemon/soplex.cc
    1.57 +endif
    1.58 +
    1.59 +if HAVE_CLP
    1.60 +lemon_libemon_la_SOURCES += lemon/clp.cc
    1.61 +endif
    1.62 +
    1.63 +if HAVE_CBC
    1.64 +lemon_libemon_la_SOURCES += lemon/cbc.cc
    1.65 +endif
    1.66  
    1.67  lemon_HEADERS += \
    1.68 -        lemon/arg_parser.h \
    1.69 +	lemon/adaptors.h \
    1.70 +	lemon/arg_parser.h \
    1.71  	lemon/assert.h \
    1.72 -        lemon/bfs.h \
    1.73 -        lemon/bin_heap.h \
    1.74 -        lemon/color.h \
    1.75 +	lemon/bfs.h \
    1.76 +	lemon/bin_heap.h \
    1.77 +	lemon/bucket_heap.h \
    1.78 +	lemon/cbc.h \
    1.79 +	lemon/circulation.h \
    1.80 +	lemon/clp.h \
    1.81 +	lemon/color.h \
    1.82  	lemon/concept_check.h \
    1.83 -        lemon/counter.h \
    1.84 +	lemon/connectivity.h \
    1.85 +	lemon/counter.h \
    1.86  	lemon/core.h \
    1.87 -        lemon/dfs.h \
    1.88 -        lemon/dijkstra.h \
    1.89 -        lemon/dim2.h \
    1.90 +	lemon/cplex.h \
    1.91 +	lemon/dfs.h \
    1.92 +	lemon/dijkstra.h \
    1.93 +	lemon/dim2.h \
    1.94 +	lemon/dimacs.h \
    1.95 +	lemon/edge_set.h \
    1.96 +	lemon/elevator.h \
    1.97  	lemon/error.h \
    1.98 -        lemon/graph_to_eps.h \
    1.99 +	lemon/euler.h \
   1.100 +	lemon/fib_heap.h \
   1.101 +	lemon/full_graph.h \
   1.102 +	lemon/glpk.h \
   1.103 +	lemon/gomory_hu.h \
   1.104 +	lemon/graph_to_eps.h \
   1.105 +	lemon/grid_graph.h \
   1.106 +	lemon/hypercube_graph.h \
   1.107  	lemon/kruskal.h \
   1.108 +	lemon/hao_orlin.h \
   1.109  	lemon/lgf_reader.h \
   1.110  	lemon/lgf_writer.h \
   1.111  	lemon/list_graph.h \
   1.112 +	lemon/lp.h \
   1.113 +	lemon/lp_base.h \
   1.114 +	lemon/lp_skeleton.h \
   1.115 +	lemon/list_graph.h \
   1.116  	lemon/maps.h \
   1.117 +	lemon/matching.h \
   1.118  	lemon/math.h \
   1.119 +	lemon/min_cost_arborescence.h \
   1.120 +	lemon/nauty_reader.h \
   1.121 +	lemon/network_simplex.h \
   1.122  	lemon/path.h \
   1.123 -        lemon/random.h \
   1.124 +	lemon/preflow.h \
   1.125 +	lemon/radix_heap.h \
   1.126 +	lemon/radix_sort.h \
   1.127 +	lemon/random.h \
   1.128  	lemon/smart_graph.h \
   1.129 -        lemon/time_measure.h \
   1.130 -        lemon/tolerance.h \
   1.131 +	lemon/soplex.h \
   1.132 +	lemon/suurballe.h \
   1.133 +	lemon/time_measure.h \
   1.134 +	lemon/tolerance.h \
   1.135  	lemon/unionfind.h \
   1.136  	lemon/bits/windows.h
   1.137  
   1.138  bits_HEADERS += \
   1.139  	lemon/bits/alteration_notifier.h \
   1.140  	lemon/bits/array_map.h \
   1.141 -	lemon/bits/base_extender.h \
   1.142 -        lemon/bits/bezier.h \
   1.143 +	lemon/bits/bezier.h \
   1.144  	lemon/bits/default_map.h \
   1.145 -        lemon/bits/enable_if.h \
   1.146 +	lemon/bits/edge_set_extender.h \
   1.147 +	lemon/bits/enable_if.h \
   1.148 +	lemon/bits/graph_adaptor_extender.h \
   1.149  	lemon/bits/graph_extender.h \
   1.150  	lemon/bits/map_extender.h \
   1.151  	lemon/bits/path_dump.h \
   1.152 +	lemon/bits/solver_bits.h \
   1.153  	lemon/bits/traits.h \
   1.154 +	lemon/bits/variant.h \
   1.155  	lemon/bits/vector_map.h
   1.156  
   1.157  concept_HEADERS += \