gtk+-1.2.10
===================
The following procedure was used to build gtk+-1.2.10 for use with the
Mozilla 1.2.1 build.

It uses the UnixWare C compiler to build the libraries, but uses the 
GNU make command that is distributed in the Open Source Toolkit (OSTools)
on the UDK CD.

The build uses a separate SRC and BUILD directory.

                     common
                     /   \
                  SRC    BUILD
                  /          \
        gtk+-1.2.10         gtk+-1.2.10

1. gunzip the tar file (gtk+-1.2.10.tar.gz) and extract the source files
   into the SRC directory.

2. Apply the set of UnixWare specific patches in patches.UW.gtk+-1.2.10
   to the source files

       cd SRC/gtk+-1.2.10
       patch -b -p0 < patches.UW.gtk+-1.2.10

3. Use the following script to build gtk+-1.2.10 for installation in the
   /usr/lib directory.  Execute this script in the BUILD/gtk+-1.2.10 directory.


#! /bin/ksh

# Make gmake visible
#
export PATH=$PATH:/usr/gnu/bin
 

# Make X tools visible
#
export PATH=$PATH:/usr/bin/X11


#
#  configure
#
CC="/usr/ccs/bin/cc -Xb" LD=/usr/ccs/bin/cc CFLAGS="-O2 -D_EFTSAFE" \
        ../../SRC/gtk+-1.2.10/configure         \
        --prefix=/usr                           \
        --host=i586-unknown-sysv5               \
        --with-included-gettext                 \
        --with-native-locale=yes                \
        > log.configure 2>&1


#
#  clean
#
gmake clean > log.gmk.clean 2>&1


#
#  build
#
gmake > log.gmk 2>&1


#
#  Run tests to check build results  - cannot do this until runtime
#       is installed into /usr/lib
#
#gmake check > log.gmk.check 2>&1 



4. Install the gtk+ libraries and scripts by:

     gmake install

5. After installing the runtime libraries into /usr/lib, the gtk+ tests
   can be run to verify your build.  See the last commented line in the
   above script.
