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

Last change on this file since 594 was 594, checked in by berthold, 9 years ago
  • added first support for SCIP, it can be used to solve the feasibility pump MILP
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 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 594 2011-06-01 16:59:44Z berthold $
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
21  #couenne2
22endif
23
24couenne_SOURCES = BonCouenne.cpp
25couenne_LDADD         = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_LIBS)         $(ASL_LIBS)
26
27if COIN_HAS_SCIP
28couenne_LDADD +=
29        /nfs/optimi/kombadon/bzfberth/projects/ziboptsuite-2.0.1/scip-2.0.1/lib/libscip-2.0.1.linux.x86_64.gnu.opt-shared.so \
30        /nfs/optimi/kombadon/bzfberth/projects/ziboptsuite-2.0.1/scip-2.0.1/lib/liblpispx-2.0.1.linux.x86_64.gnu.opt-shared.so \
31        /nfs/optimi/kombadon/bzfberth/projects/ziboptsuite-2.0.1/scip-2.0.1/lib/libnlpi-2.0.1.linux.x86_64.gnu.opt-shared.so \
32        /nfs/optimi/kombadon/bzfberth/projects/ziboptsuite-2.0.1/scip-2.0.1/lib/libobjscip-2.0.1.linux.x86_64.gnu.opt-shared.so \
33        /nfs/optimi/kombadon/bzfberth/projects/ziboptsuite-2.0.1/soplex-1.5.0/lib/libsoplex-1.5.0.linux.x86_64.gnu.opt-shared.so
34endif
35
36
37couenne_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
38
39#couenne2_SOURCES = Couenne.cpp CouenneOSInterface.cpp
40#couenne2_LDADD         = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_LIBS)         $(ASL_LIBS)
41#couenne2_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
42
43# Finally, the -rpath flag is used by libtool to make sure that the shared
44# library is found (in the lib install directory) when we are using dynamic
45# libraries.
46couenne_LDFLAGS = -rpath $(libdir)
47#couenne2_LDFLAGS = -rpath $(libdir)
48
49# Here list all include flags, relative to this "srcdir" directory.  This
50# "cygpath" stuff is necessary to compile with native compilers on Windows
51AM_CPPFLAGS = $(COUENNELIB_CFLAGS) $(ASL_CFLAGS) \
52        -I`$(CYGPATH_W) $(srcdir)/..` \
53        -I`$(CYGPATH_W) $(srcdir)/../convex` \
54        -I`$(CYGPATH_W) $(srcdir)/../expression` \
55        -I`$(CYGPATH_W) $(srcdir)/../expression/operators` \
56        -I`$(CYGPATH_W) $(srcdir)/../interfaces` \
57        -I`$(CYGPATH_W) $(srcdir)/../heuristics` \
58        -I`$(CYGPATH_W) $(srcdir)/../branch`\
59        -I`$(CYGPATH_W) $(srcdir)/../problem` \
60        -I`$(CYGPATH_W) $(srcdir)/../crossconv` \
61        -I`$(CYGPATH_W) $(srcdir)/../two_implied_bt` \
62        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
63        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
64        -I`$(CYGPATH_W) $(srcdir)/../readnl`
65
66# This line is necessary to allow VPATH compilation with MS compilers
67# on Cygwin
68DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
Note: See TracBrowser for help on using the repository browser.