source: branches/Couenne/Couenne/src/Makefile.am @ 531

Last change on this file since 531 was 531, checked in by pbelotti, 13 years ago

added reduced cost fixing. Separated bound tightening from generateCuts. Started three-way branching, not used yet.

File size: 7.0 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 405 2006-07-10 18:52:52Z andreasw $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                               libCbc                                 #
13########################################################################
14
15# Name of the library compiled in this directory.  We want it to be installed
16# in the 'lib' directory
17lib_LTLIBRARIES = libCouenne.la
18
19# List all source files for this library, including headers
20libCouenne_la_SOURCES = \
21        branch/CouenneThreeWayBranchObj.cpp \
22        branch/CouenneBranchingObject.cpp \
23        branch/CouenneObject.cpp \
24        branch/CouenneChooseVariable.cpp \
25        branch/getFixVarBinFun.cpp \
26        expression/operators/exprAbs.cpp \
27        expression/operators/exprDiv.cpp \
28        expression/operators/exprExp.cpp \
29        expression/operators/exprInv.cpp \
30        expression/operators/exprLog.cpp \
31        expression/operators/exprMul.cpp \
32        expression/operators/exprOpp.cpp \
33        expression/operators/exprPow.cpp \
34        expression/operators/exprSin.cpp \
35        expression/operators/exprCos.cpp \
36        expression/operators/exprSub.cpp \
37        expression/operators/exprSum.cpp \
38        expression/operators/exprMinMax.cpp \
39        expression/operators/exprGroup.cpp \
40        expression/operators/impliedBounds-exprSum.cpp \
41        expression/operators/impliedBounds-exprDiv.cpp \
42        expression/operators/impliedBounds-exprMul.cpp \
43        expression/exprOp.cpp \
44        expression/exprUnary.cpp \
45        expression/exprVar.cpp \
46        expression/exprAux.cpp \
47        expression/expression.cpp \
48        simplify/simplifiers.cpp \
49        simplify/simplify.cpp \
50        convex/checkNLP.cpp \
51        convex/addEnvelope.cpp \
52        convex/createCuts.cpp \
53        convex/operators/conv-exprAbs.cpp \
54        convex/operators/conv-exprDiv.cpp \
55        convex/operators/conv-exprMul.cpp \
56        convex/operators/conv-exprMul-genCuts.cpp \
57        convex/operators/conv-exprOpp.cpp \
58        convex/operators/conv-exprPow.cpp \
59        convex/operators/conv-exprPow-getBounds.cpp \
60        convex/operators/conv-exprPow-envelope.cpp \
61        convex/operators/powNewton.cpp \
62        convex/operators/conv-exprSub.cpp \
63        convex/operators/conv-exprSum.cpp \
64        convex/operators/linearize.cpp \
65        convex/operators/conv-exprInv.cpp \
66        convex/operators/conv-exprSinCos.cpp \
67        convex/operators/conv-exprExp.cpp \
68        convex/operators/conv-exprLog.cpp \
69        convex/operators/conv-exprGroup.cpp \
70        convex/operators/trigNewton.cpp \
71        convex/CouenneCutGenerator.cpp \
72        convex/generateCuts.cpp \
73        convex/boundTightening.cpp \
74        convex/genColCuts.cpp \
75        problem/problem.cpp \
76        problem/problemIO.cpp \
77        problem/constraint.cpp \
78        problem/tightenBounds.cpp \
79        problem/impliedBounds.cpp \
80        problem/readASLfg.cpp \
81        util/drawCuts.cpp \
82        util/rootQ.c
83
84COINLIBS = \
85        $(OSIOBJDIR)/src/libOsi.la \
86        $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
87        $(CGLOBJDIR)/src/libCgl.la \
88        $(CLPOBJDIR)/src/libClp.la \
89        $(COINUTILSOBJDIR)/src/libCoinUtils.la
90
91# This is for libtool (on Windows)
92libCouenne_la_LDFLAGS = $(LT_LDFLAGS)
93
94# If we have the Ampl solver library, we need to add additional things
95if COIN_HAS_ASL
96libCouenne_la_SOURCES += readnl/readnl.cpp \
97                         readnl/nl2e.cpp \
98                         readnl/invmap.c
99endif
100
101########################################################################
102#                            Additional flags                          #
103########################################################################
104
105# Here list all include flags, relative to this "srcdir" directory.  This
106# "cygpath" stuff is necessary to compile with native compilers on Windows.
107AM_CPPFLAGS = -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/include` \
108        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/include/operators` \
109        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/branch` \
110        -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
111        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
112        -I`$(CYGPATH_W) $(OSIOBJDIR)/inc` \
113        -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
114        -I`$(CYGPATH_W) $(CBCSRCDIR)/inc` \
115        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Common` \
116        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/LinAlg` \
117        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Interfaces` \
118        -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` \
119        -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
120        -I`$(CYGPATH_W) $(CGLOBJDIR)/inc` \
121        -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
122        -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
123        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Algorithms` \
124        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Algorithms/OaGenerators` \
125        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Algorithms/Branching` \
126        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Interfaces` \
127        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/CbcBonmin` \
128        -I`$(CYGPATH_W) $(objdir)/inc` \
129        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
130        -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc`
131
132# If we have the Ampl solver library, we need to add additional things
133if COIN_HAS_ASL
134AM_CPPFLAGS += $(ASL_CPPFLAGS)
135endif
136
137# This line is necessary to allow VPATH compilation with MS compilers
138# on Cygwin
139DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
140
141########################################################################
142#                Headers that need to be installed                     #
143########################################################################
144
145# Here list all the header files that are required by a user of the library,
146# and that therefore should be installed in 'install'
147include_HEADERS = \
148        ../inc/config_couenne.h \
149        branch/CouenneObject.hpp \
150        branch/CouenneThreeWayBranchObj.hpp \
151        branch/CouenneBranchingObject.hpp \
152        branch/CouenneChooseVariable.hpp \
153        include/operators/exprAbs.h \
154        include/operators/exprExp.h \
155        include/operators/exprInv.h \
156        include/operators/exprMul.h \
157        include/operators/exprOpp.h \
158        include/operators/exprBMul.h \
159        include/operators/exprLog.h \
160        include/operators/exprDiv.h \
161        include/operators/exprMin.h \
162        include/operators/exprBDiv.h \
163        include/operators/exprSum.h \
164        include/operators/exprMax.h \
165        include/operators/exprPow.h \
166        include/operators/exprSin.h \
167        include/operators/exprCos.h \
168        include/operators/exprBSin.h \
169        include/operators/exprBCos.h \
170        include/operators/exprSub.h \
171        include/operators/exprGroup.h \
172        include/exprConst.h \
173        include/exprIVar.h \
174        include/exprVar.h \
175        include/exprAux.h \
176        include/exprUnary.h \
177        include/expression.h \
178        include/exprClone.h \
179        include/exprBound.h \
180        include/exprCopy.h \
181        include/exprOp.h \
182        include/CouennePrecisions.h \
183        include/CouenneProblemElem.h \
184        include/CouenneProblem.h \
185        include/CouenneTypes.h \
186        include/rootQ.h \
187        include/CouenneCutGenerator.h
188
189#############################################################################
190# Create the Config.h file that always defines HAVE_CONFIG_H and install it #
191#############################################################################
192
193# You only need to adapt the following line
194ConfigHeader = CouenneConfig.h
195
196install-exec-local:
197        echo "#ifndef HAVE_CONFIG_H" >bla
198        echo "#define HAVE_CONFIG_H" >>bla
199        echo "#endif" >> bla
200        cat $(srcdir)/$(ConfigHeader) >> bla
201        $(install_sh_DATA) bla $(DESTDIR)$(includedir)/$(ConfigHeader)
202        rm -f bla
203
204uninstall-local:
205        rm -f $(DESTDIR)$(includedir)/$(ConfigHeader)
Note: See TracBrowser for help on using the repository browser.