src/demo/Makefile.am
author ladanyi
Sun, 24 Apr 2005 22:26:37 +0000
changeset 1385 49d1ca28ebd8
parent 1362 b4330c52caeb
child 1387 37d1b20cd9ef
permissions -rw-r--r--
Don't set {GLPK,CPLEX}_{CFLAGS,LIBS} if the check fails.
ladanyi@934
     1
AM_CPPFLAGS = -I$(top_srcdir)/src
alpar@1324
     2
LDADD = $(top_builddir)/src/lemon/libemon.la
ladanyi@1349
     3
alpar@1381
     4
if HAVE_GLPK
alpar@1381
     5
LP_CFLAGS = $(GLPK_CFLAGS) -DHAVE_GLPK
alpar@1381
     6
LP_LIBS = $(GLPK_LIBS)
alpar@1381
     7
else !HAVE_GLPK
alpar@1381
     8
if HAVE_CPLEX
alpar@1381
     9
LP_CFLAGS = $(CPLEX_CFLAGS) -DHAVE_CPLEX
alpar@1381
    10
LP_LIBS = $(CPLEX_LIBS)
alpar@1381
    11
endif HAVE_CPLEX
alpar@1381
    12
endif !HAVE_GLPK
alpar@1381
    13
alpar@1381
    14
ladanyi@934
    15
EXTRA_DIST = sub_graph_wrapper_demo.dim
ladanyi@934
    16
ladanyi@1349
    17
noinst_PROGRAMS = \
ladanyi@1349
    18
	dim_to_dot \
ladanyi@1349
    19
	dim_to_lgf \
ladanyi@1349
    20
	graph_to_eps_demo \
ladanyi@1349
    21
	min_route \
ladanyi@1349
    22
	sub_graph_wrapper_demo
ladanyi@1349
    23
ladanyi@1349
    24
if HAVE_GLPK
alpar@1361
    25
noinst_PROGRAMS += lp_demo lp_maxflow_demo
alpar@1381
    26
else !HAVE_GLPK
alpar@1381
    27
if HAVE_CPLEX
alpar@1381
    28
noinst_PROGRAMS += lp_demo lp_maxflow_demo
alpar@1381
    29
endif HAVE_CPLEX
alpar@1381
    30
endif !HAVE_GLPK
alpar@1381
    31
ladanyi@934
    32
ladanyi@934
    33
dim_to_dot_SOURCES = dim_to_dot.cc
ladanyi@934
    34
ladanyi@1349
    35
dim_to_lgf_SOURCES = dim_to_lgf.cc
alpar@1073
    36
deba@1296
    37
graph_to_eps_demo_SOURCES = graph_to_eps_demo.cc
deba@1296
    38
ladanyi@1349
    39
min_route_SOURCES = min_route.cc
ladanyi@1349
    40
ladanyi@1349
    41
sub_graph_wrapper_demo_SOURCES = \
ladanyi@1349
    42
	sub_graph_wrapper_demo.cc \
ladanyi@1349
    43
	tight_edge_filter_map.h
ladanyi@1349
    44
alpar@1322
    45
lp_demo_SOURCES = lp_demo.cc
alpar@1381
    46
lp_demo_CXXFLAGS = $(LP_CFLAGS)
alpar@1381
    47
lp_demo_LDFLAGS = $(LP_LIBS)
alpar@1361
    48
alpar@1362
    49
lp_maxflow_demo_SOURCES = lp_maxflow_demo.cc
alpar@1381
    50
lp_maxflow_demo_CXXFLAGS = $(LP_CFLAGS)
alpar@1381
    51
lp_maxflow_demo_LDFLAGS = $(LP_LIBS)