1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
<?xml version="1.0"?>
<project name="mcalc" default="help">
<description>
system: "Calculator with memory"
copyright: "Copyright (c) 2001-2002, Eric Bezault and others"
license: "Eiffel Forum License v2 (see forum.txt)"
date: "$Date: 2003/04/18 15:53:56 $"
revision: "$Revision: 1.7 $"
</description>
<inherit>
<parent location="${GOBO}/misc/eiffel.eant">
<redefine target="help"/>
<redefine target="other_install"/>
<redefine target="other_clobber"/>
<redefine target="init_system"/>
</parent>
</inherit>
<target name="help">
<echo message="usage:"/>
<echo message=" geant install"/>
<echo message=" geant parser"/>
<echo message=" geant compile"/>
<echo message=" geant compile_ise"/>
<echo message=" geant compile_hact"/>
<echo message=" geant compile_se"/>
<echo message=" geant compile_ve"/>
<echo message=" geant compile_debug"/>
<echo message=" geant compile_debug_ise"/>
<echo message=" geant compile_debug_hact"/>
<echo message=" geant compile_debug_se"/>
<echo message=" geant compile_debug_ve"/>
<echo message=" geant clean"/>
<echo message=" geant clobber"/>
</target>
<target name="parser" depend="init">
<description>
Generate parser classes.
</description>
<geant target="mcalc"/>
</target>
<!-- Implementation -->
<target name="other_install" depend="init">
<description>
Install other items in ${system} directory.
</description>
<geant target="parser"/>
</target>
<target name="other_clobber" depend="init">
<description>
Remove other generated files.
</description>
<delete file="mcalc.e"/>
</target>
<target name="mcalc">
<geyacc new_typing="true" input="mcalc.y" output="mcalc.e"/>
</target>
<target name="init_system">
<set name="system" value="mcalc"/>
<set name="library" value="parse"/>
<set name="system_dir" value="${GOBO}/example/${library}/${system}"/>
</target>
</project>
|