source: releases/2.8.8/Cbc/src/Makefile.am @ 1999

Last change on this file since 1999 was 1999, checked in by tkr, 5 years ago

Correcting very small mistake in Makefile.am. I don't see the need for a whole new release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 9.5 KB
Line 
1# Copyright (C) 2006, 2007 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 1999 2013-12-26 23:12:36Z tkr $
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 = libCbc.la libCbcSolver.la
18
19# List all source files for this library, including headers
20libCbc_la_SOURCES = \
21        Cbc_C_Interface.cpp Cbc_C_Interface.h \
22        CbcConfig.h \
23        CbcBranchActual.hpp \
24        CbcBranchAllDifferent.cpp CbcBranchAllDifferent.hpp \
25        CbcBranchBase.hpp \
26        CbcBranchCut.cpp CbcBranchCut.hpp \
27        CbcBranchDecision.cpp CbcBranchDecision.hpp \
28        CbcBranchDefaultDecision.cpp CbcBranchDefaultDecision.hpp \
29        CbcBranchDynamic.cpp CbcBranchDynamic.hpp \
30        CbcBranchingObject.cpp CbcBranchingObject.hpp \
31        CbcBranchLotsize.cpp CbcBranchLotsize.hpp \
32        CbcBranchToFixLots.cpp CbcBranchToFixLots.hpp \
33        CbcCompareActual.hpp \
34        CbcCompareBase.hpp \
35        CbcCompareDefault.cpp CbcCompareDefault.hpp \
36        CbcCompareDepth.cpp CbcCompareDepth.hpp \
37        CbcCompareEstimate.cpp CbcCompareEstimate.hpp \
38        CbcCompareObjective.cpp CbcCompareObjective.hpp \
39        CbcConsequence.cpp CbcConsequence.hpp \
40        CbcClique.cpp CbcClique.hpp \
41        CbcCompare.hpp \
42        CbcCountRowCut.cpp CbcCountRowCut.hpp \
43        CbcCutGenerator.cpp CbcCutGenerator.hpp \
44        CbcCutModifier.cpp CbcCutModifier.hpp \
45        CbcCutSubsetModifier.cpp CbcCutSubsetModifier.hpp \
46        CbcDummyBranchingObject.cpp CbcDummyBranchingObject.hpp \
47        CbcEventHandler.cpp CbcEventHandler.hpp \
48        CbcFathom.cpp CbcFathom.hpp \
49        CbcFathomDynamicProgramming.cpp CbcFathomDynamicProgramming.hpp \
50        CbcFeasibilityBase.hpp \
51        CbcFixVariable.cpp CbcFixVariable.hpp \
52        CbcFullNodeInfo.cpp CbcFullNodeInfo.hpp \
53        CbcFollowOn.cpp CbcFollowOn.hpp \
54        CbcGeneral.cpp CbcGeneral.hpp \
55        CbcGeneralDepth.cpp CbcGeneralDepth.hpp \
56        CbcHeuristic.cpp CbcHeuristic.hpp \
57        CbcHeuristicDINS.cpp CbcHeuristicDINS.hpp \
58        CbcHeuristicDive.cpp CbcHeuristicDive.hpp \
59        CbcHeuristicDiveCoefficient.cpp CbcHeuristicDiveCoefficient.hpp \
60        CbcHeuristicDiveFractional.cpp CbcHeuristicDiveFractional.hpp \
61        CbcHeuristicDiveGuided.cpp CbcHeuristicDiveGuided.hpp \
62        CbcHeuristicDiveLineSearch.cpp CbcHeuristicDiveLineSearch.hpp \
63        CbcHeuristicDivePseudoCost.cpp CbcHeuristicDivePseudoCost.hpp \
64        CbcHeuristicDiveVectorLength.cpp CbcHeuristicDiveLength.hpp \
65        CbcHeuristicFPump.cpp CbcHeuristicFPump.hpp \
66        CbcHeuristicGreedy.cpp CbcHeuristicGreedy.hpp \
67        CbcHeuristicLocal.cpp CbcHeuristicLocal.hpp \
68        CbcHeuristicPivotAndFix.cpp CbcHeuristicPivotAndFix.hpp \
69        CbcHeuristicRandRound.cpp CbcHeuristicRandRound.hpp \
70        CbcHeuristicRENS.cpp CbcHeuristicRENS.hpp \
71        CbcHeuristicRINS.cpp CbcHeuristicRINS.hpp \
72        CbcHeuristicVND.cpp CbcHeuristicVND.hpp \
73        CbcMessage.cpp CbcMessage.hpp \
74        CbcModel.cpp CbcModel.hpp \
75        CbcNode.cpp CbcNode.hpp \
76        CbcNodeInfo.cpp CbcNodeInfo.hpp \
77        CbcNWay.cpp CbcNWay.hpp \
78        CbcObject.cpp CbcObject.hpp \
79        CbcObjectUpdateData.cpp CbcObjectUpdateData.hpp \
80        CbcPartialNodeInfo.cpp CbcPartialNodeInfo.hpp \
81        CbcSimpleInteger.cpp CbcSimpleInteger.hpp \
82        CbcSimpleIntegerDynamicPseudoCost.cpp \
83        CbcSimpleIntegerDynamicPseudoCost.hpp \
84        CbcSimpleIntegerPseudoCost.cpp \
85        CbcSimpleIntegerPseudoCost.hpp \
86        CbcSOS.cpp CbcSOS.hpp \
87        CbcStatistics.cpp CbcStatistics.hpp \
88        CbcStrategy.cpp CbcStrategy.hpp \
89        CbcSubProblem.cpp CbcSubProblem.hpp \
90        CbcThread.cpp CbcThread.hpp \
91        CbcTree.cpp CbcTree.hpp \
92        CbcTreeLocal.cpp CbcTreeLocal.hpp
93
94libCbcSolver_la_SOURCES = \
95        CbcCbcParam.cpp \
96        Cbc_ampl.cpp Cbc_ampl.h \
97        CbcLinked.cpp CbcLinked.hpp CbcLinkedUtils.cpp \
98        unitTestClp.cpp CbcSolver.cpp \
99        CbcSolverHeuristics.cpp CbcSolverHeuristics.hpp \
100        CbcSolverAnalyze.cpp CbcSolverAnalyze.hpp \
101        CbcMipStartIO.cpp CbcMipStartIO.hpp \
102        CbcSolverExpandKnapsack.cpp CbcSolverExpandKnapsack.hpp
103
104# List all additionally required libraries
105if DEPENDENCY_LINKING
106libCbc_la_LIBADD = $(CBCLIB_LIBS)
107libCbcSolver_la_LIBADD = $(CBCLIB_LIBS) libCbc.la
108endif
109
110# This is for libtool
111
112libCbc_la_LDFLAGS = $(LT_LDFLAGS)
113libCbcSolver_la_LDFLAGS = $(LT_LDFLAGS)
114
115# Some common setup for cbc and cbc-generic.
116
117bin_PROGRAMS =
118AM_CPPFLAGS = $(COINDEPEND_CFLAGS) $(CLP_CFLAGS) $(CPX_CFLAGS) $(ASL_CFLAGS)
119
120########################################################################
121#                            cbc program                               #
122########################################################################
123
124if COIN_HAS_CLP
125
126# Name of the executable compiled in this directory.  We want it to be
127# installed in the 'bin' directory
128bin_PROGRAMS += cbc
129
130# List all source files for this executable, including headers
131cbc_SOURCES = CoinSolve.cpp
132
133# Additional libraries
134cbc_LDADD = libCbcSolver.la libCbc.la $(CBCLIB_LIBS) $(ASL_LIBS)
135cbc_DEPENDENCIES = libCbcSolver.la libCbc.la $(CBCLIB_DEPENDENCIES) $(ASL_DEPENDENCIES)
136
137endif
138
139
140########################################################################
141#                        cbc-generic program                           #
142########################################################################
143
144if CBC_BUILD_CBC_GENERIC
145
146# Name of the executable compiled in this directory.  We want it to be
147# installed in the 'bin' directory
148
149bin_PROGRAMS += cbc-generic
150
151# List all source files for this executable, including headers
152
153cbc_generic_SOURCES = \
154        CbcGenBaB.cpp \
155        CbcGenCbcParam.cpp CbcGenCbcParam.hpp CbcGenCbcParamUtils.cpp \
156        CbcGenCtlBlk.cpp CbcGenCtlBlk.hpp \
157        CbcGeneric.cpp \
158        CbcGenMessages.cpp CbcGenMessages.hpp \
159        CbcGenOsiParam.cpp CbcGenOsiParam.hpp CbcGenOsiParamUtils.cpp \
160        CbcGenParam.cpp CbcGenParam.hpp CbcGenParamUtils.cpp \
161        CbcGenSolution.cpp \
162        CbcGenSolvers.cpp
163
164cbc_generic_LDADD = libCbcSolver.la libCbc.la $(CBCGENERIC_LIBS)
165cbc_generic_DEPENDENCIES = libCbcSolver.la libCbc.la $(CBCGENERIC_DEPENDENCIES)
166
167# List all additionally required solver and Osi libraries
168# the linker flags for all available LP solvers should already be included in $CBCGENERIC_LIBS,
169# so just add compiler flags here (all we can think of)
170
171AM_CPPFLAGS += $(DYLP_CFLAGS) $(GLPK_CFLAGS) $(MSK_CFLAGS) $(SPX_CFLAGS) $(VOL_CFLAGS) $(XPR_CFLAGS)
172
173endif
174
175########################################################################
176#                            Additional flags                          #
177########################################################################
178
179# List additional defines
180AM_CPPFLAGS += -DCOIN_NO_CLP_MESSAGE -DUSE_CBCCONFIG
181
182# This line is necessary to allow VPATH compilation
183DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/src
184
185########################################################################
186#                Headers that need to be installed                     #
187########################################################################
188
189# Here list all the header files that are required by a user of the library,
190# and that therefore should be installed in 'include/coin'
191includecoindir = $(includedir)/coin
192includecoin_HEADERS = \
193        Cbc_C_Interface.h \
194        CbcBranchActual.hpp \
195        CbcBranchAllDifferent.hpp \
196        CbcBranchBase.hpp \
197        CbcBranchDynamic.hpp \
198        CbcBranchCut.hpp \
199        CbcBranchDecision.hpp \
200        CbcBranchDefaultDecision.hpp \
201        CbcBranchingObject.hpp \
202        CbcBranchLotsize.hpp \
203        CbcBranchToFixLots.hpp \
204        CbcCompareActual.hpp \
205        CbcCompareBase.hpp \
206        CbcCompareDefault.hpp \
207        CbcCompareDepth.hpp \
208        CbcCompareEstimate.hpp \
209        CbcCompareObjective.hpp \
210        CbcConsequence.hpp \
211        CbcClique.hpp \
212        CbcCompare.hpp \
213        CbcCountRowCut.hpp \
214        CbcCutGenerator.hpp \
215        CbcCutModifier.hpp \
216        CbcCutSubsetModifier.hpp \
217        CbcDummyBranchingObject.hpp \
218        CbcFathom.hpp \
219        CbcEventHandler.hpp \
220        CbcFathomDynamicProgramming.hpp \
221        CbcFeasibilityBase.hpp \
222        CbcFixVariable.hpp \
223        CbcFollowOn.hpp \
224        CbcFullNodeInfo.hpp \
225        CbcGeneral.hpp \
226        CbcGeneralDepth.hpp \
227        CbcHeuristic.hpp \
228        CbcHeuristicDINS.hpp \
229        CbcHeuristicDive.hpp \
230        CbcHeuristicDiveCoefficient.hpp \
231        CbcHeuristicDiveFractional.hpp \
232        CbcHeuristicDiveGuided.hpp \
233        CbcHeuristicDiveLineSearch.hpp \
234        CbcHeuristicDivePseudoCost.hpp \
235        CbcHeuristicDiveVectorLength.hpp \
236        CbcHeuristicFPump.hpp \
237        CbcHeuristicGreedy.hpp \
238        CbcHeuristicLocal.hpp \
239        CbcHeuristicPivotAndFix.hpp \
240        CbcHeuristicRandRound.hpp \
241        CbcHeuristicRENS.hpp \
242        CbcHeuristicRINS.hpp \
243        CbcHeuristicVND.hpp \
244        CbcMessage.hpp \
245        CbcModel.hpp \
246        CbcNode.hpp \
247        CbcNodeInfo.hpp \
248        CbcNWay.hpp \
249        CbcObject.hpp \
250        CbcObjectUpdateData.hpp \
251        CbcPartialNodeInfo.hpp \
252        CbcSimpleInteger.hpp \
253        CbcSimpleIntegerDynamicPseudoCost.hpp \
254        CbcSimpleIntegerPseudoCost.hpp \
255        CbcStrategy.hpp \
256        CbcSolver.hpp \
257        CbcMipStartIO.hpp \
258        CbcSOS.hpp \
259        CbcSubProblem.hpp \
260        CbcTree.hpp \
261        CbcLinked.hpp \
262        CbcTreeLocal.hpp \
263        ClpConstraintAmpl.hpp \
264        ClpAmplObjective.hpp
265
266########################################################################
267#                     Installing manifest (MSVC++)                     #
268########################################################################
269
270if COIN_CXX_IS_CL
271install-exec-hook:
272        test -s cbc.exe.manifest && \
273        mt -manifest cbc.exe.manifest -outputresource:cbc.exe;\
274        cp cbc.exe $(bindir)/cbc.exe
275endif
276
277#######################################################################
278# Create the Config.h file that has all public defines and install it #
279#######################################################################
280
281install-exec-local:
282        $(install_sh_DATA) config_cbc.h $(DESTDIR)$(includecoindir)/CbcConfig.h
283
284uninstall-local:
285        rm -f $(DESTDIR)$(includecoindir)/CbcConfig.h
Note: See TracBrowser for help on using the repository browser.