§ !A?h.: ã ó~ — d Z ddlZddlmZmZmZmZmZ ddlm Z m Z ddlmZ ddl mZ ddlmZ G d„ d e ¦ « ZdS ) zƒdistutils.bcppcompiler Contains BorlandCCompiler, an implementation of the abstract CCompiler class for the Borland C++ compiler. é N)ÚDistutilsExecErrorÚCompileErrorÚLibErrorÚ LinkErrorÚUnknownFileError)Ú CCompilerÚgen_preprocess_options)Ú write_file)Únewer)Úlogc ó´ — e Zd ZdZdZi ZdgZg d¢Zeez ZdZ dZ dZdxZZ d Z dd„Z dd „Z dd„Z dd„Zdd„Z dd„Z dd„ZdS )ÚBCPPCompilerzConcrete class that implements an interface to the Borland C/C++ compiler, as defined by the CCompiler abstract class. Úbcppz.c)z.ccz.cppz.cxxz.objz.libz.dllz%s%sz.exer c óæ — t j | |||¦ « d| _ d| _ d| _ d | _ g d¢| _ g d¢| _ g d¢| _ g d¢| _ g | _ g d¢| _ g d¢| _ d S ) Nz bcc32.exezilink32.exeztlib.exe)ú/tWMz/O2ú/qú/g0)r z/Odr r )z/Tpdú/Gnr ú/x)r r r )r r r z/r) r Ú__init__ÚccÚlinkerÚlibÚpreprocess_optionsÚcompile_optionsÚcompile_options_debugÚldflags_sharedÚldflags_shared_debugÚldflags_staticÚldflags_exeÚldflags_exe_debug)ÚselfÚverboseÚdry_runÚforces úC/opt/alt/python-internal/lib64/python3.11/distutils/bcppcompiler.pyr zBCPPCompiler.__init__5 sœ € õ Ô˜D '¨7°EÑ:Ô:Ð:𠈌Ø#ˆŒØˆŒà"&ˆÔØ;Ð;Ð;ˆÔØ%AÐ%AÐ%AˆÔ"à9Ð9Ð9ˆÔØ$?Ð$?Ð$?ˆÔ!Ø ˆÔØ.Ð.Ð.ˆÔØ!9Ð!9Ð!9ˆÔÐÐó Nc ó~ — | ||||||¦ « \ }} }} }|pg }| d¦ « |r| | j ¦ « n| | j ¦ « | D �]H} || \ }}n# t $ r Y Œw xY wt j |¦ « }t j | ¦ « } | t j | ¦ « ¦ « |dk rŒ—|dk r= | dd| |g¦ « n!# t $ r}t |¦ « ‚d }~ww xY wŒÚ|| j v rd}n|| j v rd}nd}d| z } | | j g|z | z ||gz |z |gz ¦ « �Œ)# t $ r}t |¦ « ‚d }~ww xY w| S ) Nz-cú.resú.rcÚbrcc32z-foÚ z-Pú-o)Ú_setup_compileÚappendÚextendr r ÚKeyErrorÚosÚpathÚnormpathÚmkpathÚdirnameÚspawnr r Ú _c_extensionsÚ_cpp_extensionsr )r" ÚsourcesÚ output_dirÚmacrosÚinclude_dirsÚdebugÚ extra_preargsÚextra_postargsÚdependsÚobjectsÚpp_optsÚbuildÚcompile_optsÚobjÚsrcÚextÚmsgÚ input_optÚ output_opts r&