[R] src/modules/Makefile.in: What is the (practical) difference betw. SUBDIRS and MODULES?
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Sat Oct 6 13:35:08 CEST 2001
On Sat, 6 Oct 2001, Thomas Hoffmann wrote:
> As the subject says, one has
> SUBDIRS = X11 gnome internet lapack vfonts
> MODULES = $(R_GUIS) internet lapack vfonts
> It is my understanding, that there is a 1:1 correspondence between
> subdirs and modules. If this were true, then one could use one of
> both in all places. Or do I overlook something here?
Not all R_GUIS might be supported: gnome often is not. So there is
on my Solaris system a gnome subdir but no gnome module.
Your assumption of a 1:1 correspondence is incorrect for my system, which
R_GUIS = X11
MODULES is used for shared libraries to be made (to be dynamically loaded).
SUBDIRS is used for things to be cleaned and to be distributed.
One could argue that MODULES should be used for things to be cleaned, *BUT*
that might have be changed by a re-configure, so SUBDIRS looks safer.
[I'm not the author of any of this, and the choices made look right to me.]
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help