Imake is the old historic makefile generation tool used by the X window system. It basically relies on preprocessing imakefiles through C preprocessor, and using a bit of sed(1) to handle various comments. The imake package contains the imake utility, plus a number of support programs, such as mkdirhier, revpath, and xmkmf.