Skip to content
Prev 14083 / 398502 Next

src/modules/Makefile.in: What is the (practical) difference betw. SUBDIRS and MODULES?

On Sat, 6 Oct 2001, Thomas Hoffmann wrote:

            
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
has

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 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.]