INSTALLATION:
============

Please read the documentation files first:
	- README		general information
	- TODO, CHANGES-TODO	not implemented yet
	- README.XFIG		copyright issue XFig
	- COPYING.AIAI		copyright for AIAI code
	- COPYING.GNU		copyright for my code (GNU)

To obtain the wxWindows-Xt library, first uncompress and untar the compressed
tar file in an appropriate directory.

Modify to fit to your system:

	wxxt/src/wxXt.tmpl

	HaveWBuild specifies, that you want to use the wbuild utility
	(wxxt/contrib/wbuild). You will need it, if you want to modify
	the X widgets, but not to build the library (C-files are included
	in this package).

To include/exclude some packages modify:

	wxxt/include/xt/wx_setup-Xt.h

Select in wxxt/src/xt/Imakefile and wxxt/src/xt-widgets/Imakefile whether
you want to build a shared or a static library, e.g.

	#define DoNormalLib  NO
	#define DoSharedLib  YES
	#define DoDebugLib   NO
	#define DoProfileLib NO

It may be possible, that you can build only one library at a time. This
depends on the installation of Imake on your system.

Then you can compile the library via "imake".

	CD to the src/xt subdirectory.

	Then execute the following commands:

		xmkmf
		make depend       # if you want to check the dependencies
		make
		make install      # to install headerfiles and libraries

	CD to the src/xt-widgets subdirectory and repeat the procedure.

	Since wx_setup-Xt.h and wxXt.tmpl are included and evaluated by
	Imakefile you have to execute the sequence after each change of
	the setup files.

For a primary test, whether everything is OK, try the Xt port demo (wxxt/demo).
A brief explanation is shown in the text window.

	cd wxxt/demo
	xmkmf
	make
	./demo

Every sample (wxxt/samples/*) and utility (wxxt/utils/*) has an Imakefile and
can be compiled the same way.

Good Luck!

-------------------------------------------------------------------------------
Markus Holzem
Schlossparkstrasse 3
D-52072 Aachen
GERMANY

VOICE: +49 (241) 14145
EMAIL: mho@comnets.rwth-aachen.de

