��
r�$Lc�����������@���s����d��Z��d�Z�d�d�k�Z�d�d�k�Z�d�d�k�Z�d�d�k�Z�d�d�k�Z�d�d�k�l	�Z	�d����Z
�e�i�i�i
����Z�e�i�i�d�d���Z�e�i�i�d�e�d	�d
�d�d�d
�e
�d�e���Z�d����Z�d����Z�d�S(���s����SCons.Tool.midl

Tool-specific initialization for midl (Microsoft IDL 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.

s<���src/engine/SCons/Tool/midl.py 5023 2010/06/14 22:05:46 sconsi����N(���t���msvc_existsc���������C���s����t��i�i�t�|��d�����\�}�}�|��d�}�|�d�}�|�d�}�|�|�|�g�}�|�d�}	�|	�i�d���d�j�o�|�d�}
�|�i�|
���n�|	�i�d���d�j�o�|�d	�}�|�i�|���n�|�|�f�S(
���s1���Produces a list of outputs from the MIDL compileri����s���.hs���_i.ct���MIDLCOMs���/proxyi����s���_p.cs���/dlldatas���_data.c(���t���SConst���Utilt���splitextt���strt���findt���append(���t���targett���sourcet���envt���baset���extt���tlbt���inclt	���interfacet���tt���midlcomt���proxyt���dlldata(����(����s2���install/lib/scons-2.0.0.final.0/SCons/Tool/midl.pyt���midl_emitter,���s����"





s���$MIDLCOMs���$MIDLCOMSTRt���actiont
���src_suffixs���.idlt���suffixs���.tlbt���emittert���source_scannerc���������C���s<���d�|��d�<t��i�i�d���|��d�<d�|��d�<t�|��d�d�<d	�S(
���sC���Add Builders and construction variables for midl to an Environment.s���MIDL.EXEt���MIDLs���/nologot	���MIDLFLAGSs����$MIDL $MIDLFLAGS /tlb ${TARGETS[0]} /h ${TARGETS[1]} /iid ${TARGETS[2]} /proxy ${TARGETS[3]} /dlldata ${TARGETS[4]} $SOURCE 2> NULR���t���BUILDERSt���TypeLibraryN(���R���R���t���CLVart���midl_builder(���R
���(����(����s2���install/lib/scons-2.0.0.final.0/SCons/Tool/midl.pyt���generateI���s����

c���������C���s���t�����S(���N(���R����(���R
���(����(����s2���install/lib/scons-2.0.0.final.0/SCons/Tool/midl.pyt���existsQ���s����(���t���__doc__t���__revision__t���SCons.ActionR���t
���SCons.Buildert���SCons.Defaultst���SCons.Scanner.IDLt
���SCons.Utilt���MSCommonR����R���t���Scannert���IDLt���IDLScant���idl_scannert���Actiont���midl_actiont���BuilderR���R ���R!���(����(����(����s2���install/lib/scons-2.0.0.final.0/SCons/Tool/midl.pyt���<module>	���s"���