With imake-driven source releases, after
downloading a source tarball, unpacking it, and changing to the
top-level source directory, you'll find an
Imakefile. After reading the
README or INSTALL files,
examine the Imakefile to see if you need to
change anything. Then the next step is usually to issue the command:
% xmkmf -a
When invoked with the -a option,
xmkmf reads imake-related
files in /usr/X11R6/lib/X11/config and performs
the following tasks recursively, beginning in the top-level directory
and then in the subdirectories, if there are any:
% make Makefiles
% make includes
% make depend
The next steps are usually make, make
test (or make check), and
make install.