279764
279764
279764
<project name="antlr" default="all" basedir=".">
279764
279764
  
279764
279764
  <property name="name" value="antlr"/>
279764
  <property name="src" value="src"/>
279764
  <property name="build" value="work"/>
279764
  <property name="build.classes" value="${build}/classes"/>
279764
  <property name="build.doc" value="${build}/api"/>
279764
  <property name="build.lib" value="${build}/lib"/>
279764
  <property name="packagenames" value="antlr.*"/>
279764
  <property name="j2se.apidoc" value="http://java.sun.com/j2se/1.4/docs/api/"/>
279764
279764
  
279764
279764
  
279764
  <target name="prepare">
279764
    <mkdir dir="${src}"/>
279764
    <mkdir dir="${build}"/>
279764
    <mkdir dir="${build.classes}"/>
279764
    <mkdir dir="${build.lib}"/>
279764
    <mkdir dir="${build.doc}"/>
279764
    <copy todir="${src}/antlr">
279764
      <fileset dir="antlr"/>
279764
    </copy>
279764
  </target>
279764
279764
  
279764
  <target name="clean">
279764
    <delete dir="${build}"/>
279764
    <delete dir="${src}"/>
279764
  </target>
279764
279764
  
279764
  <target name="classes" depends="prepare">
279764
    
279764
      debug="off" optimize="on" deprecation="on"/>
279764
  </target>
279764
279764
  
279764
  <target name="jar" depends="classes">
279764
    
279764
      index="true">
279764
      <manifest>
279764
        <attribute name="Main-Class" value="antlr.Tool"/>
279764
      </manifest>
279764
    </jar>
279764
  </target>
279764
279764
  
279764
  <target name="javadoc" depends="prepare">
279764
    
279764
      destdir="${build.doc}"
279764
      doctitle="${name} Javadoc"
279764
      windowtitle="${name} Javadoc"
279764
      package="true"
279764
      author="true"
279764
      version="true"
279764
      packagenames="${packagenames}"
279764
      splitindex="true"
279764
      use="true"
279764
      additionalparam="-Xdoclint:none">
279764
      <link href="${j2se.apidoc}"/>
279764
    </javadoc>
279764
  </target>
279764
279764
  
279764
  <target name="all" depends="jar,javadoc"/>
279764
279764
</project>