This was build the following way:

  a) patches from gp3708e-pm3d.diff and diff_gnuplot-3.7.0.9.my-pm3d-1
	were applied to gnuplot-3.7.0.9; additional C files were added;
  b) configure script was corrected by convert_configure script and run;
  c) defines for MOUSE=1 OS2=1 and PM3D=1 were manually added to Makefile;
  d) gnuplot was built via the Makefile, and gnupmdrv via Makefile.os2;
  e) I needed to extract a part of color.c into color-short.c (otherwise
	I get unresolved references);
  f) gnpltdrw.dll is built via Makefile.os2-dll;

All the stuff which I needed to add to gnuplot-3.7.0.9 is in this directory.
