/[eiffelstudio]/vendor/gobosoft.com/gobo/current/build.eant
ViewVC logotype

Contents of /vendor/gobosoft.com/gobo/current/build.eant

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98698 - (show annotations)
Mon May 9 13:53:54 2016 UTC (3 years, 5 months ago) by manus
File MIME type: text/xml
File size: 6558 byte(s)
Update 4.0d version with changes in Gobo from 2016/05/09

1 <?xml version="1.0"?>
2
3 <project name="gobo" default="help">
4
5 <description>
6 description: "Eiffel Ant file for Gobo Eiffel"
7 copyright: "Copyright (c) 2001-2006, Eric Bezault and others"
8 license: "MIT License"
9 date: "$Date$"
10 revision: "$Revision$"
11 </description>
12
13 <target name="help">
14 <echo message="usage:"/>
15 <echo message=" geant install"/>
16 <echo message=" geant develop"/>
17 <echo message=" geant delivery"/>
18 <echo message=" geant bootstrap1"/>
19 <echo message=" geant bootstrap2"/>
20 <echo message=" geant clean"/>
21 <echo message=" geant clobber"/>
22 </target>
23
24 <target name="install" depend="init">
25 <description>
26 Install the Gobo Eiffel package.
27 </description>
28
29 <geant file="build.eant" target="install" dir="library"/>
30 <geant file="build.eant" target="install" dir="src"/>
31 <geant file="build.eant" target="install" dir="example"/>
32 <geant file="build.eant" target="install" dir="doc"/>
33 </target>
34
35 <target name="clean" depend="init">
36 <description>
37 Remove intermediary generated files.
38 </description>
39
40 <geant file="build.eant" target="clean" dir="library"/>
41 <geant file="build.eant" target="clean" dir="src"/>
42 <geant file="build.eant" target="clean" dir="example"/>
43 <geant file="build.eant" target="clean" dir="doc"/>
44 </target>
45
46 <target name="clobber" depend="init">
47 <description>
48 Remove all generated files.
49 </description>
50
51 <geant file="build.eant" target="clobber" dir="library"/>
52 <geant file="build.eant" target="clobber" dir="src"/>
53 <geant file="build.eant" target="clobber" dir="example"/>
54 <geant file="build.eant" target="clobber" dir="doc"/>
55 </target>
56
57 <target name="develop" depend="init">
58 <description>
59 Install developer package.
60 The bootstrap should be run first.
61 </description>
62
63 <geant target="clobber"/>
64 <geant target="install"/>
65 <geant target="clean"/>
66 </target>
67
68 <target name="bootstrap1" depend="init">
69 <description>
70 Bootstrap the Gobo Eiffel package (first pass).
71 </description>
72
73 <geant file="build.eant" target="clobber" dir="library"/>
74 <geant file="build.eant" target="install_src" dir="library"/>
75 <geant file="build.eant" target="clobber" dir="src/gec"/>
76 <geant file="build.eant" target="install" dir="src/gec"/>
77 <!-- Compile gec twice to get a bootstrap effect -->
78 <geant file="build.eant" target="compile" dir="src/gec" if="${GOBO_EIFFEL}=ge"/>
79 <move file="src/gec/gec${exe}" to_directory="bin" if="${GOBO_EIFFEL}=ge"/>
80 <geant file="build.eant" target="clean" dir="src/gec" if="${GOBO_EIFFEL}=ge"/>
81 <geant file="build.eant" target="compile" dir="src/gec" if="${GOBO_EIFFEL}=ge"/>
82 <move file="src/gec/gec${exe}" to_directory="bin" if="${GOBO_EIFFEL}=ge"/>
83 <geant file="build.eant" target="clean" dir="src/gec" if="${GOBO_EIFFEL}=ge"/>
84 <!-- Compile gec only once with other Eiffel compilers -->
85 <geant file="../src/gec/build.eant" target="compile" dir="bin" unless="${GOBO_EIFFEL}=ge"/>
86 <geant file="../src/gec/build.eant" target="clean" dir="bin" unless="${GOBO_EIFFEL}=ge"/>
87 <!-- Compile geant -->
88 <geant file="build.eant" target="clobber" dir="src/geant"/>
89 <geant file="build.eant" target="install" dir="src/geant"/>
90 <geant file="../src/geant/build.eant" target="compile" fork="false" dir="bin"/>
91 <geant file="../src/geant/build.eant" target="clean" dir="bin"/>
92 </target>
93
94 <target name="bootstrap2" depend="init">
95 <description>
96 Bootstrap the Gobo Eiffel package (second pass).
97 </description>
98
99 <geant file="build.eant" target="clobber" dir="src"/>
100 <geant file="build.eant" target="install" dir="src"/>
101 <geant file="../src/gexace/build.eant" target="compile" dir="bin"/>
102 <geant file="../src/gexace/build.eant" target="clean" dir="bin"/>
103 <geant file="../src/gelex/build.eant" target="compile" dir="bin"/>
104 <geant file="../src/gelex/build.eant" target="clean" dir="bin"/>
105 <geant file="../src/gepp/build.eant" target="compile" dir="bin"/>
106 <geant file="../src/gepp/build.eant" target="clean" dir="bin"/>
107 <geant file="../src/geyacc/build.eant" target="compile" dir="bin"/>
108 <geant file="../src/geyacc/build.eant" target="clean" dir="bin"/>
109 <geant target="clobber"/>
110 <geant file="build.eant" target="install_src" dir="library"/>
111 <geant file="build.eant" target="install" dir="src"/>
112 <geant file="../src/getest/build.eant" target="compile" dir="bin"/>
113 <geant file="../src/getest/build.eant" target="clean" dir="bin"/>
114 <geant file="../src/gelint/build.eant" target="compile" dir="bin"/>
115 <geant file="../src/gelint/build.eant" target="clean" dir="bin"/>
116 <geant file="../src/gexslt/build.eant" target="compile" dir="bin"/>
117 <geant file="../src/gexslt/build.eant" target="clean" dir="bin"/>
118 <geant file="build.eant" target="install" dir="library"/>
119 <geant file="build.eant" target="install" dir="example"/>
120 <geant file="build.eant" target="install" dir="doc"/>
121 <geant target="clean"/>
122 </target>
123
124 <target name="delivery" depend="init">
125 <description>
126 Build delivery package (third pass of bootstrap).
127 </description>
128
129 <geant file="../src/gec/build.eant" target="clobber" dir="bin"/>
130 <geant file="../src/gexace/build.eant" target="clobber" dir="bin"/>
131 <geant file="../src/gelex/build.eant" target="clobber" dir="bin"/>
132 <geant file="../src/geyacc/build.eant" target="clobber" dir="bin"/>
133 <geant file="../src/gepp/build.eant" target="clobber" dir="bin"/>
134 <geant file="../src/getest/build.eant" target="clobber" dir="bin"/>
135 <geant file="../src/gelint/build.eant" target="clobber" dir="bin"/>
136 <geant file="../src/gexslt/build.eant" target="clobber" dir="bin"/>
137 <copy file="work/bootstrap/gec.h" to_directory="bin"/>
138 <copy to_directory="bin">
139 <fileset include="work/bootstrap/gec*.c">
140 <map type="flat"/>
141 </fileset>
142 </copy>
143 <delete>
144 <directoryset directory="." include="@(**/.svn)"/>
145 <directoryset directory="." include="@(**/.git)"/>
146 </delete>
147 <delete directory="work"/>
148 <delete directory="doc/structure/visio"/>
149 <delete directory="doc/time/visio"/>
150 </target>
151
152 <!-- Implementation -->
153
154 <target name="init">
155 <geant target="init_os"/>
156 </target>
157
158 <target name="init_os">
159 <geant target="init_windows"/>
160 <geant target="init_unix"/>
161 </target>
162
163 <target name="init_windows" if="${GOBO_OS}=windows">
164 <!-- No special windows tasks needed for now but target is kept for possible future instructions -->
165 </target>
166
167 <target name="init_unix" unless="${GOBO_OS}=windows">
168 <!-- No special unix tasks needed for now but target is kept for possible future instructions -->
169 </target>
170
171 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mime-type text/xml

  ViewVC Help
Powered by ViewVC 1.1.23