ó fc@sddlZddlZddlZddlZejdƒZejdƒZejdƒZejdƒZejdƒZ ee gZ ejdƒZ ejdƒZ ia iZyejd jd ƒZWnek rÍyejd jd ƒZWqÎek rÉyfejjd ƒd kr9ejdjd ƒZn1ejjdƒrdejdjdƒZne‚WqÊek rÅdgZy*ejd ejjdejdƒƒWqÆek rÁqÆXqÊXqÎXnXd„Zd„Zid„ZedkreƒndS(iÿÿÿÿNs+^[ ]*#[ ]*define[ ]+([a-zA-Z0-9_]+)[ ]+sG^[ ]*#[ ]*define[ ]+([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[ ]+s"^[ ]*#[ ]*include[ ]+<([^> ]+)>s/\*([^*]+|\*+[^/])*(\*+/)?s//.*s'(\\.[^\\]*|[^\\])'s0x([0-9a-fA-F]+)L?tincludet;tINCLUDEtbeosit BEINCLUDEStatheostC_INCLUDE_PATHt:s /usr/includet MULTIARCHc Csµtjtjddƒ\}}x9|D]1\}}|dkr&tjtj|ƒƒq&q&W|smdg}nxA|D]9}|dkr¬tjjdƒt tj tjƒqtt |dƒ}t j j|ƒ}|jdƒ}|dkrõ|| }n|jƒ}|d }t |d ƒ} | jd |ƒiaxXtD]P} |t| ƒ | kr8dt|t| ƒd<|t|t| ƒd|ddkr~|jƒ}|sgPn|d}||}qAW|jdƒ}||jƒ}e|ƒ}d} d||jƒf} y | |UWnejj d| ƒqX|j | ƒne j|ƒ}|r–|jddƒ\} } ||jƒ}e|ƒ}d| | |f} y | |UWnejj d| ƒq–X|j | ƒne j|ƒ}|r |j } | d\}}|||!}e j|ƒrø|j d e |ƒq™ej|ƒs™de|sF0           =