source: trunk/Cbc/src/OsiCbc/Makefile.am @ 1979

Last change on this file since 1979 was 1979, checked in by stefan, 5 years ago

conditional addition of dependent libraries into project libs via LIBADD

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 1979 2013-11-21 19:57:20Z stefan $
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.
16lib_LTLIBRARIES = libOsiCbc.la
17
18# List all source files for this library, including headers
19libOsiCbc_la_SOURCES = OsiCbcSolverInterface.cpp OsiCbcSolverInterface.hpp
20
21# List all additionally required libraries
22if DEPENDENCY_LINKING
23libOsiCbc_la_LIBADD = $(CBCLIB_LIBS) ../libCbc.la
24endif
25
26# This is for libtool (on Windows)
27libOsiCbc_la_LDFLAGS = $(LT_LDFLAGS)
28
29# Here list all include flags, relative to this "srcdir" directory.  This
30# "cygpath" stuff is necessary to compile with native compilers on Windows.
31AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/..` $(COINDEPEND_CFLAGS)
32
33# Plus the appropriate include directories for the default solver.
34
35if OSICBC_DFLT_SOLVER_CLP
36  AM_CPPFLAGS += ${CLP_CFLAGS}
37endif
38
39if OSICBC_DFLT_SOLVER_CPX
40  AM_CPPFLAGS += ${CPX_CFLAGS}
41endif
42
43if OSICBC_DFLT_SOLVER_DYLP
44  AM_CPPFLAGS += ${DYLP_CFLAGS}
45endif
46
47if OSICBC_DFLT_SOLVER_GLPK
48  AM_CPPFLAGS += ${GLPK_CFLAGS}
49endif
50
51if OSICBC_DFLT_SOLVER_GRB
52  AM_CPPFLAGS += ${GRB_CFLAGS}
53endif
54
55if OSICBC_DFLT_SOLVER_MSK
56  AM_CPPFLAGS += ${MSK_CFLAGS}
57endif
58
59if OSICBC_DFLT_SOLVER_SYM
60  AM_CPPFLAGS += ${SYM_CFLAGS}
61endif
62
63if OSICBC_DFLT_SOLVER_XPR
64  AM_CPPFLAGS += ${XPR_CFLAGS}
65endif
66
67# This line is necessary to allow VPATH compilation
68DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I..
69
70########################################################################
71#                Headers that need to be installed                     #
72########################################################################
73
74# Here list all the header files that are required by a user of the library,
75# and that therefore should be installed in 'include/coin'
76includecoindir = $(includedir)/coin
77includecoin_HEADERS = OsiCbcSolverInterface.hpp
Note: See TracBrowser for help on using the repository browser.