| 1944 |
mkiran |
1 |
<project name="suncc-task">
|
|
|
2 |
|
|
|
3 |
<!-- C O P Y R I G H T N O T I C E
|
|
|
4 |
This material is confidential to ERG and may not be disclosed in whole
|
|
|
5 |
or in part to any third party nor used in any manner whatsoever other
|
|
|
6 |
than for the purposes expressly consented to by ERG in writing.
|
|
|
7 |
|
|
|
8 |
This material is also copyright and may not be reproduced, stored in a
|
|
|
9 |
retrieval system or transmitted in any form or by any means in whole or
|
|
|
10 |
in part without the express written consent of ERG.
|
|
|
11 |
-->
|
|
|
12 |
|
|
|
13 |
<!-- This is a Windows based compiler package, so include its standard environment -->
|
|
|
14 |
<using name="ant-cpptasks" version="REPLACE_ANT_CPPTASKS"/>
|
|
|
15 |
<using name="ant-solaris" version="REPLACE_ANT_SOLARIS"/>
|
|
|
16 |
|
|
|
17 |
<!-- Set up the environment's Binary path, Include and Library paths -->
|
|
|
18 |
<property name="suncc_bin" value="/opt/SUNWspro/bin"/>
|
|
|
19 |
<property name="suncc_compilername" value="CC"/>
|
|
|
20 |
|
|
|
21 |
<property name="suncc_include" value="/usr/include"/>
|
|
|
22 |
<property name="suncc_include_debug" value="${suncc_include}"/>
|
|
|
23 |
<property name="suncc_include_release" value="${suncc_include}"/>
|
|
|
24 |
|
|
|
25 |
<property name="suncc_lib" value="/opt/SUNWspro/lib"/>
|
|
|
26 |
|
|
|
27 |
<property name="suncc_lib_debug" value="${suncc_lib}"/>
|
|
|
28 |
<property name="suncc_lib_release" value="${suncc_lib}"/>
|
|
|
29 |
|
|
|
30 |
<property name="suncc_libraries_debug" value=""/>
|
|
|
31 |
<property name="suncc_libraries_release" value=""/>
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
<compiler id="suncc_compiler_debug_console" name="${suncc_compilername}">
|
|
|
35 |
<compilerarg value="-DNO_STRICT"/>
|
|
|
36 |
<compilerarg value="-D_DEBUG"/>
|
|
|
37 |
<compilerarg value="-DSOLARIS"/>
|
|
|
38 |
|
|
|
39 |
<compilerarg value="-KPIC"/>
|
|
|
40 |
<compilerarg value="-mt"/>
|
|
|
41 |
<compilerarg value="-verbose=diags,version"/>
|
|
|
42 |
</compiler>
|
|
|
43 |
|
|
|
44 |
<compiler id="suncc_compiler_debug_gui" name="${suncc_compilername}">
|
|
|
45 |
<compilerarg value="-DNO_STRICT"/>
|
|
|
46 |
<compilerarg value="-D_DEBUG"/>
|
|
|
47 |
<compilerarg value="-DSOLARIS"/>
|
|
|
48 |
|
|
|
49 |
<compilerarg value="-KPIC"/>
|
|
|
50 |
<compilerarg value="-mt"/>
|
|
|
51 |
<compilerarg value="-verbose=diags,version"/>
|
|
|
52 |
</compiler>
|
|
|
53 |
|
|
|
54 |
<compiler id="suncc_compiler_release_console" name="${suncc_compilername}">
|
|
|
55 |
<compilerarg value="-s"/>
|
|
|
56 |
<compilerarg value="-0"/>
|
|
|
57 |
<compilerarg value="-DNDEBUG"/>
|
|
|
58 |
<compilerarg value="-DSOLARIS"/>
|
|
|
59 |
|
|
|
60 |
<compilerarg value="-KPIC"/>
|
|
|
61 |
<compilerarg value="-mt"/>
|
|
|
62 |
<compilerarg value="-verbose=diags,version"/>
|
|
|
63 |
</compiler>
|
|
|
64 |
|
|
|
65 |
<compiler id="suncc_compiler_release_gui" name="${suncc_compilername}">
|
|
|
66 |
<compilerarg value="-s"/>
|
|
|
67 |
<compilerarg value="-0"/>
|
|
|
68 |
<compilerarg value="-DNDEBUG"/>
|
|
|
69 |
<compilerarg value="-DSOLARIS"/>
|
|
|
70 |
|
|
|
71 |
<compilerarg value="-KPIC"/>
|
|
|
72 |
<compilerarg value="-mt"/>
|
|
|
73 |
<compilerarg value="-verbose=diags,version"/>
|
|
|
74 |
</compiler>
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
<linker id="suncc_linker_debug_console" name="${suncc_compilername}">
|
|
|
78 |
<!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
|
|
|
79 |
</linker>
|
|
|
80 |
|
|
|
81 |
<linker id="suncc_linker_debug_gui" name="${suncc_compilername}">
|
|
|
82 |
<!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
|
|
|
83 |
</linker>
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
<linker id="suncc_linker_release_console" name="${suncc_compilername}">
|
|
|
87 |
<!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
|
|
|
88 |
</linker>
|
|
|
89 |
|
|
|
90 |
<linker id="suncc_linker_release_gui" name="${suncc_compilername}">
|
|
|
91 |
<!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
|
|
|
92 |
</linker>
|
|
|
93 |
|
|
|
94 |
</project>
|