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

Last change on this file since 971 was 971, checked in by tkr, 7 years ago

Changes for embedding manifest

  • 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 971 2013-06-27 21:19:33Z tkr $
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        CouenneBab.cpp \
17        BonCouenneSetup.cpp \
18        SmartAslDestr.cpp
19
20if COIN_HAS_ASL
21  bin_PROGRAMS = couenne
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# Here list all include flags, relative to this "srcdir" directory.  This
29# "cygpath" stuff is necessary to compile with native compilers on Windows
30AM_CPPFLAGS = \
31        -I`$(CYGPATH_W) $(srcdir)/..` \
32        -I`$(CYGPATH_W) $(srcdir)/../convex` \
33        -I`$(CYGPATH_W) $(srcdir)/../expression` \
34        -I`$(CYGPATH_W) $(srcdir)/../expression/operators` \
35        -I`$(CYGPATH_W) $(srcdir)/../expression/partial` \
36        -I`$(CYGPATH_W) $(srcdir)/../interfaces` \
37        -I`$(CYGPATH_W) $(srcdir)/../heuristics` \
38        -I`$(CYGPATH_W) $(srcdir)/../branch` \
39        -I`$(CYGPATH_W) $(srcdir)/../problem` \
40        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
41        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening/twoImpliedBT` \
42        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
43        -I`$(CYGPATH_W) $(srcdir)/../cut/sdpcuts` \
44        -I`$(CYGPATH_W) $(srcdir)/../cut/crossconv` \
45        -I`$(CYGPATH_W) $(srcdir)/../readnl` \
46        $(COUENNELIB_CFLAGS) $(ASL_CFLAGS)
47
48if COIN_HAS_NTY
49AM_CPPFLAGS += \
50        -I`$(CYGPATH_W) $(NTYINCDIR)/`
51endif
52
53# This line is necessary to allow VPATH compilation
54DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I..
55
56########################################################################
57#                     Installing manifest (MSVC++)                     #
58########################################################################
59
60install-exec-hook:
61        if COIN_CXX_IS_CL
62                test -s couenne.exe.manifest && \
63                mt -manifest couenne.exe.manifest -outputresource:couenne.exe;\
64                cp couenne.exe $(bindir)/couenne.exe
65        endif
66
Note: See TracBrowser for help on using the repository browser.