156 |
</target> |
</target> |
157 |
|
|
158 |
|
|
|
<target depends="cleanUtils, initUtils" description="Create Yoda flight library" name="compileProfiler"> |
|
|
<mkdir dir="${utils.bin}"/> |
|
|
<mkdir dir="${utils.obj}"/> |
|
|
<cc objdir="${utils.obj}" outfile="${utils.bin}/YodaProfiler" outtype="executable"> |
|
|
<compiler extends="utils-gcc"> |
|
|
<fileset dir="${utils.src}/YodaProfiler" includes="*.cpp"/> |
|
|
<includepath location="${utils.src}"/> |
|
|
<includepath location="${utils.src}/YodaProfiler"/> |
|
|
<includepath location="${utils.src}/sgp4"/> |
|
|
<includepath location="${pamSoftware}/include/yoda"/> |
|
|
</compiler> |
|
|
<linker extends="utils-link"> |
|
|
<libset dir="${pamSoftware}/lib" libs="yoda, utils"/> |
|
|
</linker> |
|
|
</cc> |
|
|
</target> |
|
|
|
|
159 |
<target depends="compileUtilsLib" description="Deploy the Utils lib" name="deployUtilities"> |
<target depends="compileUtilsLib" description="Deploy the Utils lib" name="deployUtilities"> |
160 |
<mkdir dir="${deploy}"/> |
<mkdir dir="${deploy}"/> |
161 |
<mkdir dir="${deploy.lib}"/> |
<mkdir dir="${deploy.lib}"/> |
169 |
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
170 |
</target> |
</target> |
171 |
|
|
172 |
<target depends="compileProfiler" description="Deploy the YodaProfiler" name="deployProfiler"> |
<target depends="deployUtilities" description="Deploy the Utils" name="all"> |
|
<mkdir dir="${deploy}"/> |
|
|
<mkdir dir="${deploy.lib}"/> |
|
|
<mkdir dir="${deploy.include}"/> |
|
|
<copy todir="${deploy.bin}"> |
|
|
<fileset dir="${utils.bin}" includes="*" excludes="*.*"/> |
|
|
</copy> |
|
|
<chmod dir="${deploy.bin}" perm="775" includes="**/*"/> |
|
|
</target> |
|
|
|
|
|
<target depends="deployUtilities, deployProfiler" description="Deploy the Utils + YodaProfiler" name="all"> |
|
173 |
<mkdir dir="${deploy}"/> |
<mkdir dir="${deploy}"/> |
174 |
<mkdir dir="${deploy.lib}"/> |
<mkdir dir="${deploy.lib}"/> |
175 |
<mkdir dir="${deploy.include}"/> |
<mkdir dir="${deploy.include}"/> |