source: trunk/Cbc/src/Makefile.am @ 2076

Last change on this file since 2076 was 2048, checked in by forrest, 5 years ago

First try at orbital branching

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