Mercurial > octave-nkf
comparison src/Makefile.am @ 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 | e81ddf9cacd5 |
comparison
equal
deleted
inserted
replaced
13023:7d1e11d922aa | 13024:f3c53fea9fb5 |
---|---|
533 liboctinterp.la \ | 533 liboctinterp.la \ |
534 ../liboctave/liboctave.la \ | 534 ../liboctave/liboctave.la \ |
535 ../libcruft/libcruft.la \ | 535 ../libcruft/libcruft.la \ |
536 $(OCTAVE_LINK_DEPS) | 536 $(OCTAVE_LINK_DEPS) |
537 | 537 |
538 octave_LDFLAGS = $(OCTAVE_LINK_OPTS) | 538 octave_LDFLAGS = \ |
539 $(NO_UNDEFINED_LDFLAG) \ | |
540 $(OCTAVE_LINK_OPTS) | |
539 | 541 |
540 ## Section for defining and creating DEF_FILES | 542 ## Section for defining and creating DEF_FILES |
541 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(DIST_SRC)) | 543 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(DIST_SRC)) |
542 | 544 |
543 DLD_FUNCTIONS_DEF_FILES = $(DLD_FUNCTIONS_SRC:.cc=.df) | 545 DLD_FUNCTIONS_DEF_FILES = $(DLD_FUNCTIONS_SRC:.cc=.df) |