# -*- Mode: text -*-
#      CVS: $Id: building.txt,v 1.1 2005/11/03 18:41:07 rijsman Exp $
#      Tag: $name$
#     Info: $CVSROOT/Copyright.txt

BUILDING XERCES-MODULES
=======================

* Quick start *
===============

Output of make is in:

../IDEA-DEV/lib for libraries
../IDEA-DEV/bin for binaries
../IDEA-DEV/include for header files to use with the libraries

Input of make is:

environment variable XERCESCROOT pointing to xerces directory. Optionally you can specify XERCES_LIB_DIR and XERCES_INC_DIR if they are not part of the XERCESCROOT directory.

In IDEA-DEV/Modules/Xerces type:

make

- builds xiddlvalidator_sh binary and links in the required (xerces-c) library dynamically at run-time
- builds xercesmodelloader.so and installs it into lib dir and copies include files to include dir

OR:

make install-static

- builds xiddlvalidator_st binary links in the required library static (requires xerces-c.a)
- builds xercesmodelloader.a and installs it into lib dir and copies include files to include dir

The following additional targets are provided:
----------------------------------------------

* install, does install-static and install-shared

* clean, cleans all the intermediate object files

* veryclean, cleans all the intermediate object files, copied include files, libraries and binaries including the modules

* Dependencies *
================

Xerces-C++ 
----------

Xerces needs to be installed and compiled before compiling Xerces modules libraries and binaries

http://xml.apache.org/xerces-c/

Version 2.6.0

See documentation of Xerces for building.

* Environment variables

XERCESCROOT pointing to the Xerces directory

If your application links to Xerces dynamically set LD_LIBRARY_PATH to include the directory XERCESCROOT
