<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Filename: $RCSfile$
   Purpose:  Ant build file for EvA2.

             Ant-Download: http://jakarta.apache.org/ant
             Ant-Manual:   http://jakarta.apache.org/ant/manual/index.html

   Precondition: 1. Ant should be installed.
                 2. JAVA_HOME environment variable contains the path to JDK1.4 or higher
                 3. ANT_HOME environment variable contains the path to ant's home directory

   Language: XML
   Compiler: Ant
   Authors:  Holger Ulmer
   Version:  $Revision: 6 $
             $Date: 2006-01-18 10:53:03 +0100 (Wed, 18 Jan 2006) $
             $Author: streiche $
   Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->

<project name="EvA2" default="check" basedir=".">
<!--
As there are no static libraries any more, not much remains to check... (MK)
-->

<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        Library check
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->

  <target name="binary.libraries.check" >
	<!--
    <condition property="library.available.SNNS.windows">
      <and>
        <available file="${windows.libraries}/${library.SNNS}.dll" type="file" />
      </and>
    </condition>
    <condition property="library.available.SNNS.unix">
      <and>
        <available file="${unix.libraries}/lib${library.SNNS}.so" type="file" />
      </and>
    </condition>
    <condition property="library.available.WSI">
      <and>
        <available file="${library.WSI}" type="file" />
      </and>
    </condition>

    <condition property="library.available.JCompChem">
      <and>
        <available file="${library.JCompChem}" type="file" />
      </and>
    </condition>

    <condition property="library.available.JavaNNS">
      <and>
        <available file="${library.JavaNNS}" type="file" />
      </and>
    </condition>
    <condition property="library.available.ECJ">
      <and>
        <available file="${library.ECJ}" type="file" />
      </and>
    </condition>
    -->
  </target>

  <target name="source.libraries.check" >
	<!--
    <condition property="library.available.WSI">
      <and>
        <available file="${library.WSI.ant}/wsi" type="dir" />
      </and>
    </condition> 
	-->
  </target>

    <target name="binary.libraries.test.SNNS.windows" depends="binary.libraries.check" unless="library.available.SNNS.windows">
      <echo message="WARNING: ${windows.libraries}/${library.SNNS}.dll not available."/>
    </target>
    <target name="binary.libraries.test.SNNS.unix" depends="binary.libraries.check" unless="library.available.SNNS.unix">
      <echo message="WARNING: ${unix.libraries}/lib${library.SNNS}.so not available."/>
    </target>
<!--    <target name="binary.libraries.test.WSI" depends="binary.libraries.check" unless="library.available.WSI">
      <echo message="WARNING: wsi package not available at ${library.WSI}."/>
    </target>
    <target name="binary.libraries.test.JavaNNS" depends="binary.libraries.check" unless="library.available.JavaNNS">
      <echo message="WARNING: javanns package not available at ${library.JavaNNS}."/>
    </target>
-->
    <target name="source.libraries.test.WSI" depends="source.libraries.check" unless="library.available.WSI">
      <warn message="WSI-RA sources are not available at ${library.WSI.ant}. Do not use 'compileAll' target."/>
    </target>


  <target name="binary.libraries.test"    depends="binary.libraries.test.SNNS.windows,
                                                   binary.libraries.test.SNNS.unix
                                                  ">
  </target>

  <target name="source.libraries.test"    depends="source.libraries.test.WSI
                                                  ">
  </target>

	<target name="check" 	depends="binary.libraries.check, source.libraries.check">
	</target>
</project>

<!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   END OF FILE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
