source: branches/split/Cbc/src/OsiCbc/Makefile.am @ 1444

Last change on this file since 1444 was 1444, checked in by stefan, 9 years ago

use new fallback macro; do not use COIN_HAS_PROJECT anymore

File size: 2.3 KB
Line 
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
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                             libOsiCbc                                #
13########################################################################
14
15# Name of the library compiled in this directory.
16coinlibdir = ${libdir}/coin
17coinlib_LTLIBRARIES = libOsiCbc.la
18
19# List all source files for this library, including headers
20libOsiCbc_la_SOURCES = OsiCbcSolverInterface.cpp OsiCbcSolverInterface.hpp
21
22# This is for libtool (on Windows)
23libOsiCbc_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
32AM_CPPFLAGS = $(COINDEPEND_CFLAGS) \
33        -I`$(CYGPATH_W) $(srcdir)/..`
34
35# Plus the appropriate include directories for the default solver.
36
37if OSICBC_DFLT_SOLVER_CLP
38  AM_CPPFLAGS += ${CLP_CFLAGS}
39endif
40
41if OSICBC_DFLT_SOLVER_CPX
42  AM_CPPFLAGS += ${CPX_CFLAGS}
43endif
44
45if OSICBC_DFLT_SOLVER_DYLP
46  AM_CPPFLAGS += ${DYLP_CFLAGS}
47endif
48
49if OSICBC_DFLT_SOLVER_GLPK
50  AM_CPPFLAGS += ${GLPK_CFLAGS}
51endif
52
53if OSICBC_DFLT_SOLVER_GRB
54  AM_CPPFLAGS += ${GRB_CFLAGS}
55endif
56
57if OSICBC_DFLT_SOLVER_MSK
58  AM_CPPFLAGS += ${MSK_CFLAGS}
59endif
60
61if OSICBC_DFLT_SOLVER_SYM
62  AM_CPPFLAGS += ${SYM_CFLAGS}
63endif
64
65if OSICBC_DFLT_SOLVER_XPR
66  AM_CPPFLAGS += ${XPR_CFLAGS}
67endif
68
69# This line is necessary to allow VPATH compilation with MS compilers
70# on Cygwin
71DEFAULT_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'
79includecoindir = $(includedir)/coin
80includecoin_HEADERS = OsiCbcSolverInterface.hpp
Note: See TracBrowser for help on using the repository browser.