source: branches/autotools-update/Cbc/src/OsiCbc/Makefile.am @ 2395

Last change on this file since 2395 was 2395, checked in by stefan, 10 months ago

add get.dependencies.sh and compile; remove check for DEPENDENCY_LINKING; rerun autotools

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 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 2395 2018-10-16 20:29:18Z stefan $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11include $(top_srcdir)/BuildTools/Makemain.inc
12
13########################################################################
14#                             libOsiCbc                                #
15########################################################################
16
17# Name of the library compiled in this directory.
18
19lib_LTLIBRARIES = libOsiCbc.la
20
21# List all source files for this library, including headers
22
23libOsiCbc_la_SOURCES = OsiCbcSolverInterface.cpp OsiCbcSolverInterface.hpp
24
25# List all additionally required libraries
26libOsiCbc_la_LIBADD = $(CBCLIB_LFLAGS) ../libCbc.la
27
28# This is for libtool (on Windows)
29
30libOsiCbc_la_LDFLAGS = $(LT_LDFLAGS)
31
32# Here list all include flags, relative to this "srcdir" directory.  This
33# "cygpath" stuff is necessary to compile with native compilers on Windows.
34
35AM_CPPFLAGS = -DCBC_BUILD -I`$(CYGPATH_W) $(srcdir)/..` $(OSICBCLIB_CFLAGS)
36
37# Plus the appropriate include directories for the default solver.
38
39if OSICBC_DFLT_SOLVER_CLP
40  AM_CPPFLAGS += ${CLP_CFLAGS}
41endif
42
43if OSICBC_DFLT_SOLVER_CPX
44  AM_CPPFLAGS += ${CPX_CFLAGS}
45endif
46
47if OSICBC_DFLT_SOLVER_DYLP
48  AM_CPPFLAGS += ${DYLP_CFLAGS}
49endif
50
51if OSICBC_DFLT_SOLVER_GLPK
52  AM_CPPFLAGS += ${GLPK_CFLAGS}
53endif
54
55if OSICBC_DFLT_SOLVER_GRB
56  AM_CPPFLAGS += ${GRB_CFLAGS}
57endif
58
59if OSICBC_DFLT_SOLVER_MSK
60  AM_CPPFLAGS += ${MSK_CFLAGS}
61endif
62
63if OSICBC_DFLT_SOLVER_SYM
64  AM_CPPFLAGS += ${SYM_CFLAGS}
65endif
66
67if OSICBC_DFLT_SOLVER_XPR
68  AM_CPPFLAGS += ${XPR_CFLAGS}
69endif
70
71########################################################################
72#                Headers that need to be installed                     #
73########################################################################
74
75# Here list all the header files that are required by a user of the library,
76# and that therefore should be installed in 'include/coin'
77
78includecoindir = $(pkgincludedir)
79includecoin_HEADERS = OsiCbcSolverInterface.hpp
Note: See TracBrowser for help on using the repository browser.