Convert test make to be controlled via autotools.