Current Path : /usr/lib/python2.7/distutils/ |
Current File : //usr/lib/python2.7/distutils/unixccompiler.pyc |
|_c @ s d Z d Z d d l Z d d l Z d d l Z d d l m Z m 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 d Z d e f d YZ d S( s9 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' s $Id$iN( t StringTypet NoneType( t sysconfig( t newer( t CCompilert gen_preprocess_optionst gen_lib_options( t DistutilsExecErrort CompileErrort LibErrort LinkError( t logc C s d } } t | } t j d } t | j d d } | d k rX t } } n d | k } d | k } | s d t j k r x<