Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

<project name="suncc-task">

        <!--    C O P Y R I G H T   N O T I C E 
                        This material is confidential to ERG and may not be disclosed in whole 
                        or in part to any third party nor used in any manner whatsoever other
                        than for the purposes expressly consented to by ERG in writing.

                        This material is also copyright and may not be reproduced, stored in a
                        retrieval system or transmitted in any form or by any means in whole or
                        in part without the express written consent of ERG.
        -->

        <!-- This is a Windows based compiler package, so include its standard environment -->
        <using name="ant-cpptasks" version="REPLACE_ANT_CPPTASKS"/>
        <using name="ant-solaris" version="REPLACE_ANT_SOLARIS"/>

        <!-- Set up the environment's Binary path, Include and Library paths -->
        <property name="suncc_bin" value="/opt/SUNWspro/bin"/>
        <property name="suncc_compilername" value="CC"/>

        <property name="suncc_include" value="/usr/include"/>
        <property name="suncc_include_debug" value="${suncc_include}"/>
        <property name="suncc_include_release" value="${suncc_include}"/>

        <property name="suncc_lib" value="/opt/SUNWspro/lib"/>

        <property name="suncc_lib_debug" value="${suncc_lib}"/>
        <property name="suncc_lib_release" value="${suncc_lib}"/>

        <property name="suncc_libraries_debug"  value=""/>
        <property name="suncc_libraries_release"        value=""/>


        <compiler id="suncc_compiler_debug_console" name="${suncc_compilername}">
                <compilerarg value="-DNO_STRICT"/>
                <compilerarg value="-D_DEBUG"/>
                <compilerarg value="-DSOLARIS"/>

                <compilerarg value="-KPIC"/>
                <compilerarg value="-mt"/>
                <compilerarg value="-verbose=diags,version"/>
        </compiler>

        <compiler id="suncc_compiler_debug_gui" name="${suncc_compilername}">
                <compilerarg value="-DNO_STRICT"/>
                <compilerarg value="-D_DEBUG"/>
                <compilerarg value="-DSOLARIS"/>

                <compilerarg value="-KPIC"/>
                <compilerarg value="-mt"/>
                <compilerarg value="-verbose=diags,version"/>
        </compiler>

        <compiler id="suncc_compiler_release_console" name="${suncc_compilername}">
                <compilerarg value="-s"/>
                <compilerarg value="-0"/>
                <compilerarg value="-DNDEBUG"/>
                <compilerarg value="-DSOLARIS"/>

                <compilerarg value="-KPIC"/>
                <compilerarg value="-mt"/>
                <compilerarg value="-verbose=diags,version"/>
        </compiler>

        <compiler id="suncc_compiler_release_gui" name="${suncc_compilername}">
                <compilerarg value="-s"/>
                <compilerarg value="-0"/>
                <compilerarg value="-DNDEBUG"/>
                <compilerarg value="-DSOLARIS"/>

                <compilerarg value="-KPIC"/>
                <compilerarg value="-mt"/>
                <compilerarg value="-verbose=diags,version"/>
        </compiler>


        <linker id="suncc_linker_debug_console" name="${suncc_compilername}">
                <!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
        </linker>

        <linker id="suncc_linker_debug_gui" name="${suncc_compilername}">
                <!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
        </linker>


        <linker id="suncc_linker_release_console" name="${suncc_compilername}">
                <!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
        </linker>

        <linker id="suncc_linker_release_gui" name="${suncc_compilername}">
                <!-- syslibset dir="${suncc_lib}" libs="" casesensitive="no"/ -->
        </linker>

</project>