| 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 |
| 89 |
<property name="deploy.data" value="${deploy}/data"/> |
<property name="deploy.data" value="${deploy}/data"/> |
| 90 |
</target> |
</target> |
| 91 |
|
|
| 92 |
<compiler id="scripts-gcc" name="gcc"> |
<compiler id="scripts-gcc" name="g++"> |
| 93 |
<includepath location="${local.include}"/> |
<includepath location="${local.include}"/> |
| 94 |
<includepath location="${log4cxx.include}"/> |
<includepath location="${log4cxx.include}"/> |
| 95 |
<includepath location="${root.include}"/> |
<includepath location="${root.include}"/> |
| 96 |
<compilerarg value="-O"/> |
<compilerarg value="-O"/> |
| 97 |
<compilerarg value="-g"/> |
<compilerarg value="-g"/> |
| 98 |
</compiler> |
</compiler> |
| 99 |
|
|
| 100 |
|
<compiler id="util-fort" name="g77"> |
| 101 |
|
<compilerarg value="-c"/> |
| 102 |
|
<compilerarg value="-O0"/> |
| 103 |
|
</compiler> |
| 104 |
|
|
| 105 |
<linker id="scripts-link"> |
<linker id="scripts-link"> |
| 106 |
<libset dir="${root.lib}" libs="Cint, Core, Tree, Hist, Gpad, Graf, Matrix, HistPainter"/> |
<libset dir="${root.lib}" libs="Cint, Core, Tree, Hist, Gpad, Graf, Matrix, HistPainter"/> |
| 126 |
<includepath location="${scripts.src}"/> |
<includepath location="${scripts.src}"/> |
| 127 |
<includepath location="${pamSoftware}/include"/> |
<includepath location="${pamSoftware}/include"/> |
| 128 |
<includepath location="${pamSoftware}/include/yoda"/> |
<includepath location="${pamSoftware}/include/yoda"/> |
| 129 |
|
<includepath location="${pamSoftware}/include/utils"/> |
| 130 |
</compiler> |
</compiler> |
| 131 |
<linker extends="scripts-link"> |
<linker extends="scripts-link"> |
| 132 |
<libset dir="${pamSoftware}/lib" libs="yoda"/> |
<libset dir="${pamSoftware}/lib" libs="yoda, sgp4"/> |
| 133 |
</linker> |
</linker> |
| 134 |
</cc> |
</cc> |
| 135 |
</target> |
</target> |
| 214 |
<includepath location="${pamSoftware}/include/yoda"/> |
<includepath location="${pamSoftware}/include/yoda"/> |
| 215 |
</compiler> |
</compiler> |
| 216 |
<linker extends="scripts-link"> |
<linker extends="scripts-link"> |
| 217 |
<libset dir="${pamSoftware}/lib" libs="yoda, utils"/> |
<libset dir="${pamSoftware}/lib" libs="yoda, sgp4"/> |
| 218 |
</linker> |
</linker> |
| 219 |
</cc> |
</cc> |
| 220 |
</target> |
</target> |
| 229 |
<includepath location="${scripts.src}"/> |
<includepath location="${scripts.src}"/> |
| 230 |
<includepath location="${pamSoftware}/include"/> |
<includepath location="${pamSoftware}/include"/> |
| 231 |
<includepath location="${pamSoftware}/include/yoda"/> |
<includepath location="${pamSoftware}/include/yoda"/> |
|
</compiler> |
|
|
<linker extends="scripts-link"> |
|
|
<libset dir="${pamSoftware}/lib" libs="yoda"/> |
|
|
</linker> |
|
|
</cc> |
|
|
</target> |
|
|
|
|
|
<target depends="initScripts" description="Create initScripts" name="orbitalRate"> |
|
|
<mkdir dir="${scripts.bin}"/> |
|
|
<mkdir dir="${scripts.obj}"/> |
|
|
<cc objdir="${scripts.obj}" outfile="${scripts.bin}/OrbitalRate" outtype="executable"> |
|
|
<compiler extends="scripts-gcc"> |
|
|
<fileset dir="${scripts.src}" includes="OrbitalRate.cpp"> |
|
|
</fileset> |
|
|
<includepath location="${scripts.src}"/> |
|
| 232 |
<includepath location="${pamSoftware}/include/utils"/> |
<includepath location="${pamSoftware}/include/utils"/> |
|
<includepath location="${pamSoftware}/include/utils/sgp4"/> |
|
|
<includepath location="${pamSoftware}/include/yoda"/> |
|
| 233 |
</compiler> |
</compiler> |
| 234 |
<linker extends="scripts-link"> |
<linker extends="scripts-link"> |
| 235 |
<libset dir="${pamSoftware}/lib" libs="yoda, utils"/> |
<libset dir="${pamSoftware}/lib" libs="yoda, utils"/> |
| 237 |
</cc> |
</cc> |
| 238 |
</target> |
</target> |
| 239 |
|
|
| 240 |
<target depends="compileArrToXML, compileVarToXML, compileTabToXML, compileLogToXML, physEndRunToXML, runHeaderToXML, McmdToXML, orbitalRate" description="Deploy the scripts" name="deployDataToXML"> |
<target depends="compileArrToXML, compileVarToXML, compileTabToXML, compileLogToXML, physEndRunToXML, runHeaderToXML, McmdToXML" description="Deploy the scripts" name="deployDataToXML"> |
| 241 |
<mkdir dir="${deploy}"/> |
<mkdir dir="${deploy}"/> |
| 242 |
<mkdir dir="${deploy.lib}"/> |
<mkdir dir="${deploy.lib}"/> |
| 243 |
<mkdir dir="${deploy.bin}"/> |
<mkdir dir="${deploy.bin}"/> |
| 246 |
<fileset dir="${scripts.bin}" includes="*" excludes="*.*"/> |
<fileset dir="${scripts.bin}" includes="*" excludes="*.*"/> |
| 247 |
</copy> |
</copy> |
| 248 |
<copy todir="${deploy.data}"> |
<copy todir="${deploy.data}"> |
| 249 |
<fileset dir="Data" includes="*/*.*"/> |
<fileset dir="Data" includes="**/*.*"/> |
| 250 |
</copy> |
</copy> |
| 251 |
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
| 252 |
</target> |
</target> |
| 253 |
|
|
| 254 |
</project> |
</project> |