[R] src/modules/Makefile.in: What is the (practical) difference betw. SUBDIRS and MODULES?
Kurt.Hornik at ci.tuwien.ac.at
Sun Oct 7 17:00:48 CEST 2001
>>>>> Prof Brian D Ripley writes:
> 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
> in $(top_builddir)/Makeconf.
> MODULES is used for shared libraries to be made (to be dynamically
> loaded). SUBDIRS is used for things to be cleaned and to be
> 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
> [I'm not the author of any of this, and the choices made look right to
In general we always use SUBDIRS for cleaning up. We must do that
because e.g. configure could have created a Makefile in a subdir which
make distclean must remove.
[One could argue that targets that build should always use SUBDIRS too
but that can make things rather tricky.]
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