B
    ›³ëbß  ã               @   s4   d Z dZddlZddlZddlZdd„ Zdd„ ZdS )a\  SCons.Tool.sunar

Tool-specific initialization for Solaris (Forte) ar (library archive). If CC
exists, static libraries should be built with it, so that template
instantiations can be resolved.

There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
selection method.
z,__FILE__ __REVISION__ __DATE__ __DEVELOPER__é    Nc             C   sl   t j | ¡ |  d¡r8d| d< t j d¡| d< d| d< n d| d< t j d¡| d< d	| d< d
| d< d| d< dS )zAAdd Builders and construction variables for ar to an Environment.ÚCCZARz-xarZARFLAGSz $AR $ARFLAGS -o $TARGET $SOURCESZARCOMÚarÚrz$AR $ARFLAGS $TARGET $SOURCESÚlibZ	LIBPREFIXz.aZ	LIBSUFFIXN)ÚSConsZToolZcreateStaticLibBuilderÚDetectZUtilZCLVar)Úenv© r	   ú/lib/python3.7/site-packages/SCons/Tool/sunar.pyÚgenerate)   s    

r   c             C   s   |   d¡p|   d¡S )Nr   r   )r   )r   r	   r	   r
   Úexists9   s    r   )Ú__doc__Z__revision__ZSCons.Defaultsr   Z
SCons.ToolZ
SCons.Utilr   r   r	   r	   r	   r
   Ú<module>
   s   