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

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

change library installation directory back to

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 Eclipse 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.
16lib_LTLIBRARIES = libOsiCbc.la
17
18# List all source files for this library, including headers
19libOsiCbc_la_SOURCES = OsiCbcSolverInterface.cpp OsiCbcSolverInterface.hpp
20
21# This is for libtool (on Windows)
22libOsiCbc_la_LDFLAGS = $(LT_LDFLAGS)
23
24# Here list all include flags, relative to this "srcdir" directory.  This
25# "cygpath" stuff is necessary to compile with native compilers on Windows.
26# "top_srcdir" refers to the basic directory for the main package that is
27# being compiled.
28
29# Needed by any OsiCbc configuration.
30
31AM_CPPFLAGS = $(COINDEPEND_CFLAGS) \
32        -I`$(CYGPATH_W) $(srcdir)/..`
33
34# Plus the appropriate include directories for the default solver.
35
36if OSICBC_DFLT_SOLVER_CLP
37  AM_CPPFLAGS += ${CLP_CFLAGS}
38endif
39
40if OSICBC_DFLT_SOLVER_CPX
41  AM_CPPFLAGS += ${CPX_CFLAGS}
42endif
43
44if OSICBC_DFLT_SOLVER_DYLP
45  AM_CPPFLAGS += ${DYLP_CFLAGS}
46endif
47
48if OSICBC_DFLT_SOLVER_GLPK
49  AM_CPPFLAGS += ${GLPK_CFLAGS}
50endif
51
52if OSICBC_DFLT_SOLVER_GRB
53  AM_CPPFLAGS += ${GRB_CFLAGS}
54endif
55
56if OSICBC_DFLT_SOLVER_MSK
57  AM_CPPFLAGS += ${MSK_CFLAGS}
58endif
59
60if OSICBC_DFLT_SOLVER_SYM
61  AM_CPPFLAGS += ${SYM_CFLAGS}
62endif
63
64if OSICBC_DFLT_SOLVER_XPR
65  AM_CPPFLAGS += ${XPR_CFLAGS}
66endif
67
68# This line is necessary to allow VPATH compilation with MS compilers
69# on Cygwin
70DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
71
72########################################################################
73#                Headers that need to be installed                     #
74########################################################################
75
76# Here list all the header files that are required by a user of the library,
77# and that therefore should be installed in 'include/coin'
78includecoindir = $(includedir)/coin
79includecoin_HEADERS = OsiCbcSolverInterface.hpp
Note: See TracBrowser for help on using the repository browser.