[Cbc] constants for object file directories in makefiles
Stefan Vigerske
stefan at math.hu-berlin.de
Tue Mar 22 05:12:44 EDT 2011
Hi,
These variables have been removed due to changes in the buildsystem.
There is a new variable $(CBCLIB_LIBS) which should contain all
dependencies of the Cbc library. It is setup during configure.
So to reproduce what you had before, you could do
libCbc_la_LIBADD = $(CBCLIB_LIBS)
libCbcSolver_la_LIBADD = libCbc.la $(CBCLIB_LIBS)
$(CBCLIB_LIBS) is also used to setup the libraries needed to link the
cbc executable:
cbc_LDADD = libCbcSolver.la libCbc.la $(CBCLIB_LIBS) $(ASL_LIBS)
Stefan
>
> Hi,
>
> I'm upgrading Cbc from 2.3.2 to 2.6.2. The makefiles of 2.3.2 use constants like COINUTILSOBJDIR and CBCOBJDIR to refer to object file directories, but the makefiles of 2.6.2 don't seem to use those constants any more. Does anyone know if those constants have been renamed, replaced or removed? I would like to use those constants to add LIBADD flags in the makefiles. For example, here are the LIBADD flags I added to the Cbc makefile in 2.3.2:
>
> libCbc_la_LIBADD = $(CGLOBJDIR)/src/libCgl.la \
> $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
> $(OSIOBJDIR)/src/libOsi.la \
> $(CLPOBJDIR)/src/libClp.la \
> $(COINUTILSOBJDIR)/src/libCoinUtils.la
> libCbcSolver_la_LIBADD = $(CGLOBJDIR)/src/libCgl.la \
> $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
> $(OSIOBJDIR)/src/libOsi.la \
> $(CLPOBJDIR)/src/libClp.la \
> $(COINUTILSOBJDIR)/src/libCoinUtils.la \
> $(CBCOBJDIR)/src/libCbc.la
>
> Thanks,
>
> Calvin
>
>
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Cbc
mailing list