::: Place the directory 'os2' as a subdirectory of the main build directory.

convert_configure -zomf |& tee 00cc
sh configure  |& tee 00c
make |& tee 00m

::: This finishes the basic static build

gcc -O2 -s -Zomf -c -II:/XFree86/include os2/xpm_delayed_load.c
emxomfar r .lib/gd.lib xpm_delayed_load.obj
os2\make-dll

::: This finishes the dynamic build of DLLs

mkdir stat
mv *.exe stat
make |& tee 00m1

::: This finishes the dynamic build of EXEs

make install

::: This installs into /usr/local
::: I keep /usr/local empty, so I can immediately rename it
mv /usr/local /usr/gd-local

::: and can build the Hobbes distribution basing on this

::: If you need to update the provide config files libgd.la, you may want
::: to run the provided script try-relocate.cmd.  It may be easier to
::: edit lib/libgd.la manually.
