ó
Ś6e]c           @` s“   d  d l  m Z m Z m Z d  d l m Z d  d l m Z d g Z d e f d     YZ	 e
 d k r° d  d l m Z e j d  d  d	 l m Z e e d
 d  j    n  d S(   i    (   t   divisiont   absolute_importt   print_function(   t   simple_version_match(   t	   FCompilert   SunFCompilerc           B` sĄ   e  Z d  Z d Z e d d  Z i d d g d 6d g d 6d d	 g d
 6d g d 6d d d g d 6d d g d 6d g d 6Z d Z d Z d g Z	 d   Z
 d   Z d   Z d   Z d   Z RS(   t   suns    Sun or Forte Fortran 95 Compilert   starts(   f9[05]: (Sun|Forte|WorkShop).*Fortran 95s   <F90>s   -Vt   version_cmdt   f90t   compiler_f77s   -fixedt   compiler_fixt   compiler_f90s	   -Bdynamics   -Gt	   linker_sot   ars   -crt   archivert   ranlibs   -moddir=s   -Ms   -xcode=pic32c         C` sB   d g } |  j    p d d k r1 | j d  n | j d  | S(   Ns   -ftrap=%nonet    t   7s   -f77s   -fixed(   t   get_versiont   append(   t   selft   ret(    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyt   get_flags_f77   s
    	c         C` s
   d d g S(   Ns   -fasts   -dalign(    (   R   (    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyt   get_opt%   s    c         C` s   d g S(   Ns   -xtarget=generic(    (   R   (    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyt   get_arch'   s    c         C` s    g  } | j  d d d g  | S(   Nt   fsut   sunmatht   mvec(   t   extend(   R   t   opt(    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyt   get_libraries)   s    c         C` s   d | S(   Ns   -R%s(    (   R   t   dir(    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyt   runtime_library_dir_option.   s    (   t   __name__t
   __module__t   compiler_typet   descriptionR   t   version_matcht   executablest   module_dir_switcht   module_include_switcht	   pic_flagsR   R   R   R   R!   (    (    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyR      s(   	

					t   __main__(   t   logi   (   t   customized_fcompilert   compilerR   N(   t
   __future__R    R   R   t   numpy.distutils.ccompilerR   t   numpy.distutils.fcompilerR   t	   compilersR   R"   t	   distutilsR,   t   set_verbosityt   numpy.distutilsR-   t   printR   (    (    (    s<   lib/python2.7/site-packages/numpy/distutils/fcompiler/sun.pyt   <module>   s   	)