Toplevel directories

The previous section is only for subdirectories of toplevel directories. The toplevel directories of a KDE CVS module are handled in a special way: they are automatically detected, so you don't need a SUBDIRS line there. However you might want to have control on the ordering, in case of dependencies, so you can write something like this in the Makefile.am.in file:

COMPILE_AFTER_kcontrol = kdm kdesktop
COMPILE_BEFORE_konqueror = libkonq

If you want configure to optionally skip a toplevel directory, use this in the configure.in.in code:

DO_NOT_COMPILE = "$DO_NOT_COMPILE foobar"

(This is also useful to skip toplevel dirs, locally, at configure time, simply export DO_NOT_COMPILE with the list of dirs to skip).