source: trunk/Couenne/src/main/Makefile.am @ 595

Last change on this file since 595 was 595, checked in by pbelotti, 9 years ago

adding configure/make options for SCIP. Adding two (empty for now) operators

  • 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 595 2011-06-01 17:53:43Z pbelotti $
6
7# Author: Pietro Belotti, on a template by Pierre Bonami
8
9AUTOMAKE_OPTIONS = foreign
10
11# what is built at this level
12
13lib_LTLIBRARIES = libBonCouenne.la
14
15libBonCouenne_la_SOURCES = \
16        BonCouenneSetup.cpp \
17        SmartAslDestr.cpp
18
19if COIN_HAS_ASL
20  bin_PROGRAMS = couenne
21endif
22
23couenne_SOURCES = BonCouenne.cpp
24couenne_LDADD   = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_LIBS) $(ASL_LIBS)
25
26if COIN_HAS_SCP
27couenne_LDADD += \
28        $(SCPLIBDIR)/libscip-2.0.1.linux.x86_64.gnu.opt-shared.so \
29        $(SCPLIBDIR)/liblpispx-2.0.1.linux.x86_64.gnu.opt-shared.so \
30        $(SCPLIBDIR)/libnlpi-2.0.1.linux.x86_64.gnu.opt-shared.so \
31        $(SCPLIBDIR)/libobjscip-2.0.1.linux.x86_64.gnu.opt-shared.so
32endif
33
34if COIN_HAS_SPX
35couenne_LDADD += \
36        $(SPXLIBDIR)/libsoplex-1.5.0.linux.x86_64.gnu.opt-shared.so
37endif
38
39couenne_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
40
41# Finally, the -rpath flag is used by libtool to make sure that the shared
42# library is found (in the lib install directory) when we are using dynamic
43# libraries.
44couenne_LDFLAGS = -rpath $(libdir)
45
46# Here list all include flags, relative to this "srcdir" directory.  This
47# "cygpath" stuff is necessary to compile with native compilers on Windows
48AM_CPPFLAGS = $(COUENNELIB_CFLAGS) $(ASL_CFLAGS) \
49        -I`$(CYGPATH_W) $(srcdir)/..` \
50        -I`$(CYGPATH_W) $(srcdir)/../convex` \
51        -I`$(CYGPATH_W) $(srcdir)/../expression` \
52        -I`$(CYGPATH_W) $(srcdir)/../expression/operators` \
53        -I`$(CYGPATH_W) $(srcdir)/../interfaces` \
54        -I`$(CYGPATH_W) $(srcdir)/../heuristics` \
55        -I`$(CYGPATH_W) $(srcdir)/../branch`\
56        -I`$(CYGPATH_W) $(srcdir)/../problem` \
57        -I`$(CYGPATH_W) $(srcdir)/../crossconv` \
58        -I`$(CYGPATH_W) $(srcdir)/../two_implied_bt` \
59        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
60        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
61        -I`$(CYGPATH_W) $(srcdir)/../readnl`
62
63# This line is necessary to allow VPATH compilation with MS compilers
64# on Cygwin
65DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
Note: See TracBrowser for help on using the repository browser.