File: //opt/alt/python35/lib64/python3.5/distutils/__pycache__/unixccompiler.cpython-35.opt-1.pyc
��Yf�:  �               @   s�   d  Z  d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m	 Z	 m
 Z
 m Z d d l m
 Z
 m Z m Z m Z d d l m Z e j d k r� d d l Z Gd	 d
 �  d
 e	 � Z d S)a9  distutils.unixccompiler
Contains the UnixCCompiler class, a subclass of CCompiler that handles
the "typical" Unix-style command-line C compiler:
  * macros defined with -Dname[=value]
  * macros undefined with -Uname
  * include search directories specified with -Idir
  * libraries specified with -lllib
  * library search directories specified with -Ldir
  * compile handled by 'cc' (or similar) executable with -c option:
    compiles .c to .o
  * link static library handled by 'ar' command (possibly with 'ranlib')
  * link shared library handled by 'cc -shared'
�    N)�	sysconfig)�newer)�	CCompiler�gen_preprocess_options�gen_lib_options)�DistutilsExecError�CompileError�LibError�	LinkError)�log�darwinc                   s�  e  Z d  Z d Z d d d d g d d g d d g d d d	 g d
 d g d d d
 g d d i Z e j d d � d k r� d g e d <d d d d d d g Z d Z d Z	 d Z
 d Z d Z d Z
 Z Z e Z e j d k r� d Z �  f d d  �  Z d d d d d d! d"