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

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

fix order of -I flags, so uninstalled headers are prefered to installed ones in case headers of dependencies are in installation directory; fix addlibs file for cl

  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 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 765 2011-08-14 11:12:19Z 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)
25couenne_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
26
27# Here list all include flags, relative to this "srcdir" directory.  This
28# "cygpath" stuff is necessary to compile with native compilers on Windows
29AM_CPPFLAGS = \
30        -I`$(CYGPATH_W) $(srcdir)/..` \
31        -I`$(CYGPATH_W) $(srcdir)/../convex` \
32        -I`$(CYGPATH_W) $(srcdir)/../expression` \
33        -I`$(CYGPATH_W) $(srcdir)/../expression/operators` \
34        -I`$(CYGPATH_W) $(srcdir)/../interfaces` \
35        -I`$(CYGPATH_W) $(srcdir)/../heuristics` \
36        -I`$(CYGPATH_W) $(srcdir)/../branch` \
37        -I`$(CYGPATH_W) $(srcdir)/../problem` \
38        -I`$(CYGPATH_W) $(srcdir)/../cut/crossconv` \
39        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
40        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening/twoImpliedBT` \
41        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
42        -I`$(CYGPATH_W) $(srcdir)/../readnl` \
43        $(COUENNELIB_CFLAGS) $(ASL_CFLAGS)
44
45# This line is necessary to allow VPATH compilation
46DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I..
Note: See TracBrowser for help on using the repository browser.