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

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

moved include files to make them doxygenable. Introduced three-way branching, with fixed intervals for now. Added check for small bound interval within all generateCuts()

File size: 7.2 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/expression` \
108        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/expression/operators` \
109        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/branch` \
110        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/util` \
111        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/convex` \
112        -I`$(CYGPATH_W) $(COUENNESRCDIR)/src/problem` \
113        -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
114        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
115        -I`$(CYGPATH_W) $(OSIOBJDIR)/inc` \
116        -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
117        -I`$(CYGPATH_W) $(CBCSRCDIR)/inc` \
118        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Common` \
119        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/LinAlg` \
120        -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Interfaces` \
121        -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` \
122        -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
123        -I`$(CYGPATH_W) $(CGLOBJDIR)/inc` \
124        -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
125        -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
126        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Algorithms` \
127        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Algorithms/OaGenerators` \
128        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Algorithms/Branching` \
129        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/Interfaces` \
130        -I`$(CYGPATH_W) $(BONMINSRCDIR)/src/CbcBonmin` \
131        -I`$(CYGPATH_W) $(objdir)/inc` \
132        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
133        -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc`
134
135# If we have the Ampl solver library, we need to add additional things
136if COIN_HAS_ASL
137AM_CPPFLAGS += $(ASL_CPPFLAGS)
138endif
139
140# This line is necessary to allow VPATH compilation with MS compilers
141# on Cygwin
142DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
143
144########################################################################
145#                Headers that need to be installed                     #
146########################################################################
147
148# Here list all the header files that are required by a user of the library,
149# and that therefore should be installed in 'install'
150include_HEADERS = \
151        ../inc/config_couenne.h \
152        branch/CouenneObject.hpp \
153        branch/CouenneThreeWayBranchObj.hpp \
154        branch/CouenneBranchingObject.hpp \
155        branch/CouenneChooseVariable.hpp \
156        expression/operators/exprAbs.h \
157        expression/operators/exprExp.h \
158        expression/operators/exprInv.h \
159        expression/operators/exprMul.h \
160        expression/operators/exprOpp.h \
161        expression/operators/exprBMul.h \
162        expression/operators/exprLog.h \
163        expression/operators/exprDiv.h \
164        expression/operators/exprMin.h \
165        expression/operators/exprBDiv.h \
166        expression/operators/exprSum.h \
167        expression/operators/exprMax.h \
168        expression/operators/exprPow.h \
169        expression/operators/exprSin.h \
170        expression/operators/exprCos.h \
171        expression/operators/exprBSin.h \
172        expression/operators/exprBCos.h \
173        expression/operators/exprSub.h \
174        expression/operators/exprGroup.h \
175        expression/exprConst.h \
176        expression/exprIVar.h \
177        expression/exprVar.h \
178        expression/exprAux.h \
179        expression/exprUnary.h \
180        expression/expression.h \
181        expression/exprClone.h \
182        expression/exprBound.h \
183        expression/exprCopy.h \
184        expression/exprOp.h \
185        expression/CouennePrecisions.h \
186        problem/CouenneProblemElem.h \
187        problem/CouenneProblem.h \
188        expression/CouenneTypes.h \
189        util/rootQ.h \
190        convex/CouenneCutGenerator.h
191
192#############################################################################
193# Create the Config.h file that always defines HAVE_CONFIG_H and install it #
194#############################################################################
195
196# You only need to adapt the following line
197ConfigHeader = CouenneConfig.h
198
199install-exec-local:
200        echo "#ifndef HAVE_CONFIG_H" >bla
201        echo "#define HAVE_CONFIG_H" >>bla
202        echo "#endif" >> bla
203        cat $(srcdir)/$(ConfigHeader) >> bla
204        $(install_sh_DATA) bla $(DESTDIR)$(includedir)/$(ConfigHeader)
205        rm -f bla
206
207uninstall-local:
208        rm -f $(DESTDIR)$(includedir)/$(ConfigHeader)
Note: See TracBrowser for help on using the repository browser.