Mercurial > octave-nkf
view liboctave/link-deps.mk @ 13024:f3c53fea9fb5
maint: more linking tweaks
* configure.ac (--enable-link-all-dependencies): New option.
(--enable-no-undefined): New option.
Don't set NO_UNDEFINED_LDFLAG specially on Windows systems.
* liboctave/link-deps.mk (LIBOCTAVE_LINK_DEPS):
Include $(LAPACK_LIBS), $(BLAS_LIBS) and $(LIBS) in the list.
* config-modules.awk: Add $(NO_UNDEFINED_LDFLAG) to LDFLAGS variables.
* src/link-deps.mk (OCT_LINK_DEPS): Remove $(NO_UNDEFINED_LDFLAG from
the list.
* src/mkoctfile.cc.in, mkoctfile.in:
Always link files with -loctinterp, -loctave, and -lcruft.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 29 Aug 2011 11:49:30 -0400 |
parents | 05534f03377d |
children | 2a36a5b89f98 |
line wrap: on
line source
include ../libcruft/link-deps.mk LIBOCTAVE_LINK_DEPS = \ $(SPARSE_XLIBS) \ $(ARPACK_LIBS) \ $(QRUPDATE_LIBS) \ $(FFTW_XLIBS) \ $(LAPACK_LIBS) \ $(BLAS_LIBS) \ $(READLINE_LIBS) \ $(TERM_LIBS) \ $(LIBGLOB) \ $(REGEX_LIBS) \ $(DL_LIBS) \ $(PTHREAD_LIBS) \ $(LIBS) LIBOCTAVE_LINK_OPTS = \ $(SPARSE_XLDFLAGS) \ $(ARPACK_LDFLAGS) \ $(QRUPDATE_LDFLAGS) \ $(FFTW_XLDFLAGS) if AMCOND_LINK_ALL_DEPS LIBOCTAVE_LINK_DEPS += $(LIBCRUFT_LINK_DEPS) LIBOCTAVE_LINK_OPTS += $(LIBCRUFT_LINK_OPTS) endif