config root man

Current Path : /usr/local/lib/python2.5/distutils/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/distutils/bcppcompiler.pyc

³ò
h”Rc
@s¸dZdZddkZddkZddklZlZlZlZl	Z	l
Z
ddklZl
Z
lZddklZddklZddklZd	efd
„ƒYZdS(sƒdistutils.bcppcompiler

Contains BorlandCCompiler, an implementation of the abstract CCompiler class
for the Borland C++ compiler.
s8$Id: bcppcompiler.py 37828 2004-11-10 22:23:15Z loewis $iÿÿÿÿN(tDistutilsExecErrortDistutilsPlatformErrortCompileErrortLibErrort	LinkErrortUnknownFileError(t	CCompilertgen_preprocess_optionstgen_lib_options(t
write_file(tnewer(tlogtBCPPCompilercBsúeZdZdZhZdgZdddgZeeZdZdZ	dZ
d	ZZd
Z
dddd„Zdddddddd
„Zdddd„Zddddddddddd„
Zdd„Zddd„Zdddddd„ZRS(sConcrete class that implements an interface to the Borland C/C++
    compiler, as defined by the CCompiler abstract class.
    tbcpps.cs.ccs.cpps.cxxs.objs.libs.dlls%s%ss.exeicCsÂti||||ƒd|_d|_d|_d|_ddddg|_ddddg|_d	d
ddg|_	d	d
ddg|_
g|_d
ddg|_d
dddg|_
dS(
Ns	bcc32.exesilink32.exestlib.exes/tWMs/O2s/qs/g0s/Ods/Tpds/Gns/xs/r(Rt__init__tcctlinkertlibtNonetpreprocess_optionstcompile_optionstcompile_options_debugtldflags_sharedtldflags_shared_debugtldflags_statictldflags_exetldflags_exe_debug(tselftverbosetdry_runtforce((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pyR9s					c	Csð|i||||||ƒ\}}	}}
}|pg}|idƒ|o|i|iƒn|i|iƒxw|	D]o}
y||
\}}Wntj
o
qynXtii|ƒ}tii|
ƒ}
|i	tii
|
ƒƒ|djoqyn|djoEy|idd|
|gƒWqytj
o}t
|‚qyXqyn||ijo
d}n!||ijo
d}nd}d|
}y4|i|ig||
||g||gƒWqytj
o}t
|‚qyXqyW|	S(	Ns-cs.ress.rctbrcc32s-fots-Ps-o(t_setup_compiletappendtextendRRtKeyErrortostpathtnormpathtmkpathtdirnametspawnRRt
_c_extensionst_cpp_extensionsR(Rtsourcest
output_dirtmacrostinclude_dirstdebugt
extra_preargstextra_postargstdependstobjectstpp_optstbuildtcompile_optstobjtsrctexttmsgt	input_optt
output_opt((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pytcompileUsH






.c	Cs¯|i||ƒ\}}|i|d|ƒ}|i||ƒo[|dg|}|ony|i|ig|ƒWq«tj
o}t|‚q«Xntid|ƒdS(NR.s/usskipping %s (up-to-date)(	t_fix_object_argstlibrary_filenamet
_need_linkR*RRRRR1(	RR5toutput_libnameR.R1ttarget_langtoutput_filenametlib_argsR<((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pytcreate_static_lib–sc Cs×|i||ƒ\}}|i|||ƒ\}}}|otidt|ƒƒn|dj	otii||ƒ}n|i	||ƒo3|t
ijo)d}|	o|i}qî|i
}n&d}|	o|i}n|i}|djo
d}nµtii|ƒ\}}tii|ƒ\}}tii|dƒ}tii|d|ƒ}dg}x,|pgD]}|id||fƒq{W|it||fd	|ƒttii|ƒ}|g}g}x]|D]U}tiitii|ƒƒ\}}|d
jo|i|ƒqä|i|ƒqäWx+|D]#}|idtii|ƒƒqDW|idƒ|i|ƒ|id
|gƒ|idƒxN|D]F}|i|||	ƒ}|djo|i|ƒq¬|i|ƒq¬W|idƒ|idƒ|id
|gƒ|id
ƒ|i|ƒ|
o|
|d*n|o|i|ƒn|itii|ƒƒy|i|ig|ƒWqÓtj
o}t|‚qÓXnti d|ƒdS(Ns7I don't know what to do with 'runtime_library_dirs': %stc0w32tc0d32R is%s.deftEXPORTSs  %s=_%ss
writing %ss.ress/L%ss/L.t,s,,timport32tcw32mtsskipping %s (up-to-date)(!R@t
_fix_lib_argsRtwarntstrRR%R&tjoinRBRt
EXECUTABLERRRRtsplittsplitextR)R"texecuteR	tmapR'tnormcaseR#tfind_library_fileR(R*RRRR1( Rttarget_descR5RER.t	librariestlibrary_dirstruntime_library_dirstexport_symbolsR1R2R3t
build_tempRDtstartup_objtld_argstdef_filetheadttailtmodnameR;ttemp_dirtcontentstsymtobjects2t	resourcestfiletbasetlRtlibfileR<((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pytlink¯s„	



		$
!








c	Cs¢|o(|d}|d|d||f}n|d|f}x\|D]P}xG|D]?}tii||i|ƒƒ}tii|ƒo|SqSqSWqFWdSdS(Nt_dt_bcpp(R%R&RQRAtexistsR(	RtdirsRR1tdlibt	try_namestdirtnameRm((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pyRX8s

R cCs)|djo
d}ng}x|D]ý}tiitii|ƒƒ\}}||iddgjotd||f‚n|otii|ƒ}n|djo$|itii	|||ƒƒq$|djo$|itii	||dƒƒq$|itii	|||i
ƒƒq$W|S(NR s.rcs.ress"unknown file type '%s' (from '%s')(RR%R&RTRWtsrc_extensionsRtbasenameR"RQt
obj_extension(Rtsource_filenamest	strip_dirR.t	obj_namestsrc_nameRkR;((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pytobject_filenamesRs&

$
$
$cCs |id||ƒ\}}}t||ƒ}dg|}	|dj	o|	id|ƒn|o||	d*n|o|	i|ƒn|	i|ƒ|ip|djpt||ƒo_|o|iti	i
|ƒƒny|i|	ƒWqtj
o}
|
GHt
|
‚qXndS(Ns	cpp32.exes-oi(t_fix_compile_argsRRR"R#RR
R(R%R&R)R*RR(Rtsourcetoutput_fileR/R0R2R3t_R6tpp_argsR<((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pyt
preprocessns$	


'N(t__name__t
__module__t__doc__t
compiler_typetexecutablesR+R,RwRytstatic_lib_extensiontshared_lib_extensiontstatic_lib_formattshared_lib_formatt
exe_extensionRRR?RGRnRXR~R„(((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pyRsJ	

B|(R‡t__revision__tsysR%tdistutils.errorsRRRRRRtdistutils.ccompilerRRRtdistutils.file_utilR	tdistutils.dep_utilR
t	distutilsRR(((s2/usr/local/lib/python2.5/distutils/bcppcompiler.pys<module>s.

Man Man