ó âqLc@ s5dZddlmZdZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddlZ ddlZ ddlZ ddlZ dad„Zd„ad„Zd„Zd „Ze jjedƒZe jjZe jjZe jj Z!e jj"Z#e jj$Z%ddl&Z e j'j(j)ƒZ)e j'j(j*ƒZ*e jjd d ƒZ+e jjd d ƒZ,e jjddƒZ-e jjddƒZ.e jjddƒZ/e jjddƒZ0e jjddƒZ1e jjddƒZ2e jjddƒZ3e jj4Z4d„Z5d„Z6d„Z7e4e6e7ƒZ8d„Z9e4e9d „d!e:ƒZ;d"d#„Z<d"d$„Z=e4e<e=ƒZ>d%„Z?e4e?d&„ƒZ@d'„ZAe4eAd(„d!e:ƒZBd)„ZCe4eCd*„ƒZDd+„ddd,„ZEd-„ZFdd.„ZGd/„ZHeFd0„ZId1eJfd2„ƒYZKd3eJfd4„ƒYZLiid56gd66d7d86d9d:6e jjMd;6e jjNd<6id=6e jjOd>6eEd?6eId@6eGdA6dBdC6dDdE6dFdG6dHdI6eKdJ6eLdKdLƒdL6eLdKdMƒdM6eLdKdNƒdN6eLdKdOƒdO6ZPdS(Ps.SCons.Defaults Builders and other things for the local site. Here's where we'll duplicate the functionality of autoconf until we move it into the installation procedure or use something like qmconf. The code that reads the registry to find MSVC components was borrowed from distutils.msvccompiler. iÿÿÿÿ(tdivisions;src/engine/SCons/Defaults.py 5023 2010/06/14 22:05:46 sconsNcO stS(sG Returns the already-created default construction environment. (t _default_env(targstkw((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt_fetch_DefaultEnvironment>scO sftsbddl}|jj||Ža|jjrCtjdƒn tjdƒtadt_ ntS(s­ Initial public entry point for creating the default construction Environment. After creating the environment, we overwrite our name (DefaultEnvironment) with the _fetch_DefaultEnvironment() function, which more efficiently returns the initialized default construction environment without checking for its existence. (This function still exists with its _default_check because someone else (*cough* Script/__init__.py *cough*) may keep a reference to this function. So we can't use the fully functional idiom of having the name originally be a something that *only* creates the construction environment and then overwrites the name.) iÿÿÿÿNtMD5stimestamp-match( Rt SCons.Utilt EnvironmenttUtiltmd5tDeciderRtDefaultEnvironmenttNonet_CacheDir_path(RRtSCons((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyR Es    cC s'x|D]}d|j_qW||fS(N(R t attributestshared(ttargettsourcetenvttgt((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pytStaticObjectEmitteres cC s'x|D]}d|j_qW||fS(Ni(RR(RRRR((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pytSharedObjectEmitterjs cC sž|jdƒ}|dks3|dks3|dkršxd|D]Y}y|jj}Wntk rid}nX|s:tjjd||dfƒ‚q:q:WndS(Ns'$STATIC_AND_SHARED_OBJECTS_ARE_THE_SAMEt0ttFalsesFSource file: %s is static and is not compatible with shared target: %si(tsubstRRtAttributeErrorR RtErrorst UserError(RRRtsametsrcR((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pytSharedFlagCheckeros$   s$CCCOMs $CCCOMSTRs$SHCCCOMs $SHCCCOMSTRs$CXXCOMs $CXXCOMSTRs $SHCXXCOMs $SHCXXCOMSTRs$ASCOMs $ASCOMSTRs$ASPPCOMs $ASPPCOMSTRs$LINKCOMs $LINKCOMSTRs $SHLINKCOMs $SHLINKCOMSTRs $LDMODULECOMs$LDMODULECOMSTRcC sotjj|ƒrYg}x)|D]!}|jdt|ƒdƒqWddj|ƒdSdt|ƒdSdS(Nt"t[s, t](RRtis_Listtappendtstrtjoin(tdestt elem_strstelement((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt get_paths_strŸs  cC s\tjjj|ƒtjj|ƒs1|g}nx$|D]}tjt|ƒ|ƒq8WdS(N( RtNodetFStinvalidate_node_memosRR$tostchmodR&(R(tmodeR*((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt chmod_func©s   cC sdt|ƒ|fS(NsChmod(%s, 0%o)(R+(R(R1((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt chmod_strfunc°scC s•tjjj|ƒtjj|ƒr\tjj|ƒr\x|D]}t j ||ƒq>WdStjj |ƒr~t j ||ƒSt j ||dƒSdS(Nii( RR,R-R.RR$R/tpathtisdirtshutiltcopy2tisfiletcopytree(R(Rtfile((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt copy_funcµs$ cC sd||fS(NsCopy("%s", "%s")((R(R((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pytÁstconverticC s½tjjj|ƒtjj|ƒs1|g}nx…|D]}}t|ƒ}| rjtjj |ƒ rjq8ntjj |ƒ stjj |ƒr¢tj |ƒq8q8t j |dƒq8q8WdS(Ni(RR,R-R.RR$R&R/R4texistsR8tunlinkR6trmtree(R(t must_existtentry((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt delete_funcÄs   % cC sdt|ƒS(Ns Delete(%s)(R+(R(RA((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pytdelete_strfuncÓscC sØtjjj|ƒtjj|ƒs1|g}nx |D]˜}ytjt|ƒƒWq8tj k rÏ}t|ƒ}|j dt j ks®t jdkrÉ|j ddkrÉtjjt|ƒƒrÉqЂq8Xq8WdS(Nitwin32i·(RR,R-R.RR$R/tmakedirsR&terrorRterrnotEEXISTtsystplatformR4R5(R(RBtetp((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt mkdir_funcØs   "cC sdt|ƒS(Ns Mkdir(%s)(R+(tdir((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyR<éscC s:tjjj|ƒtjjj|ƒtj||ƒdS(N(RR,R-R.R6tmove(R(R((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt move_funcëscC sd||fS(NsMove("%s", "%s")((R(R((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyR<ñscC s´tjjj|ƒtjj|ƒs1|g}nx||D]t}t|ƒ}ttjƒƒ}t j j |ƒrƒt j j |ƒ}nt |dƒ|}t j|||fƒq8WdS(Ntw(RR,R-R.RR$R&tintttimeR/R4R>tgetatimetopentutime(R(R:tmtimetatime((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt touch_funcôs    cC sdt|ƒS(Ns Touch(%s)(R+(R:((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyR<scC s|S(N((tx((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyR<scC sY|s |S|tjj|ƒj|||ƒƒ}|dk rF|}nt||||ƒS(s Creates a new list from 'list' by first interpolating each element in the list using the 'env' dictionary and then calling f on the list, and finally calling _concat_ixes to concatenate 'prefix' and 'suffix' onto each element of the list. N(RtPathListt subst_pathR t _concat_ixes(tprefixtlisttsuffixRtfRRtl((s^/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyt_concats '  cC sMg}t|j|tjjƒƒ}t|j|tjjƒƒ}x|D]ü}t|tjjjƒrz|j |ƒqInt|ƒ}|rI|rÜ|ddkr¶|j |d ƒqÜ|t |ƒ |krÜ||}qÜn|j |ƒ|rE|ddkr|j |dƒqB|t |ƒ |krB|d||d s²                                       % 4