ó
ØÆ÷Xc           @` sÀ   d  d l  m Z m Z m Z d  d l 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 d
 d ƒ Z e j ƒ  e e j ƒ  ƒ n  d S(   i    (   t   divisiont   absolute_importt   print_functionN(   t	   FCompilert   LaheyFCompilerc           B` s¥   e  Z d  Z d Z d Z i d d g d 6d d g d 6d d g d	 6d g d
 6d d g d 6d d g d 6d g d 6Z d Z d Z d „  Z	 d „  Z
 d „  Z d „  Z RS(   t   laheys!   Lahey/Fujitsu Fortran 95 Compilers>   Lahey/Fujitsu Fortran 95 Compiler Release (?P<version>[^\s*]*)s   <F90>s	   --versiont   version_cmdt   lf95s   --fixt   compiler_f77t   compiler_fixt   compiler_f90s   -sharedt	   linker_sot   ars   -crt   archivert   ranlibc         C` s   d g S(   Ns   -O(    (   t   self(    (    s>   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/lahey.pyt   get_flags_opt   s    c         C` s   d d d g S(   Ns   -gs   --chks   --chkglobal(    (   R   (    (    s>   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/lahey.pyt   get_flags_debug   s    c         C` sA   g  } t  j j d ƒ } | r= | j t  j j | d ƒ ƒ n  | S(   Nt   LAHEYt   lib(   t   ost   environt   gett   appendt   patht   join(   R   t   optt   d(    (    s>   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/lahey.pyt   get_library_dirs    s
    c         C` s#   g  } | j  d d d d g ƒ | S(   Nt   fj9f6t   fj9i6t   fj9ippt   fj9e6(   t   extend(   R   R   (    (    s>   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/lahey.pyt   get_libraries&   s    N(   t   __name__t
   __module__t   compiler_typet   descriptiont   version_patternt   executablest   Nonet   module_dir_switcht   module_include_switchR   R   R   R"   (    (    (    s>   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/lahey.pyR   	   s"   
			t   __main__(   t   logi   (   t   new_fcompilert   compilerR   (   t
   __future__R    R   R   R   t   numpy.distutils.fcompilerR   t	   compilersR   R#   t	   distutilsR-   t   set_verbosityR.   R/   t	   customizet   printt   get_version(    (    (    s>   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/lahey.pyt   <module>   s   	"
