2 |
<project basedir="." default="compileAll" name="scripts"> |
<project basedir="." default="compileAll" name="scripts"> |
3 |
<property environment="env"/> |
<property environment="env"/> |
4 |
|
|
5 |
|
<!-- CONFIGURATION FILE. The properties in this file overwrite the previous properties --> |
6 |
|
<property file="../../KYoda.properties"/> |
7 |
|
<!-- CONFIGURATION FILE. The properties in this file overwrite the previous properties --> |
8 |
|
|
9 |
<!-- |
<!-- |
10 |
CONFIGURATION PARAMETERS |
CONFIGURATION PARAMETERS |
11 |
Modify here the parameters according to your own system |
Modify here the parameters according to your own system |
26 |
<property name="scripts.src" |
<property name="scripts.src" |
27 |
value="${basedir}"/> |
value="${basedir}"/> |
28 |
|
|
29 |
<!-- CONFIGURATION FILE. The properties in this file overwrite the previous properties --> |
|
|
<property file="../../KYoda.properties"/> |
|
|
<!-- CONFIGURATION FILE. The properties in this file overwrite the previous properties --> |
|
|
|
|
30 |
|
|
31 |
<!-- |
<!-- |
32 |
PARAMETRIZED PARAMETERS |
PARAMETRIZED PARAMETERS |
98 |
</compiler> |
</compiler> |
99 |
|
|
100 |
<linker id="scripts-link"> |
<linker id="scripts-link"> |
101 |
<libset dir="${root.lib}" libs="Cint, Core, Tree, Hist, Gpad, Graf, Matrix"/> |
<libset dir="${root.lib}" libs="Cint, Core, Tree, Hist, Gpad, Graf, Matrix, HistPainter"/> |
102 |
<libset dir="${log4cxx.lib}" libs="log4cxx"/> |
<libset dir="${log4cxx.lib}" libs="log4cxx"/> |
103 |
<libset libs="stdc++"/> |
<libset libs="stdc++"/> |
104 |
</linker> |
</linker> |
230 |
</cc> |
</cc> |
231 |
</target> |
</target> |
232 |
|
|
233 |
<target depends="compileArrToXML, compileVarToXML, compileLogToXML, physEndRunToXML, runHeaderToXML, McmdToXML" description="Deploy the scripts" name="deployDataToXML"> |
<target depends="initScripts" description="Create initScripts" name="orbitalRate"> |
234 |
|
<mkdir dir="${scripts.bin}"/> |
235 |
|
<mkdir dir="${scripts.obj}"/> |
236 |
|
<cc objdir="${scripts.obj}" outfile="${scripts.bin}/OrbitalRate" outtype="executable"> |
237 |
|
<compiler extends="scripts-gcc"> |
238 |
|
<fileset dir="${scripts.src}" includes="OrbitalRate.cpp"> |
239 |
|
</fileset> |
240 |
|
<includepath location="${scripts.src}"/> |
241 |
|
<includepath location="${pamSoftware}/include/utils"/> |
242 |
|
<includepath location="${pamSoftware}/include/utils/sgp4"/> |
243 |
|
<includepath location="${pamSoftware}/include/yoda"/> |
244 |
|
</compiler> |
245 |
|
<linker extends="scripts-link"> |
246 |
|
<libset dir="${pamSoftware}/lib" libs="yoda, utils"/> |
247 |
|
</linker> |
248 |
|
</cc> |
249 |
|
</target> |
250 |
|
|
251 |
|
<target depends="compileArrToXML, compileVarToXML, compileTabToXML, compileLogToXML, physEndRunToXML, runHeaderToXML, McmdToXML, orbitalRate" description="Deploy the scripts" name="deployDataToXML"> |
252 |
<mkdir dir="${deploy}"/> |
<mkdir dir="${deploy}"/> |
253 |
<mkdir dir="${deploy.lib}"/> |
<mkdir dir="${deploy.lib}"/> |
254 |
<mkdir dir="${deploy.bin}"/> |
<mkdir dir="${deploy.bin}"/> |
257 |
<fileset dir="${scripts.bin}" includes="*" excludes="*.*"/> |
<fileset dir="${scripts.bin}" includes="*" excludes="*.*"/> |
258 |
</copy> |
</copy> |
259 |
<copy todir="${deploy.data}"> |
<copy todir="${deploy.data}"> |
260 |
<fileset dir="Data" includes="*/*.*"/> |
<fileset dir="Data" includes="**/*.*"/> |
261 |
</copy> |
</copy> |
262 |
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
263 |
</target> |
</target> |