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

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

Updates to allow installig of manifest (sorry for the multiple commits)

  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
RevLine 
[1]1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
[488]3# This file is distributed under the Eclipse Public License.
[1]4
[487]5## $Id: Makefile.am 972 2013-06-28 13:51:10Z tkr $
[1]6
[93]7# Author: Pietro Belotti, on a template by Pierre Bonami
[1]8
9AUTOMAKE_OPTIONS = foreign
10
[93]11# what is built at this level
12
[96]13lib_LTLIBRARIES = libBonCouenne.la
14
15libBonCouenne_la_SOURCES = \
[793]16        CouenneBab.cpp \
[349]17        BonCouenneSetup.cpp \
18        SmartAslDestr.cpp
[96]19
[305]20if COIN_HAS_ASL
[487]21  bin_PROGRAMS = couenne
[305]22endif
[311]23
[487]24couenne_SOURCES = BonCouenne.cpp
[908]25couenne_LDADD         = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_LIBS)         $(ASL_LIBS)
[487]26couenne_DEPENDENCIES  = libBonCouenne.la ../libCouenne.la ../readnl/libCouenneReadnl.la $(COUENNELIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
[311]27
[1]28# Here list all include flags, relative to this "srcdir" directory.  This
29# "cygpath" stuff is necessary to compile with native compilers on Windows
[765]30AM_CPPFLAGS = \
[487]31        -I`$(CYGPATH_W) $(srcdir)/..` \
32        -I`$(CYGPATH_W) $(srcdir)/../convex` \
33        -I`$(CYGPATH_W) $(srcdir)/../expression` \
34        -I`$(CYGPATH_W) $(srcdir)/../expression/operators` \
[804]35        -I`$(CYGPATH_W) $(srcdir)/../expression/partial` \
[487]36        -I`$(CYGPATH_W) $(srcdir)/../interfaces` \
37        -I`$(CYGPATH_W) $(srcdir)/../heuristics` \
[765]38        -I`$(CYGPATH_W) $(srcdir)/../branch` \
[487]39        -I`$(CYGPATH_W) $(srcdir)/../problem` \
40        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening` \
[608]41        -I`$(CYGPATH_W) $(srcdir)/../bound_tightening/twoImpliedBT` \
[487]42        -I`$(CYGPATH_W) $(srcdir)/../disjunctive` \
[908]43        -I`$(CYGPATH_W) $(srcdir)/../cut/sdpcuts` \
44        -I`$(CYGPATH_W) $(srcdir)/../cut/crossconv` \
[765]45        -I`$(CYGPATH_W) $(srcdir)/../readnl` \
46        $(COUENNELIB_CFLAGS) $(ASL_CFLAGS)
[1]47
[860]48if COIN_HAS_NTY
49AM_CPPFLAGS += \
50        -I`$(CYGPATH_W) $(NTYINCDIR)/`
51endif
52
[624]53# This line is necessary to allow VPATH compilation
54DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I..
[970]55
56########################################################################
57#                     Installing manifest (MSVC++)                     #
58########################################################################
59
[972]60if COIN_CXX_IS_CL
[970]61install-exec-hook:
[972]62        test -s couenne.exe.manifest && \
63        mt -manifest couenne.exe.manifest -outputresource:couenne.exe;\
64        cp couenne.exe $(bindir)/couenne.exe
65endif
[970]66
Note: See TracBrowser for help on using the repository browser.