ó
ØÆ÷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   NAGFCompilerc           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 g d 6d d g d 6d g d 6Z d „  Z d „  Z d „  Z d „  Z	 RS(   t   nags   NAGWare Fortran 95 Compilers7   NAGWare Fortran 95 compiler Release (?P<version>[^\s]*)s   <F90>s   -Vt   version_cmdt   f95s   -fixedt   compiler_f77t   compiler_fixt   compiler_f90t	   linker_sot   ars   -crt   archivert   ranlibc         C` s    t  j d k r d d g Sd g S(   Nt   darwins   -unsharedf95s/   -Wl,-bundle,-flat_namespace,-undefined,suppresss   -Wl,-shared(   t   syst   platform(   t   self(    (    s<   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/nag.pyt   get_flags_linker_so   s    
c         C` s   d g S(   Ns   -O4(    (   R   (    (    s<   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/nag.pyt   get_flags_opt   s    c         C` s0   |  j  ƒ  } | r% | d k  r% d g Sd g Sd  S(   Ns   5.1s   -target=nativet    (   t   get_version(   R   t   version(    (    s<   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/nag.pyt   get_flags_arch   s    c         C` s   d d d d d g S(   Ns   -gs   -glines   -g90s   -nans   -C(    (   R   (    (    s<   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/nag.pyt   get_flags_debug$   s    (
   t   __name__t
   __module__t   compiler_typet   descriptiont   version_patternt   executablesR   R   R   R   (    (    (    s<   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/nag.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   printR   (    (    (    s<   /tmp/pip-build-X4mzal/numpy/numpy/distutils/fcompiler/nag.pyt   <module>   s   	
