-*-Text-*-

Ygl is written in ANSI C, so use gcc if you have problems during
compilation. To compile Ygl, follow the following steps:

If you have imake, enter:

# xmkmf -a
# make

else edit the file Makefile and type

# make

On RS/6000, ignore the warnings from the linker. If the compiler can't
find the include file <X11/extensions/multibuf.h> or the linker can't
find functions like "XmbufDisplayBuffers", undefine MultiBuffer in the
Imakefile. You won't be able to do doublebuffering then.

To compile the example programs, do a:

# cd examples
# xmkmf #(If you have it)
# make

If you have GL, enter "make gl" to compile the GL versions of the
examples. 

To install the library, type (as root)

# make install

To install the include files, copy X11/Ygl.h to the X11 include
directory (eg. /usr/include/X11). If you want the GL-style include
files, link Ygl.h to /usr/include/gl/gl.h and to
/usr/include/gl/device.h.

The program "lines.c" is included to test the library and to
compare the performance with standard GL. 

The program "coltest.c" is an example for the use of a private
colormap.

The program "rgb.c" opens both a colormap mode and a RGBcolor window
(if your X-Server has a {True|Direct}Color visual...)

The program "smile.c" is very simple...

The program "smile.f" does nearly the same as "smile.c"...

Have fun... Fred
