It is built as part of the XDM-EG compilation process, and is installed as part of the installation process.
It requires a version of Gtk new enough to have gtk-config.