source: trunk/Bonmin/experimental/Bcp/Makefile.am @ 1

Last change on this file since 1 was 1, checked in by andreasw, 13 years ago

imported initial code

  • Property svn:eol-style set to native
  • Property svn:keywords set to Authors Date Id Revision
File size: 2.9 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 1 2006-07-11 14:59:53Z andreasw $
6
7AUTOMAKE_OPTIONS = foreign
8
9# What is done in this directory:
10
11bin_PROGRAMS = bonminbcp
12
13########################################################################
14
15COINLIBS = \
16        $(BCPOBJDIR)/src/libBcp.la \
17        $(CBCOBJDIR)/src/libCbc.la \
18        $(CGLOBJDIR)/src/libCgl.la \
19        $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
20        $(OSIOBJDIR)/src/libOsi.la \
21        $(CLPOBJDIR)/src/libClp.la \
22        $(COINUTILSOBJDIR)/src/libCoinUtils.la
23
24if COIN_HAS_CPX
25  COINLIBS += \
26        $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la \
27        $(COINUTILSOBJDIR)/src/libCoinUtils.la \
28        $(CPXLIB)
29endif
30
31IPOPTLIBS = \
32        $(IPOPTOBJDIR)/src/Interfaces/libipopt.la
33
34LIBS += `cat $(IPOPTOBJDIR)/src/Interfaces/ipopt_addlibs_cpp.txt`
35
36########################################################################
37#                                bonmin                                #
38########################################################################
39
40bonminbcp_SOURCES = BB_cut.hpp BB_cut.cpp BM.hpp BM.cpp BM_pack.cpp bm_var.hpp
41
42bonminbcp_LDADD = \
43        ../../src/Apps/libbonmin.la \
44        ../../src/BonminAmplInterface/libamplinterface.la \
45        $(IPOPTOBJDIR)/src/Apps/AmplSolver/libamplinterface.la \
46        $(IPOPTLIBS) \
47        $(ASLLIB) \
48        $(LIBCBCCOPY) \
49        $(COINLIBS) \
50        $(ADDLIBS)
51
52# Finally, the -rpath flag is used by libtool to make sure that the shared
53# library is found (in the lib install directory) when we are using dynamic
54# libraries.
55bonminbcp_LDFLAGS = -rpath $(libdir)
56
57# Here list all include flags, relative to this "srcdir" directory.  This
58# "cygpath" stuff is necessary to compile with native compilers on Windows
59AM_CPPFLAGS = \
60        -I`$(CYGPATH_W) $(srcdir)/../../src/OaInterface` \
61        -I`$(CYGPATH_W) $(srcdir)/../../src/IpoptInterface` \
62        -I`$(CYGPATH_W) $(srcdir)/../../src/BonminAmplInterface` \
63        -I`$(CYGPATH_W) $(srcdir)/../../src/CbcBonmin` \
64        -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` \
65        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Common` \
66        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Interfaces` \
67        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/LinAlg` \
68        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
69        -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
70        -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
71        -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
72        -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
73        -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
74        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
75        -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
76        -I`$(CYGPATH_W) $(BCPSRCDIR)/src/include`
77
78if COIN_HAS_CPX
79  AM_CPPFLAGS += \
80        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` \
81        -I`$(CYGPATH_W) $(CPXINCDIR)`
82endif
83
84# This line is necessary to allow VPATH compilation with MS compilers
85# on Cygwin
86DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
87
88########################################################################
89#                         make distclean stuff                         #
90########################################################################
91
92CLEANFILES = $(LIBCBCCOPY)
93
94DISTCLEANFILES =
Note: See TracBrowser for help on using the repository browser.