B
    ›³ëbF
  ã               @   s<   d Z dZddlZddlmZ g Zdd„ Zdd	„ Zd
d„ Z	dS )zóSCons.Tool.aixf77

Tool-specific initialization for IBM Visual Age f77 Fortran compiler.

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__é    Né   )Úf77c             C   s$   |   dd¡}|   dd¡}d ||d fS )NÚF77Úxlf77ÚSHF77Úxlf77_r)Úget)Úenvr   r   © r
   ú0lib/python3.7/site-packages/SCons/Tool/aixf77.pyÚ	get_xlf77/   s    r   c             C   sN   t | ƒ\}}}}|r0tj ||¡}tj ||¡}t | ¡ || d< || d< dS )zl
    Add Builders and construction variables for the Visual Age FORTRAN
    compiler to an Environment.
    r   r   N)r   ÚosÚpathÚjoinr   Úgenerate)r	   r   Ú_f77Ú_shf77Úversionr
   r
   r   r   5   s    
r   c             C   s:   t | ƒ\}}}}|r6|r6tj ||¡}tj |¡r6|S d S )N)r   r   r   r   Úexists)r	   r   r   r   r   r   r
   r
   r   r   D   s    r   )
Ú__doc__Z__revision__Úos.pathr   Ú r   Zpackagesr   r   r   r
   r
   r
   r   Ú<module>   s   