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

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

adopting new build system in trunk

  • 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 Common Public License.
4
5## $Id: Makefile.am 487 2011-01-10 16:18:44Z 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
21  #couenne2
22endif
23
24couenne_SOURCES = BonCouenne.cpp
25couenne_LDADD         = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_LIBS)         $(ASL_LIBS)
26couenne_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
27
28#couenne2_SOURCES = Couenne.cpp CouenneOSInterface.cpp
29#couenne2_LDADD         = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_LIBS)         $(ASL_LIBS)
30#couenne2_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
31
32# Finally, the -rpath flag is used by libtool to make sure that the shared
33# library is found (in the lib install directory) when we are using dynamic
34# libraries.
35couenne_LDFLAGS = -rpath $(libdir)
36#couenne2_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)/../crossconv` \
50        -I`$(CYGPATH_W) $(srcdir)/../two_implied_bt` \
51        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
52        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
53        -I`$(CYGPATH_W) $(srcdir)/../readnl`
54
55# This line is necessary to allow VPATH compilation with MS compilers
56# on Cygwin
57DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
Note: See TracBrowser for help on using the repository browser.