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

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

implied bounds for some operators

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