1 | # Copyright (C) 2006 International Business Machines and others. |
---|
2 | # All Rights Reserved. |
---|
3 | # This file is distributed under the Eclipse Public License. |
---|
4 | # |
---|
5 | ## $Id: Makefile.am 488 2011-01-10 17:06:41Z pbelotti $ |
---|
6 | # |
---|
7 | # Authors: Andreas Waechter IBM 2006-04-13 |
---|
8 | # Pietro Belotti |
---|
9 | |
---|
10 | AUTOMAKE_OPTIONS = foreign |
---|
11 | |
---|
12 | ######################################################################## |
---|
13 | # libCouenne # |
---|
14 | ######################################################################## |
---|
15 | |
---|
16 | # Name of the library compiled in this directory. We want it to be installed |
---|
17 | # in the 'lib' directory |
---|
18 | lib_LTLIBRARIES = libCouenne.la |
---|
19 | |
---|
20 | libCouenne_la_SOURCES = |
---|
21 | |
---|
22 | libCouenne_la_LIBADD = \ |
---|
23 | ./interfaces/libCouenneInterfaces.la \ |
---|
24 | ./heuristics/libCouenneHeuristics.la \ |
---|
25 | ./problem/libCouenneProblem.la \ |
---|
26 | ./standardize/libCouenneStandardize.la \ |
---|
27 | ./expression/libCouenneExpression.la \ |
---|
28 | ./branch/libCouenneBranch.la \ |
---|
29 | ./convex/libCouenneConvex.la \ |
---|
30 | ./bound_tightening/libCouenneBoundTightening.la \ |
---|
31 | ./util/libCouenneUtil.la \ |
---|
32 | ./disjunctive/libCouenneDisjunctive.la \ |
---|
33 | ./sdpcuts/libCouenneSdpCuts.la \ |
---|
34 | ./ellipcuts/libCouenneEllipCuts.la \ |
---|
35 | ./crossconv/libCouenneCrossConv.la \ |
---|
36 | ./two_implied_bt/libCouenneTwoImplied.la |
---|
37 | |
---|
38 | # ./readnl/libCouenneReadnl.la |
---|
39 | |
---|
40 | libCouenne_la_DEPENDENCIES = $(libCouenne_la_LIBADD) |
---|
41 | |
---|
42 | # This is for libtool |
---|
43 | libCouenne_la_LDFLAGS = $(LT_LDFLAGS) |
---|
44 | |
---|
45 | ######################################################################## |
---|
46 | # Additional flags # |
---|
47 | ######################################################################## |
---|
48 | |
---|
49 | # Here list all include flags, relative to this "srcdir" directory. This |
---|
50 | # "cygpath" stuff is necessary to compile with native compilers on Windows. |
---|
51 | |
---|
52 | AM_CPPFLAGS = $(COUENNELIB_CFLAGS) \ |
---|
53 | -I`$(CYGPATH_W) $(srcdir)/convex` \ |
---|
54 | -I`$(CYGPATH_W) $(srcdir)/interfaces` \ |
---|
55 | -I`$(CYGPATH_W) $(srcdir)/heuristics` \ |
---|
56 | -I`$(CYGPATH_W) $(srcdir)/expression` \ |
---|
57 | -I`$(CYGPATH_W) $(srcdir)/expression/operators` \ |
---|
58 | -I`$(CYGPATH_W) $(srcdir)/disjunctive` \ |
---|
59 | -I`$(CYGPATH_W) $(srcdir)/sdpcuts` \ |
---|
60 | -I`$(CYGPATH_W) $(srcdir)/main` \ |
---|
61 | -I`$(CYGPATH_W) $(srcdir)/problem` \ |
---|
62 | -I`$(CYGPATH_W) $(srcdir)/branch` \ |
---|
63 | -I`$(CYGPATH_W) $(srcdir)/sdpcuts` \ |
---|
64 | -I`$(CYGPATH_W) $(srcdir)/ellipcuts` \ |
---|
65 | -I`$(CYGPATH_W) $(srcdir)/crossconv` \ |
---|
66 | -I`$(CYGPATH_W) $(srcdir)/two_implied_bt` |
---|
67 | |
---|
68 | # This line is necessary to allow VPATH compilation with MS compilers |
---|
69 | # on Cygwin |
---|
70 | DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc |
---|
71 | |
---|
72 | ######################################################################## |
---|
73 | # Headers that need to be installed # |
---|
74 | ######################################################################## |
---|
75 | |
---|
76 | # Here list all the header files that are required by a user of the library, |
---|
77 | # and that therefore should be installed in 'include/coin' |
---|
78 | includecoindir = $(includedir)/coin |
---|
79 | includecoin_HEADERS = \ |
---|
80 | ../inc/config_couenne.h \ |
---|
81 | util/CouenneRootQ.hpp \ |
---|
82 | util/CouenneFunTriplets.hpp \ |
---|
83 | main/BonCouenneInfo.hpp \ |
---|
84 | main/BonCouenneSetup.hpp \ |
---|
85 | interfaces/BonCouenneInterface.hpp \ |
---|
86 | interfaces/CouenneTNLP.hpp \ |
---|
87 | interfaces/CouenneMINLPInterface.hpp \ |
---|
88 | heuristics/BonNlpHeuristic.hpp \ |
---|
89 | heuristics/BonInitHeuristic.hpp \ |
---|
90 | heuristics/CouenneFeasPump.hpp \ |
---|
91 | heuristics/CouenneIterativeRounding.hpp \ |
---|
92 | branch/CouenneObject.hpp \ |
---|
93 | branch/CouenneVarObject.hpp \ |
---|
94 | branch/CouenneVTObject.hpp \ |
---|
95 | branch/CouenneThreeWayBranchObj.hpp \ |
---|
96 | branch/CouenneBranchingObject.hpp \ |
---|
97 | branch/CouenneChooseVariable.hpp \ |
---|
98 | branch/CouenneChooseStrong.hpp \ |
---|
99 | branch/CouenneComplObject.hpp \ |
---|
100 | branch/CouenneComplBranchingObject.hpp \ |
---|
101 | branch/CouenneOrbitObj.hpp \ |
---|
102 | branch/CouenneOrbitBranchingObj.hpp \ |
---|
103 | branch/CouenneSOSObject.hpp \ |
---|
104 | branch/CouenneProjections.hpp \ |
---|
105 | standardize/CouenneLQelems.hpp \ |
---|
106 | bound_tightening/CouenneFixPoint.hpp \ |
---|
107 | bound_tightening/CouenneAggrProbing.hpp \ |
---|
108 | expression/CouenneDomain.hpp \ |
---|
109 | expression/operators/CouenneExprAbs.hpp \ |
---|
110 | expression/operators/CouenneExprExp.hpp \ |
---|
111 | expression/operators/CouenneExprInv.hpp \ |
---|
112 | expression/operators/CouenneExprMul.hpp \ |
---|
113 | expression/operators/CouenneExprTrilinear.hpp \ |
---|
114 | expression/operators/CouenneExprOpp.hpp \ |
---|
115 | expression/operators/CouenneExprLog.hpp \ |
---|
116 | expression/operators/CouenneExprDiv.hpp \ |
---|
117 | expression/operators/CouenneExprMin.hpp \ |
---|
118 | expression/operators/CouenneExprSum.hpp \ |
---|
119 | expression/operators/CouenneExprMax.hpp \ |
---|
120 | expression/operators/CouenneExprPow.hpp \ |
---|
121 | expression/operators/CouenneExprSin.hpp \ |
---|
122 | expression/operators/CouenneExprCos.hpp \ |
---|
123 | expression/operators/CouenneExprSub.hpp \ |
---|
124 | expression/operators/CouenneExprGroup.hpp \ |
---|
125 | expression/operators/CouenneExprQuad.hpp \ |
---|
126 | expression/operators/CouenneExprIf.hpp \ |
---|
127 | expression/operators/CouenneExprNorm.hpp \ |
---|
128 | expression/operators/CouenneExprPWLinear.hpp \ |
---|
129 | expression/operators/bounds/CouenneExprBMul.hpp \ |
---|
130 | expression/operators/bounds/CouenneExprBDiv.hpp \ |
---|
131 | expression/operators/bounds/CouenneExprBSin.hpp \ |
---|
132 | expression/operators/bounds/CouenneExprBCos.hpp \ |
---|
133 | expression/CouenneExprConst.hpp \ |
---|
134 | expression/CouenneExprIVar.hpp \ |
---|
135 | expression/CouenneExprVar.hpp \ |
---|
136 | expression/CouenneExprAux.hpp \ |
---|
137 | expression/CouenneExprUnary.hpp \ |
---|
138 | expression/CouenneExpression.hpp \ |
---|
139 | expression/CouenneExprClone.hpp \ |
---|
140 | expression/CouenneExprBound.hpp \ |
---|
141 | expression/CouenneExprCopy.hpp \ |
---|
142 | expression/CouenneExprStore.hpp \ |
---|
143 | expression/CouenneExprOp.hpp \ |
---|
144 | expression/CouExpr.hpp \ |
---|
145 | expression/CouennePrecisions.hpp \ |
---|
146 | expression/partial/CouenneExprHess.hpp \ |
---|
147 | expression/partial/CouenneExprJac.hpp \ |
---|
148 | problem/depGraph/CouenneDepGraph.hpp \ |
---|
149 | problem/CouenneProblemElem.hpp \ |
---|
150 | problem/CouenneProblem.hpp \ |
---|
151 | problem/CouenneSolverInterface.hpp \ |
---|
152 | problem/CouenneJournalist.hpp \ |
---|
153 | problem/CouenneGlobalCutOff.hpp \ |
---|
154 | expression/CouenneTypes.hpp \ |
---|
155 | disjunctive/CouenneDisjCuts.hpp \ |
---|
156 | convex/CouenneCutGenerator.hpp \ |
---|
157 | ellipcuts/CouenneEllipCuts.hpp \ |
---|
158 | crossconv/CouenneCrossConv.hpp \ |
---|
159 | two_implied_bt/CouenneTwoImplied.hpp \ |
---|
160 | sdpcuts/CouenneSdpCuts.hpp \ |
---|
161 | sdpcuts/CutGen.hpp \ |
---|
162 | sdpcuts/disjunctive_cuts.hpp \ |
---|
163 | sdpcuts/dsyevx_wrapper.hpp \ |
---|
164 | sdpcuts/Heuristics.hpp \ |
---|
165 | sdpcuts/linquad_cuts.hpp \ |
---|
166 | sdpcuts/misc_util.hpp \ |
---|
167 | sdpcuts/orthocut.hpp \ |
---|
168 | sdpcuts/OsiXxxSolverInterface.hpp \ |
---|
169 | sdpcuts/populate.hpp \ |
---|
170 | sdpcuts/quadratic_cuts_check.hpp \ |
---|
171 | sdpcuts/rlt_cuts.hpp \ |
---|
172 | sdpcuts/sdpcuts.hpp \ |
---|
173 | sdpcuts/tracer.hpp |
---|
174 | |
---|
175 | if COIN_HAS_NTY |
---|
176 | includecoin_HEADERS += branch/Nauty.h |
---|
177 | endif |
---|
178 | |
---|
179 | ############################################################################# |
---|
180 | # Create the Config.h file that always defines HAVE_CONFIG_H and install it # |
---|
181 | ############################################################################# |
---|
182 | |
---|
183 | # You only need to adapt the following line |
---|
184 | ConfigHeader = CouenneConfig.h |
---|
185 | |
---|
186 | install-exec-local: |
---|
187 | echo "#ifndef HAVE_CONFIG_H" >bla |
---|
188 | echo "#define HAVE_CONFIG_H" >>bla |
---|
189 | echo "#endif" >> bla |
---|
190 | cat $(srcdir)/$(ConfigHeader) >> bla |
---|
191 | $(install_sh_DATA) bla $(DESTDIR)$(includecoindir)/$(ConfigHeader) |
---|
192 | rm -f bla |
---|
193 | |
---|
194 | uninstall-local: |
---|
195 | rm -f $(DESTDIR)$(includecoindir)/$(ConfigHeader) |
---|