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

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

change to new way of using and installing configuration header files; avoid using private symbols from config.h (like COIN_HAS_ASL, COIN_HAS_NTY, COIN_HAS_SCIP) in public header files

  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 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 624 2011-06-09 15:21:30Z stefan $
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
26#if COIN_HAS_SPX
27#couenne_LDADD += \
28#       $(SPXLIBDIR)/libsoplex-1.5.0.linux.x86_64.gnu.opt-shared.so
29#endif
30
31couenne_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
32
33# Finally, the -rpath flag is used by libtool to make sure that the shared
34# library is found (in the lib install directory) when we are using dynamic
35# libraries.
36couenne_LDFLAGS = -rpath $(libdir)
37
38# Here list all include flags, relative to this "srcdir" directory.  This
39# "cygpath" stuff is necessary to compile with native compilers on Windows
40AM_CPPFLAGS = $(COUENNELIB_CFLAGS) $(ASL_CFLAGS) \
41        -I`$(CYGPATH_W) $(srcdir)/..` \
42        -I`$(CYGPATH_W) $(srcdir)/../convex` \
43        -I`$(CYGPATH_W) $(srcdir)/../expression` \
44        -I`$(CYGPATH_W) $(srcdir)/../expression/operators` \
45        -I`$(CYGPATH_W) $(srcdir)/../interfaces` \
46        -I`$(CYGPATH_W) $(srcdir)/../heuristics` \
47        -I`$(CYGPATH_W) $(srcdir)/../branch`\
48        -I`$(CYGPATH_W) $(srcdir)/../problem` \
49        -I`$(CYGPATH_W) $(srcdir)/../cut/crossconv` \
50        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
51        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening/twoImpliedBT` \
52        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
53        -I`$(CYGPATH_W) $(srcdir)/../readnl`
54
55# This line is necessary to allow VPATH compilation
56DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I..
Note: See TracBrowser for help on using the repository browser.