1 | # Copyright (C) 2006 International Business Machines and others. |
---|
2 | # All Rights Reserved. |
---|
3 | # This file is distributed under the Common Public License. |
---|
4 | |
---|
5 | ## $Id: Makefile.am 1176 2008-01-17 00:12:48Z lou $ |
---|
6 | |
---|
7 | # Author: Andreas Waechter IBM 2006-04-13 |
---|
8 | |
---|
9 | AUTOMAKE_OPTIONS = foreign |
---|
10 | |
---|
11 | ######################################################################## |
---|
12 | # libOsiCbc # |
---|
13 | ######################################################################## |
---|
14 | |
---|
15 | # Name of the library compiled in this directory. |
---|
16 | coinlibdir = ${libdir}/coin |
---|
17 | coinlib_LTLIBRARIES = libOsiCbc.la |
---|
18 | |
---|
19 | # List all source files for this library, including headers |
---|
20 | libOsiCbc_la_SOURCES = OsiCbcSolverInterface.cpp OsiCbcSolverInterface.hpp |
---|
21 | |
---|
22 | # This is for libtool (on Windows) |
---|
23 | libOsiCbc_la_LDFLAGS = $(LT_LDFLAGS) |
---|
24 | |
---|
25 | # Here list all include flags, relative to this "srcdir" directory. This |
---|
26 | # "cygpath" stuff is necessary to compile with native compilers on Windows. |
---|
27 | # "top_srcdir" refers to the basic directory for the main package that is |
---|
28 | # being compiled. |
---|
29 | |
---|
30 | # Needed by any OsiCbc configuration. |
---|
31 | |
---|
32 | AM_CPPFLAGS = $(COINDEPEND_CFLAGS) \ |
---|
33 | -I`$(CYGPATH_W) $(srcdir)/..` |
---|
34 | |
---|
35 | # Plus the appropriate include directories for the default solver. |
---|
36 | |
---|
37 | if OSICBC_DFLT_SOLVER_CLP |
---|
38 | AM_CPPFLAGS += ${CLP_CFLAGS} |
---|
39 | endif |
---|
40 | |
---|
41 | if OSICBC_DFLT_SOLVER_CPX |
---|
42 | AM_CPPFLAGS += ${CPX_CFLAGS} |
---|
43 | endif |
---|
44 | |
---|
45 | if OSICBC_DFLT_SOLVER_DYLP |
---|
46 | AM_CPPFLAGS += ${DYLP_CFLAGS} |
---|
47 | endif |
---|
48 | |
---|
49 | if OSICBC_DFLT_SOLVER_GLPK |
---|
50 | AM_CPPFLAGS += ${GLPK_CFLAGS} |
---|
51 | endif |
---|
52 | |
---|
53 | if OSICBC_DFLT_SOLVER_GRB |
---|
54 | AM_CPPFLAGS += ${GRB_CFLAGS} |
---|
55 | endif |
---|
56 | |
---|
57 | if OSICBC_DFLT_SOLVER_MSK |
---|
58 | AM_CPPFLAGS += ${MSK_CFLAGS} |
---|
59 | endif |
---|
60 | |
---|
61 | if OSICBC_DFLT_SOLVER_SYM |
---|
62 | AM_CPPFLAGS += ${SYM_CFLAGS} |
---|
63 | endif |
---|
64 | |
---|
65 | if OSICBC_DFLT_SOLVER_XPR |
---|
66 | AM_CPPFLAGS += ${XPR_CFLAGS} |
---|
67 | endif |
---|
68 | |
---|
69 | # This line is necessary to allow VPATH compilation with MS compilers |
---|
70 | # on Cygwin |
---|
71 | DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc |
---|
72 | |
---|
73 | ######################################################################## |
---|
74 | # Headers that need to be installed # |
---|
75 | ######################################################################## |
---|
76 | |
---|
77 | # Here list all the header files that are required by a user of the library, |
---|
78 | # and that therefore should be installed in 'include/coin' |
---|
79 | includecoindir = $(includedir)/coin |
---|
80 | includecoin_HEADERS = OsiCbcSolverInterface.hpp |
---|