\chapter{Building and Installing MX Modules}

MX normally tries to compile the MX drivers for every device supported
by MX for your build target.  Some drivers only work on some MX build
targets, like the \textit{tty} and \textit{win32\_com} RS-232 drivers.
But the MX build system attempts to handle this kind of driver
automatically, so you should never have to do anything special to
get them compiled.

However, there are other drivers that depend on the presence of
external software packages such as the EPICS control system,
the XIA Handel multichannel analyzer system, and the DALSA Sapera LT
video camera/frame grabber software.  For this type of external
software package, MX uses dynamically loadable ``MX modules'' that
bundle one or more drivers into one single binary object.

Note: If you used older versions of MX like MX 1.5.4 and before, you may
be used to editing the \textit{mx/libMx/mxconfig.h} file and the 
\textit{mx/libMx/Makehead.???} that matches your platform.
In MX 2.0 and above, the file \textit{mx/libMx/mxconfig.h} 
no longer exists and you no longer edit \textit{mx/libMx/Makehead.???}
for this purpose.

\textit{... More to come ...}

